Saturday, 7 June 2014

Unified KDE look for user and root applications

To have unified look for root and user applications you can do this
On the new Arch Linux with KDE you can run these following commands to set it up. Note if you run the commands as root you don't need to use sudo.

Create the directories if needed or not present:
sudo mkdir /root/.kde4/; sudo mkdir /root/.kde4/share/ ; sudo mkdir /root/.kde4/share/config/
Or remove the configuration files if present:
sudo rm /root/.kde4/share/config/kdeglobals
sudo rm /root/.kde4/share/config/kwinrc
Create links to your KDE settings file:
sudo ln -s ~/.kde4/share/config/kdeglobals /root/.kde4/share/config/kdeglobals

sudo ln -s ~/.kde4/share/config/kwinrc /root/.kde4/share/config/kwinrc
For GTK applications if you have oxygen-gtk package installed run the following command:
sudo ln -s ~/.gtkrc-2.0 /root/.gtkrc-2.0
Edit: For the .gtkrc-2.0 file to be there I had to install kde-gtk-config then switch to a different theme under the gtk settings and switch back for the config file to be created and even if the config file is there it may be needed for the right configuration options to be present.

No comments:

Post a Comment