ArcoLinux -D -B 19.5 iso's have been released

[SOLVED] Oblogout on Dual Monitors

Post Reply
gregg0
Crewman
Posts: 18
Joined: Sat Nov 17, 2018 5:04 am
American Samoa
[SOLVED] Oblogout on Dual Monitors

Post by gregg0 » Wed Mar 20, 2019 5:02 am

I can't figure out how to display Oblogout on one monitor only ( in a dual monitor setting ).

The ArchWiki offers a solution ( section: Dual Head ) but it involves XML; I don't see how that is going to work in bspwm.

Looking at oblogout.conf - is there a way to set position? Not sure.

Maybe the rule in bspwmrc can be modified? I'm hacking on the line:

Code: Select all

bspc rule -a Oblogout state=floating
But so far I haven't changed the positioning of the really nice icons!

Any suggestions would be appreciated.

gregg0
Crewman
Posts: 18
Joined: Sat Nov 17, 2018 5:04 am
American Samoa
Re: Oblogout on Dual Monitors

Post by gregg0 » Wed Mar 20, 2019 4:35 pm

Read this while trying to find the secrets of .conf files ( standard commands / syntax ). It's from an IBM developer website:
Is there a standard configuration file format in Linux?

In a word, no. Users who are new to Linux (rightly) feel frustrated that each configuration file looks like a new challenge to figure out. In Linux each programmer is free to choose the configuration file format he or she prefers. Format options range from the /etc/shells file, which contains a list of possible shells separated by a newline, to Apache's complex /etc/httpd.conf file.

gregg0
Crewman
Posts: 18
Joined: Sat Nov 17, 2018 5:04 am
American Samoa
Re: Oblogout on Dual Monitors

Post by gregg0 » Fri Mar 22, 2019 6:19 pm

I had a look at the Oblogout repository on GitHub and the config options settings seem to be determined by the underlying code. So, short of making a successful pull request, there isn't anything more to be done about this issue.

It's not a huge deal. If the icons are partially off screen, and I can't remember the keyboard shortcuts ( U is Suspend, not S ) then I can always just hit ESC, move my cursor to ensure the icons show up on the monitor(s).

Might as well consider this one closed.

xeoncpu
Crewman
Posts: 61
Joined: Fri Nov 10, 2017 8:29 am
Location: Hungary
Hungary
Re: Oblogout on Dual Monitors

Post by xeoncpu » Sat Mar 23, 2019 5:32 am

Hi use xrandr to fix positions.
on my end it looks like that:

xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1

and the oblogout is not offscreen.

i do that on bspwmrc too

#Dual monitor
bspc monitor LVDS1 -d 1 2 3 4
bspc monitor DP3 -d 5 6 7 8 9

and now you can open oblogout on one monitor only...

bspc rule -a Oblogout desktop='^5' state=floating

gregg0
Crewman
Posts: 18
Joined: Sat Nov 17, 2018 5:04 am
American Samoa
Re: [SOLVED] Oblogout on Dual Monitors

Post by gregg0 » Sun Mar 31, 2019 4:20 am

Thanks for the tips, but unfortunately that isn't working on my machine.
Even after modifying for the screen resolution of my monitor, and using it's name (VGA1).

After reboot, I didn't have any Oblout icons, and it pushed some of the compton icons off the screen ( v6.2 ).

User avatar
erikdubois
Captain
Posts: 2148
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:
Belgium
Re: [SOLVED] Oblogout on Dual Monitors

Post by erikdubois » Sun Mar 31, 2019 9:28 am

Show us your code
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

gregg0
Crewman
Posts: 18
Joined: Sat Nov 17, 2018 5:04 am
American Samoa
Re: [SOLVED] Oblogout on Dual Monitors

Post by gregg0 » Fri Apr 26, 2019 5:10 pm

I've just done a fresh install following the Arch Way, and using Arco Xmonad spices.

I haven't set up my xmonad.hs to support dual monitors yet, but will share code when I do.

User avatar
erikdubois
Captain
Posts: 2148
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:
Belgium
Re: [SOLVED] Oblogout on Dual Monitors

Post by erikdubois » Sat Apr 27, 2019 9:12 pm

thanks
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.


Post Reply

Return to “Bspwm”