You are not logged in.

#1 2016-02-29 12:11:40

nebulah
New Member
Registered: 2016-02-29
Posts: 2

Incompatibility with xrandr and BLOB theme manager

I've tested the BLOB theme manager on RC2 and found out that my 'xrandr -q' didn't show a line containing "primary" (eventhough I do have a dual monitor setup). Therefore I could save a theme once, but never restore it. My workaround is the following:

In /usr/bin/bl-obthemes change line 180:
   PRIMARY=$(xrandr -q | awk '/ connected/ {if ($3=="primary") print $4}')
to:
   PRIMARY=$(xrandr -q | awk '/ connected/ {print $3}')

Please verify whether you also have this problem...

This was my first BunsenLabs experience (after using CB for quite some time) and I love it so far...
Keep up the good work!

/nebulah

Offline

#2 2016-02-29 12:24:17

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: Incompatibility with xrandr and BLOB theme manager

Thank you for reporting this.
Another solution would be to add an xrandr command to $HOME/.config/openbox/autostart using the --primary argument.

Offline

#3 2016-02-29 12:42:44

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Incompatibility with xrandr and BLOB theme manager

Rats, I thought I had dealt with that bug a while ago. Let me investigate where it went.... :8

EDIT: I think a better workaround, for people who do have "primary", is to have line #180 read

    PRIMARY=$(xrandr -q | awk '/ connected/ {if ($3=="primary") print $4;else print $3}')

Last edited by damo (2016-02-29 13:07:35)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2016-03-02 19:01:20

nebulah
New Member
Registered: 2016-02-29
Posts: 2

Re: Incompatibility with xrandr and BLOB theme manager

Seems like a quite clean solution to me! :-)

Offline

Board footer

Powered by FluxBB