LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   When dual monitors enabled, task bar moves to wrong monitor. (https://www.linuxquestions.org/questions/linux-software-2/when-dual-monitors-enabled-task-bar-moves-to-wrong-monitor-840099/)

ozegoods 10-24-2010 01:58 AM

When dual monitors enabled, task bar moves to wrong monitor.
 
I am using Mandriva 2010.1 and KDE4. The primary monitor is VGA-0, and sometimes it's desired to play a video on the big monitor which is HDMI-0. I use an xrandr command line which works nicely except that the KDE4 task bar and desktop icons move over to HDMI-0. How can I keep the task bar and desktop icons on VGA-0 when both monitors are enabled?

Code:

xrandr --output VGA-0 --mode 1024x768 --rotate normal --pos 0x0 --output HDMI-0 --mode 1920x1080 --rotate normal --right-of VGA-0 --pos 1024x0

serafean 10-24-2010 07:51 PM

Hi, a little trick I found to work for me was to put the taskbar-less screen "left-of" the screen with the taskbar (if it doesn't work for you, just play around with the screen positioning, you might find a config that works for you" . You also could try playing around with the --primary option of xrandr
Quote:

--primary
Set the output as primary. It will be sorted first in Xinerama and RANDR geometry requests
I personally abandoned xinerama and xrandr, hardcoded the configuration into my xorg.conf and made the two monitors two different X screens (no window dragging between them). to start an app on the second screen, I have to start it through a terminal where DISPLAY is set to 0.1. For viewing movies on a big screen, I find this configuration appropriate.. just my $0.02

Serafean


All times are GMT -5. The time now is 05:49 AM.