Results 1 to 5 of 5

Thread: Applying theme doesn't effect root windows

  1. #1
    Join Date
    Apr 2006
    Beans
    171
    Distro
    Ubuntu 11.04 Natty Narwhal

    Applying theme doesn't effect root windows

    I've got a sweet theme from gnome-look, and it works great for most windows. But if I run one certain programs that needs root privileges (like synaptic), they use a really old looking button and icon theme. Any ideas on what can be done? I'm using GNOME in Intrepid.

  2. #2
    Join Date
    Apr 2006
    Location
    Dallas, TX
    Beans
    1,359
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Applying theme doesn't effect root windows

    What theme are you using? I'm using the Shiki-Colors theme and that appears to apply to "root windows".

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Applying theme doesn't effect root windows

    The problem is simply that the themes are installed in your own home directory instead of installing them system-wide. Since Synaptic and other admin apps run as root user, and root doesn't have those themes available, the apps use default theme instead.

    There's an easy solution to the problem: link your theme directory to root's theme directory:

    sudo ln -s /home/yourusername/.themes /root/.themes
    sudo ln -s /home/yourusername/.icons /root/.icons

    Now root will always have same themes available as your own user has, and apps running as root will use same theme you are using.

  4. #4
    Join Date
    Feb 2007
    Beans
    4,045
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Applying theme doesn't effect root windows

    When you install a theme, it is put under a hidden folder .themes in your home-directory, and will only apply for your user. The root user has it's own homefolder at /root. Copying your user's .themes folder to root's homefolder should make root windows themed too.

    Code:
    sudo cp -r ~/.themes /root/
    EDIT: mcduck beat me to it with a better answer

  5. #5
    Join Date
    Apr 2006
    Beans
    171
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Applying theme doesn't effect root windows

    Thanks guys!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •