You are not logged in.

#1 2019-05-12 13:30:23

ghorvath
Member
Registered: 2015-10-01
Posts: 137

[Solved] Fullscreen across dual monitor

Hi Team,

I have two AOC monitors, same type, both 1920x1080 resolution. 'xrandr -q' gives the following:

ghorvath@DesktopPC:~$ xrandr -q
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+  74.99    59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+  74.99    59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  

I use Citrix Receiver to connect to my company when working from home, which is supposed to start a full-screen session and should use both screens, when available and supported. However, it only uses one screen. Moreover, any applications I try, they only maximize onto one of the screens, and not both of them.

How could I make my windows to maximize to both monitors and use the full available 3840x1080 size?

Thanks in advance.

Last edited by ghorvath (2019-05-31 10:42:04)

Offline

#2 2019-05-14 04:47:56

ohnonot
...again
Registered: 2015-09-29
Posts: 3,741
Website

Re: [Solved] Fullscreen across dual monitor

... so it's NOT a citrix issue?

i looked at these search results and the first few don't seem to fit your situation. maybe the next few?

Offline

#3 2019-05-14 06:30:17

ghorvath
Member
Registered: 2015-10-01
Posts: 137

Re: [Solved] Fullscreen across dual monitor

To be honest, I'm not 100% sure what causes the issue. I can't maximize any application across two monitors, so that's definitely not a Citrix issue. However, xrandr reports to see a 3840 wide desktop. So I am puzzled.

Some of the google hits suggested to rewrite the xorg.conf file, which I don't have. I wonder if that could cause the issue. Some others suggested to rewrite the compiz settings, which I'll try to check the next time I boot up the machine (maybe during the weekend). I checked nvidia-settings, and that also reported a 3840 wide screen.

As a side note, (I'm sure this is trivial to fix, just haven't found the way) somehow the wallpaper is stretched across the two screens, and conky only exists on the left (primary) screen, where the wallpaper is much lighter, almost the same color as the conky fonts. I'd rather like to have conky to show up on both screens, and the wallpaper to be the same on both monitors, but not sure how to do that. So again, why is the wallpaper stretched across the two monitors, but conky treats the primary monitor separately?

Offline

#4 2019-05-16 14:04:42

jp734
Member
Registered: 2019-05-01
Posts: 6

Re: [Solved] Fullscreen across dual monitor

You probably need to enable xinerama to be able to maximize window on both screens. Look at your nvidia settings if there is an option. If not, you might have to create a xorg configuration file

Wallpaper issue: start nitrogen with --force-setter=xinerama option. This will let you control what background to use for each monitor. Not sure if this will give you the conky result you want though. Good luck and let us know.

Offline

#5 2019-05-16 15:56:01

damo
....moderator....
Registered: 2015-08-20
Posts: 4,903

Re: [Solved] Fullscreen across dual monitor

If you start one conky, it will only appear once. If you want it on both monitors then you need to duplicate it, set the x/y positions where you want them, and start both.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2019-05-17 04:15:20

ohnonot
...again
Registered: 2015-09-29
Posts: 3,741
Website

Re: [Solved] Fullscreen across dual monitor

I'd also see if openbox has some options pertaining to dual monitor setups.

Offline

#7 2019-05-30 21:40:50

ghorvath
Member
Registered: 2015-10-01
Posts: 137

Re: [Solved] Fullscreen across dual monitor

Ok, so the problem (with Citrix anyway) is that _NET_WM_FULLSCREEN_MONITORS is used for blowing up windows for both monitors. The following tells me if it is supported.

xprop -root | grep _NET_WM_FULLSCREEN_MONITORS

Currently, the basic Bunsenlabs setup doesn't support this. However, I think usual xfce does. So I'm wondering what is missing from Bunsenlabs that would enable this feature.

Offline

#8 2019-05-31 06:48:02

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,308
Website

Re: [Solved] Fullscreen across dual monitor

^I think you'd probably have to change your window manager from openbox to xfwm4.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#9 2019-05-31 07:27:36

ghorvath
Member
Registered: 2015-10-01
Posts: 137

