You are not logged in.
When I add a second monitor via "xrandr --output VGA1 --auto --left-of LVDS1", the panel and opened windows move to the added monitor. How do I expand my desktop to the left without moving the hole stuff (like it works, when I expand it to the right)?
Offline
Btw, using the --primary or --noprimary option, did not seem to make any difference.
Offline
What happens if you try:
xrandr --output LVDS1 --auto --left-of VGA1
And you can try Arandr, which is a GUI of xrandr.
Good luck.
Offline
What happens if you try:
xrandr --output LVDS1 --auto --left-of VGA1
And you can try Arandr, which is a GUI of xrandr.
Good luck.
Well, that's similar to
xrandr --output VGA1 --auto --right-of LVDS1
and my notebook monitor (LVDS1) is the left one, so the panel and previously opened windows stay there. I also tried
xrandr --output LVDS1 --auto --right-of VGA1
and
xrandr --output VGA1 --pos -1600x0 --auto (1680 is the resolution of VGA1)
all with the same result: the display, which is more to the left gets the panel.
Offline
Have you tried:
Applications Menu -> Settings -> Setting Manager, then opening "Panel"
Within the settings applet, make sure that each panel (Panel 1 and Panel 2 by default) are set to have their default Output set to LVDS1. This should ensure that the panel are always on your laptop/netbook screen, regardless of whether an external monitor is attached...
Offline
Have you tried:
Applications Menu -> Settings -> Setting Manager, then opening "Panel"
Within the settings applet, make sure that each panel (Panel 1 and Panel 2 by default) are set to have their default Output set to LVDS1. This should ensure that the panel are always on your laptop/netbook screen, regardless of whether an external monitor is attached...
This sure does work for the panel, but isn't quite what I want. I want my primary display (that means the panel, opened windows, notification and so on) to be LVDS1, regardless to which side (left or right) I extend my desktop by an external monitor.
By now I think xfwm sets the primary display always to the display which defines the 0xX border of the virtual screen in a dual monitor setup. So I'm going to fill in a bug report/ enhancement request.
Offline
the98 wrote:What happens if you try:
xrandr --output LVDS1 --auto --left-of VGA1
And you can try Arandr, which is a GUI of xrandr.
Good luck.
Well, that's similar to
xrandr --output VGA1 --auto --right-of LVDS1
It's not similar. I've tested it on my laptop. Try as I say, if it doesn't work, install Arandr to avoid headaches.
Offline
kiran.majer wrote:the98 wrote:What happens if you try:
xrandr --output LVDS1 --auto --left-of VGA1
And you can try Arandr, which is a GUI of xrandr.
Good luck.
Well, that's similar to
xrandr --output VGA1 --auto --right-of LVDS1
It's not similar. I've tested it on my laptop. Try as I say, if it doesn't work, install Arandr to avoid headaches.
Can you specify in which way it is not similar? For me, both commands extend my desktop to the right, while LVDS1 stays primary monitor. This worked all the times and is how I want it to be.
(With primary monitor i mean the display, which has the panel and icons, gets the notifications, shows all previously opened windows, is called 'monitor 1' in the desktop settings dialog, in short, which doesn't change if you plugin in a second display. In this context the secondary monitor is the empty desktop space, which is called 'monitor 2' in desktop settings.)
However, if in a physical setup LVDS1 is in front of me and an external monitor or beamer is located left of my notebook, I would like to extend my desktop to the left (i.e. add an empty desktop to the left) and keep my primary monitor on LVDS1.
I've tested arandr, but it's is only a gui to xrandr, so you can't do more then xrandr can do.
Offline
You're right. It's the same command. I didn't read it right.
Ok, so try removing the --auto switch to see what happens. If you say you've tested Arandr and couldn't make it work either, then I don't know what's the problem.
I tried just the other day adding a second monitor to my laptop. I used the command "xrandr --output LVDS1 --left-of VGA1", if I remember correctly and the same thing happened to me as it's happening to you; the added monitor (VGA1) got all the Panels and Icons. So I simply switched the command like this: "xrandr --output VGA --left-of 1 LVDS1" and I got what I wanted.
About Arandr, you have the two monitors and you can drag and drop one of them to the right or left of the other, then click Aply. So you could do this:
----------- ----------
| LVDS1| | VGA1 |
----------- ----------
Or this:
----------- -----------
| VGA1 | | LVDS1 |
----------- -----------
Good luck!
Offline
This is still a nasty bug of XFCE. I'm experiencing the same here with an external monitor. Using Linux Mint Debian Edition 201109.
XFCE panel is always on the left monitor (as specified by xrandr).
So basically the --primary option of xrandr does not work in XFCE (4.8). This is the real issue.
I want to have the panel on the external monitor and that one is physically on the right of my laptop. I cannot reorganize my desk. ;-)
Where can I file a bug report for this?
Xubuntu 12.04 Alpha 2
Offline
Hi, I have a similar problem. I have connected the second monitor, and I want to move the main panel of XFCE 4.8 and notification and so on to this monitor.. (By default this panel is on the left monitor, but I want to move this panel to the right monitor)
Does anyone to know how to get workaround this problem ?
P/s I use TwinView by Nvidia.
Last edited by inspirit1986 (2013-01-18 11:47:20)
Offline
pls help. Any workaround for this issue?
How I can move xfce interface from left monitor(by default) to right?
Last edited by inspirit1986 (2013-01-21 07:27:34)
Offline
Hello folks,
I also have the same problem in a similar setup having my notebook (mostly) on the left within the docking station and the monitor at the right. Alternatively, I often use the notebook inside meetings with other external flat-screen or beamer at the one hand or when beein in train or so using it without any external monitor at the other. Depending on given setup, the "primary monitor" (if you call it so) should either be right (external monitor at my desktop) or left (the notebook itself, in case of the meeting or the notebook-only use). Of course I want to have panels and so on the primary one. Additionally, I often plug or unplug the notebook from the docking station and I do not want to reconfigure the panels by hand everytime (as I've to do right now).
Up to now, I've only spent a few minutes on searching for a proper solution, but I think it is possible to setup something with just a little scripting. Unfortunately, I do not have enough time to do it by myself right now, but maybe some of you will try :-)
First, there is the command "xfconf-query", which allows manipulation of XFCE settings from terminal/script. Getting the current position of panel looks like:
xfconf-query -c xfce4-panel -p /panels/panel-1/output-name
which currently gives "HDMI2". Setting it to the notebook-monitor is done by:
xfconf-query -c xfce4-panel -p /panels/panel-1/output-name -s LVDS1
The second command is "xrandr" which will give you all available connections and the information about connected monitors. When looking at
http://unix.stackexchange.com/questions … splay-is-p
the guy is proposing a polling approach to check for connected devices.
I think, that combining both things is an easy way to work around that ugly issue. Also using udev in order to get an event on plug/unplug is possible but
may need a bit more knowledge about the current setup.
I hope I've given a few ideas to that discussion and maybe someone finds time to write down the solution ;-)
Best regards,
Peter
Offline
I registered simply to add to this. The exact same thing is happening to me. This is driving me nuts. I had been using kubuntu and configuring multi desktop using the proprietary AMD drivers was easy and worked. I am trying Xubuntu 12.10 now and this is a game-ender for me. I'm going back to Kubuntu.
No matter what combinations of xrandr/amdccle I do, it ALWAYS wants to put my desktop icons and open displays etc on the left-most display, which is not my main display. Even when display 2 is supposed to just be an extension of the desktop on 1, it still puts the whole desktop on 2. Sure I've managed to move my panel back to display 1, but I'm not going to sit here doing my work facing to my left all the time.
Offline
I also registered to put a note in here changing the location of the bars is a first step ; the icons can be also moved to the new screen and applications usually start on the screen where the mouse is.
However, using alt+f2 no longer brings up the launcher and the icons jump to the other screen temporarily when I get into the panel settings menu mentioned earlier.
still, that works...
(personally my final workaround is to remove the desktop icons. I don't like them anyway!)
Last edited by Selth (2013-04-04 17:54:38)
Offline
I also registered simply to post this.
Where does one file bug reports?
I tried the latest and greated OS/4 because I liked the previous version I have running BOINC on a few machines. When I installed this new release on my primary workstation I encounted the dual monitor bug. I only moved to OS/4 because Evolution is busted in Mint and Ubuntu. Evolution actually works with the new release of OS/4.
A bug this basic is totally bogus.
Offline
I also registered simply to post this.
Where does one file bug reports?
For XFCE?
https://bugzilla.xfce.org/
If for BOINC, OS/4, Evolution, and Ubuntu? IDK.
If for Mint?
https://bugs.launchpad.net/linuxmint
Regards,
MDM
Offline
Hey guys,
this is how I did it:
1 - save the script with ARandr
2 - edit the script to add the xconf-query for panels
I get something like this:
#!/bin/sh
xrandr --output HDMI1 --mode 1680x1050 --pos 0x0 --rotate normal --output LVDS1
--mode 1600x900 --pos 1680x150 --rotate normal --output VIRTUAL1 --off --output
DP1 --off --output VGA1 --off
# For panel on LDVS1
xfconf-query -c xfce4-panel -p /panels/panel-0/output-name -s LVDS1
xfconf-query -c xfce4-panel -p /panels/panel-1/output-name -s LVDS1
It's not perfect (if someone know how to keep windows and desktop icons on LVDS1 it would be great) but it may save some time.
Cheers,
ponsfrilus
Offline
i registered to also comment that this bug is affecting me. I am running Xubuntu 14.04 and my main monitor which is directly in front of me is a 1920x1080 panel and I want it as my primary monitor where games launch and where the environment gets it info BUT when I launch games like The Witcher 2 and Painkiller Hell & Damnation they think the max resolution they can be is 1680x1050 which is the resolution of my monitor on the left, which is at 0,0.
In order to get them positioned correctly so that I can drag windows left and right between them, I have to run a xrandr command because when I tried using nvidia-settings it would always make it so that the 1680x1050 panel was to the right of my main panel so in order to get to it I would have to drag my mouse to the right just to get to the panel on the left.
#!/bin/sh
xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 1680x0 --rotate normal --output HDMI-0 --off --output DVI-I-1 --off --output DVI-I-0 --mode 1680x1050 --pos 0x0 --rotate normal --output DP-1 --off --output DP-0 --off
Using the --primary doesn't seem to make my 1920x1080 panel the primary one.
Offline
I'm curious as to how many people who have this problem are using the nvidia driver verse the nouveau driver. I use the nouveau driver and have ran some pretty funky dual monitor setups in the past and always have just used XFCE Settings with no problems. At one time I had three computers (two of which where dual head) and three monitors. My main (center monitor) ran into a KVM switch to all three computers. The other two monitors went directly to the graphics card. And as I said, a couple of adjustment in XFCE Settings and I was good to go. Main (center monitor) apps opened. Left/right, depending on the computer active, was panels and so on according to my settings in XFCE
Even right now XFCE remembers which monitor the app was last loaded on and opens it there. Example: When I start Seamonkey (both mail and browser at the same time) mozmail opens on the left monitor and browser on main monitor. Automaticially! With other apps as well. XFCE "just" remembers where the window was last time it was opened and reopens there. No crazy commands involved. So I'm having a hard time understanding the problem because I can't recreate it on my own computer which leads me to believe this is not XFCE but something else, either I'm not fully understanding the problem everyone is having or ...
Offline
I have this bag too :-( the main monitor only at the left hand, 0x0 position.
Offline
I dual-boot Debian Stable and Testing. Stable has the Nvidia proprietary driver, and testing has the Nouveau driver. I use aRandR to config. All works equally well on both OSs. Applications on both OSs tend to open on the screen that my mouse is hovering on. If I click to open on one screen, then move the cursor to the other screen while the app is opening, it opens on the other screen. I have learned to keep my mouse still and wait, but it was hard.
Linuxers Live by a CODE!
Offline
Just spent way-too-much-time (tm) on this. And it is so easy ... well, under xfce4-10 (don't know about previous).
If you right click on the panel and go to panel-preferences under display-general there is a little bar which probably says Output: [automatic]. Click on [automatic] and select the monitor you want to freeze the panel to.
Works like a charm!
Offline
If you right click on the panel and go to panel-preferences under display-general there is a little bar which probably says Output: [automatic]. Click on [automatic] and select the monitor you want to freeze the panel to.
This solution works, if the monitor is connected all time.
But with a notebook, where I use the notebook screen as secondary, the panel is not switching back by unpluging the external screen.
So I have no panel anymore until I reset the settings, this is annoying.
Offline
Good morning.
It took me far to long to find a solution that works on my laptop and that's why i wanted to share my tiny Move xfce4-panel to external monitor script.
Maybe it'll save you some time and frustration.
---
The script is executed on startup and i currently execute it again manually if the external monitor is connected/disconnected.
Depending on your setup and layout (left of / right of) the xrandr lines below are probably not needed!
The important part that actually moves the xfce4-panel to the external monitor and/or back to the internal are the lines that begin with xfconf-query.
Notes:
My internal laptop monitor is named LVDS-0 (1280x800)
My external monitor is named VGA-0 (1920x1080)
My external monitor is on the right!
You need to replace all the display names, resolutions and positions with values fitting your system!
To get the names of your connected displays execute this in a terminal:
xrandr --query
Here's the script: (~/setup-displays.sh)
#!/bin/bash
# Check if our external monitor name is in the list connected displays
grep_output=`xrandr | grep VGA-0`
if [ "$grep_output" != "" ]; then
# The external monitor IS connected. Put it right of there internal and move xfce-panel there
# Set up the displays
xrandr --output VGA-0 --mode 1920x1080 --preferred --primary --pos 1280x0 --output LVDS-0 --mode 1280x800 --pos 0x0
# And move the panel to the external display
xfconf-query -v -c xfce4-panel -p /panels/panel-0/output-name -s VGA-0
else
# The external monitor IS NOT connected.
# Update monitor settings and move xfce-panel to internal monitor.
# This becomes necessary if the external display was connected before and is now gone this will re-setup everything for single monitor use.
# Set up the display
xrandr --verbose --output LVDS-0 --mode 1280x800 --pos 0x0
# And move the panel to the internal display
xfconf-query -v -c xfce4-panel -p /panels/panel-0/output-name -s LVDS-0
fi
exit
Well, hope that helps you a little to tame this annoying shortcoming.
Best regards!
Matthias
Offline
[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 661.08 KiB (Peak: 693.92 KiB) ]