Dual Monitor in FluxBox ( dual Screen )

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Koninator

Dual Monitor in FluxBox ( dual Screen )

Post by Koninator »

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? )
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
shane
Level 5
Level 5
Posts: 940
Joined: Sun Feb 25, 2007 11:15 pm
Contact:

Re: Dual Monitor in FluxBox ( dual Screen )

Post by shane »

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
Kendall

Re: Dual Monitor in FluxBox ( dual Screen )

Post by Kendall »

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.
Koninator

Re: Dual Monitor in FluxBox ( dual Screen )

Post by Koninator »

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.
ashki

Re: Dual Monitor in FluxBox ( dual Screen )

Post by ashki »

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
sefianix
Level 1
Level 1
Posts: 5
Joined: Thu Jul 22, 2010 4:24 pm

Re: Dual Monitor in FluxBox ( dual Screen )

Post by sefianix »

bump. Same problem here but using LXDE version. thanks.
zhuzhu

Re: Dual Monitor in FluxBox ( dual Screen )

Post by zhuzhu »

there is some invisible space above LVDS1. me too.

I want to disable this zone!!! anyone have any idea?
Locked

Return to “Software & Applications”