Re: [Solved] Fullscreen across dual monitor

johnraff wrote:

^I think you'd probably have to change your window manager from openbox to xfwm4.

Hm, I was afraid about that. Does that mean I'll loose the right click menu and the keyboard shortcuts? Or is there some easy way to port them to the xfwm4?

Offline

#10 2019-05-31 07:56:03

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,308
Website

Re: [Solved] Fullscreen across dual monitor

I'm afraid the menu and keyboard shortcuts both come from Openbox.

If you wait till BunsenLabs Lithium, they will likely be provided independently of the window manager, allowing a bit more modularity. smile


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#11 2019-05-31 08:03:49

ghorvath
Member
Registered: 2015-10-01
Posts: 137

Re: [Solved] Fullscreen across dual monitor

^Great news!
Unfortunately, I'll need this rather soon (within a couple weeks), so I installed xfwm4 for now. It's fine, I'll mostly use this wm for the citrix, anyway (for working from home).

However, I don't know how to load xfwm4 instead of openbox. When I enter my login password, there's only two options I can choose from: default xsession and openbox, both of which send me to the familiar BL openbox wm.

How do I make BL understand that I want to switch to xfwm4? Is there some config file I need to change?

Offline

#12 2019-05-31 08:22:10

ohnonot
...again
Registered: 2015-09-29
Posts: 3,741
Website

Re: [Solved] Fullscreen across dual monitor

your xsessions are stored in /usr/share/xsessions; is there no xfwm4 entry?
you can copy one of the existing entries, and edit it accordingly. that should make it show up in lightdm's session chooser.

I don't know how much of xfce4 functionality you'll get with xfwm4 only! but i'll try in a vm.

btw, both openbox and xfwm4 use XML files for their keybinds; it would be interesting to convert one format to the other.
But again, I do not know if the keyboard shortcuts are part of xfwm4 at all.
Just have to try it.

You could also try if fluxbox provides the functionality you desire; it's definitely closer to openbox philosophy.

Last edited by ohnonot (2019-05-31 08:27:38)

Offline

#13 2019-05-31 08:34:09

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,308
Website

Re: [Solved] Fullscreen across dual monitor

On the BL menu: System>Edit Debian Alternatives>x-window-manager might allow you to switch.
The BL menu will be gone, once you do that, though...


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#14 2019-05-31 10:41:41

ghorvath
Member
Registered: 2015-10-01
Posts: 137

Re: [Solved] Fullscreen across dual monitor

Ok, so I have an update: fluxbox doesn't give me the necessary functionality.

I decided to install the xfce4 metapackage, because xfwm4 alone didn't give me any way to launch any application, and I wasn't sure what else I would need. Generally I like to go as minimalistic as possible, but xfce4 altogether only used about 10 MBs or so, so that is fine for now. It's not like I'm going to use it on a 20 year old machine, anyway....

It gives the required functionality, and I can now use Citrix in fullscreen with both screens properly. So the original issue is solved.

There are a couple things that are bothering me a bit. First I tried it on my laptop with an external monitor, and the touchpad double tapping functionality is gone... Even if I start the syndaemon from the .config/openbox/autostart, I don't seem to get it back.... (However, after running syndaemon, I get the toggling, so maybe I just need to extend my config file with the defaults?)

Other things that annoy me is that I don't have the keyboard shortcuts, don't have the menu, and that ~/.config/openbox/autostart doesn't start automatically. Is there a (reasonably fast) way to remedy at least some of these for now, before Lithium comes out?

I also liked the background, tint2, and the whole feel of openbox in BL, but I can live without the rest. :-)

I'll mark the thread solved, and will open a new thread with porting the openbox feel under xfce4.

Thanks for all the help!

Offline

#15 2019-05-31 11:04:04

damo
....moderator....
Registered: 2015-08-20
Posts: 4,903

Re: [Solved] Fullscreen across dual monitor

If you aren't using openbox then you need to configure the startup procedures for the WM you are using. Likewise for shortcuts and menus, configuration is specific for the WM in use.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB