Setting the number of desktop workspaces for Xfce4
Last Updated on December 14, 2020 by David Both
I just learned something very cool.
Sometimes it is necessary to make remote modifications to a desktop using the command line. In this case I needed to reduce the number of workspaces on the Xfce panel from 4 to 3 at the request of the user. This is actually easy and only required about 20 minutes of searching on the Internet.
The xfconf-query command can be used by non-root users to query and set various attributes for the xfwm4 window manager. In the sample below I have first verified the current setting of 4 workspaces, then set the number to 2, and finally verified the new setting.
[user@test1 ~]# xfconf-query -c xfwm4 -p /general/workspace_count 4 [user@test1 ~]# xfconf-query -c xfwm4 -p /general/workspace_count -s 2 [user@test1 ~]# xfconf-query -c xfwm4 -p /general/workspace_count 2 [user@test1 ~]#
Also, the default workspace count and many other defaults for xfwm4 can be found and changed in the /usr/share/xfwm4/defaults file. So setting “workspace_count=4” to “workspace_count=2” changes the default for all users on the host.
Look for more details about remote Xfce desktop configuration and the xconf-query command here.
More Stories
How to upgrade your Fedora Linux system to the latest release with DNF system-upgrade
Upgrading any operating system to a new release version can be time-consuming and fraught with problems. Fedora 40 was released very recently and I used these easy steps to upgrade all twelve of my home systems. It was easy and all went well.
Ansible #2 How to create an Ansible Playbook
In this introduction to Playbook creation, we examine a play that manages updates for a local Ansible controller machine.
Open Source and Music Playback
For me at least, music is an indispensable part of my day; much more so than streaming video or television....
3 things that matter most for a project management tool
Our daily professional lives involve recognizing, prioritizing, and completing tasks. These tasks comprise the larger projects and initiatives that drive company and business success. When you think about it this way, the project management tool and system you choose at work, for yourself or your team, is critical.
Seven Linux commands just for fun
Linux was developed by fun-loving people who created an array of fun and even comical commands. Try playing around with these yourself when you want a smile.
Extend the life of your Linux SSD drive with fstrim
SSDs have benefits like silent and cooler operation and a faster interface spec, compared to their elder spinning ancestors. Of course, new technology brings with it new methods of maintenance and management. SSDs have a feature to reclaim unused blocks on the device.