Openbox stores its settings in an XML file. For already-created users, this is found at ~/.config/openbox/lxqt-rc.xml
(or .../lubuntu-rc.xml
on 18.04), which you can modify to test out your changes. However, to make your changes apply to new users as well, you need to edit the XML file that will be applied to new users. This is located at /etc/xdg/xdg-Lubuntu/openbox/lxqt-rc.xml
(or /usr/share/lubuntu/openbox/rc.xml
on 18.04).
For your specific example of disabling virtual desktops, you need to change the <number>
tag in the <desktops>
section to 1
:
...
<desktops>
<number>2</number> <!-- change this line -->
<firstdesk>1</firstdesk>
...
I'd suggest making the change to ~/.config/openbox/lubuntu-rc.xml
, logging out and back in to check that it does what you expect, then copying it to be the default:
sudo cp ~/.config/openbox/lxqt-rc.xml /etc/xdg/xdg-Lubuntu/openbox/lxqt-rc.xml
Or, on 18.04:
sudo cp ~/.config/openbox/lubuntu-rc.xml /usr/share/lubuntu/openbox/rc.xml
ubuntu-support-status
in your terminal and that should make it more clear. When that deadline hits, it won't even be considered on-topic for this site anymore as it's no longer officially supported. – KGIII Mar 08 '21 at 01:08