Dual Monitor in FluxBox ( dual Screen )

Forum rules
Before you post please read this

Dual Monitor in FluxBox ( dual Screen )

Postby Koninator on Mon Feb 15, 2010 8:00 am

I want to have dual screen in FluxBox.
If i enable 2 screens in "Monitor Settings" i get mirrored screens but i want to have 2 screens with different stuff on it.
One screen is Laptop Screen 1366x768 and another is 19" VGA LCD monitor 1280x1024.

I looked in forums but in my PC there is no xorg.conf file and when i execute
Code: Select all
koninator@koninator-laptop ~ $ sudo Xorg -configure

Fatal server error:
Server is already active for display 0
   If this server is no longer running, remove /tmp/.X0-lock
   and start again.


Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.

 ddxSigGiveUp: Closing log
koninator@koninator-laptop ~ $

So how i must make and configure this file "xorg.conf" file or there is any other way?
( good will be if there were program which will do this for me - Because i didn't have this problems in Mint Standard Edition - should i download some package ? which one? )
Koninator
Level 3
Level 3
 
Posts: 132
Joined: Sat Mar 14, 2009 9:57 am

Linux Mint is funded by ads and donations.
 

Re: Dual Monitor in FluxBox ( dual Screen )

Postby shane on Mon Feb 15, 2010 8:42 am

With the aim of being lightweight, the Fluxbox CE has done away with the settings daemon... and the current resolution settings are handled by a simple bash script called mintfb-randr. This uses the lxrandr and xrandr to save and restore very basic display settings (resolution). Basically, it creates a bash script in ~/.linuxmint/mintfb-randr that restores resolution settings.

For more complex setups you will need to know how to use xrandr to achieve your desired setup. Then you can disable mintfb-randr from the Fluxbox startup script and add your own xrandr command to restore your settings.

All you need to know about xrandr you fill find in the man page. Run:

Code: Select all
man xrandr
User avatar
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Re: Dual Monitor in FluxBox ( dual Screen )

Postby Kendall on Mon Feb 15, 2010 10:10 am

For the dual monitor stuff like I think you mean, you'll need to do some reading into the "--right-of" and "--left-of" options in xrandr. It's fairly easy to figure out if you read through the man page. If you can't get it situated, then post your xrandr output here and I'll try and be of more help.
User avatar
Kendall
Level 7
Level 7
 
Posts: 1580
Joined: Mon Nov 16, 2009 12:20 pm
Location: Asheville, NC, USA

Re: Dual Monitor in FluxBox ( dual Screen )

Postby Koninator on Mon Feb 15, 2010 4:31 pm

I figure out this:
Code: Select all
xrandr --fb 2646x1024 --output LVDS1 --mode 1366x768 --rate 60 --pos 1280x256 --panning 2646x1024+0+0/1366x768+1280+256 --output VGA1 --mode 1280x1024 --rate 75 --pos 0x0 --panning 2646x1024+0+0/1280x1024+0+0

Code: Select all
koninator@koninator-laptop ~ $ xrandr --current
Screen 0: minimum 320 x 200, current 2646 x 1024, maximum 8192 x 8192
VGA1 connected 2646x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm panning 2646x1024+0+0 tracking 1280x1024+0+0 border 0/0/0/0
   1280x1024      60.0 +   75.0*
   1152x864       75.0 
   1024x768       75.1     70.1     60.0 
   832x624        74.6 
   800x600        72.2     75.0     60.3     56.2 
   640x480        72.8     75.0     66.7     60.0 
   720x400        70.1 
LVDS1 connected 2646x1024+0+0 (normal left inverted right x axis y axis) 344mm x 193mm panning 2646x1024+0+0 tracking 1366x768+1280+256 border 0/0/0/0
   1366x768       60.1*+
   1360x768       59.8 
   1024x768       85.0     75.0     70.1     60.0 
   832x624        74.6 
   800x600        85.1     72.2     75.0     60.3     56.2 
   640x480        85.0     72.8     75.0     59.9 
   720x400        85.0 
   640x400        85.1 
   640x350        85.1 

So i have one screen trough 2 monitors, but problem i there is some invisible space above LVDS1 (laptop screen). ( 1280x0 to 2646x256 upper left/bottom right conner)
Code: Select all
xrandr --fb 2646x1024 --output LVDS1 --mode 1366x768 --rate 60 --panning 2646x1024+0+0/1366x768+1280+256/0/256/0/0 --output VGA1 --mode 1280x1024 --rate 75 --panning 2646x1024+0+0/1280x1024+0+0/0/0/0/0

Now i can see full screen but LVDS1 is scrolling up and down. ( --panning 2646x1024+0+0/1366x768+1280+256/0/256"scroll up"/0/0 ) but rather than scroling i would like to disable this space (1366x256) above LVDS1 monitor.
Also there are some other problems like full-screen video in totem is on 2 Monitors (1/2 on one and another half on other monitor ) same with youtube video.
Koninator
Level 3
Level 3
 
Posts: 132
Joined: Sat Mar 14, 2009 9:57 am

Re: Dual Monitor in FluxBox ( dual Screen )

Postby ashki on Wed Jun 23, 2010 3:31 am

Umm is there any follow up to this?, im in a similar situation as the thread starter and would like to know if any progress has been made on this yet. There are many guides to editing the xorg.config but few for xandr. If somebody were to at least post a how to, it would help alot of people
ashki
Level 1
Level 1
 
Posts: 6
Joined: Tue Apr 13, 2010 9:31 am

Re: Dual Monitor in FluxBox ( dual Screen )

Postby sefianix on Sun Aug 01, 2010 5:59 pm

bump. Same problem here but using LXDE version. thanks.
sefianix
Level 1
Level 1
 
Posts: 5
Joined: Thu Jul 22, 2010 4:24 pm


Re: Dual Monitor in FluxBox ( dual Screen )

Postby zhuzhu on Fri Nov 04, 2011 4:50 am

there is some invisible space above LVDS1. me too.

I want to disable this zone!!! anyone have any idea?
zhuzhu
Level 1
Level 1
 
Posts: 1
Joined: Fri Nov 04, 2011 4:25 am

Linux Mint is funded by ads and donations.
 

Return to Others

Who is online

Users browsing this forum: No registered users and 3 guests