Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-11-15 08:55:34

cjsmall
Member
Registered: 2012-12-02
Posts: 12

How to set the xfce4 window manager style from the command line

Xubuntu 17.10 with a Nvidia Quadro K4000 graphics card

I have a dual monitor system with independent screens, each running separate desktops with separate panels.  (i.e., Xinerama is off.)

I am using the Moheli style, selected using the Window Manager menu.  Unfortunately, when starting up, the second screen refuses to automatically load this style and the window decorations are dark and unreadable.  This is fixed by displaying the Window Manager menu and toggling another style and then back to Moheli which affects both screens and gives the proper appearance.

If someone knows how to correct the root problem, that would be great.  Short of that, I would like to automate this setting of the style from my .profile when I login.  Is there a way to set the window manager style directly from the command line?

Thanks

Offline

#2 2017-11-15 10:59:53

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,198

Re: How to set the xfce4 window manager style from the command line

cjsmall wrote:

Is there a way to set the window manager style directly from the command line?

You can set the window manager style from the command line via:

xfconf-query -c xfwm4 -p /general/theme -s Moheli

...but xfconfd needs to be running for this work. Maybe create a script that sets the theme away from then back to Moheli and add this script to your auto-start applications.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#3 2017-11-15 17:23:17

cjsmall
Member
Registered: 2012-12-02
Posts: 12

Re: How to set the xfce4 window manager style from the command line

I will give this a try!  Thanks ToZ, much appreciated.

Offline

Board footer

Powered by FluxBB