UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Customizing the Ubuntu LiveCD and onto the final touches.
I can't find where Ubuntu stores the system wide default theme and where it stores a user selected theme.
I tried editing /etc/gdm/gdm.conf and /etc/gdm/gdm.conf-custom to set the GtkTheme value but nothing.
So I have just edited the Human theme to suit. But now the icons. I made a custom theme in a liveCD and saved it, put it in /etc/skel/.themes so it is available to all new users. But how does one set the system or a user to use a particular theme ? Which file is it ?
Ok, if you're looking for the themes themselves, like snares said, they'd be in the /usr/share/gdm or /usr/share/ directories. If you want the configuration files, they should always be located in the /etc folder, under particular subfolders.
GDM themes only refer to your login prompt's themes. These configuration files do not affect the window manager themes after you've logged in.
I don't know where the system default configuration files are. I know that user specific configuration files are located inside hidden files and directories in users' home directory (~). I don't have time to go into detail, but explore the hidden directories there to find what you want.
As to the /opt and /etc/opt folders, I think that's just a quirk unique to Suse distros.
Ok, if you're looking for the themes themselves, like snares said, they'd be in the /usr/share/gdm or /usr/share/ directories. If you want the configuration files, they should always be located in the /etc folder, under particular subfolders.
Yeah got the themes. They are also located in ~/.themes once a user saves their own based on a mix of options in the GUI.
I wouldnt have thought a user choosen setting would go in /etc as I didnt need to supply sudo password to set it in the GUI and it would need those rights in order to write to /etc
System wide probably is in /etc, but I have been looking for days.
Quote:
Originally Posted by samstar
GDM themes only refer to your login prompt's themes. These configuration files do not affect the window manager themes after you've logged in.
I have read otherwise. I have read the GtkTheme= setting in the assortment of gdm.conf affect your themes in Gnome.
Quote:
Originally Posted by samstar
I don't know where the system default configuration files are.
Me either, hence my problem
Quote:
Originally Posted by samstar
I know that user specific configuration files are located inside hidden files and directories in users' home directory (~). I don't have time to go into detail, but explore the hidden directories there to find what you want.
I am aware of this and have done searches, listings before and after making a GUI change and then running diff over files and nothing seems to change when the theme is changed in the GUI. I dont where else a user has perms to write to, but nothing seems to be written to anything in ~/.*
I am still looking, but I thought I could save me hours of diff'ing and searching by asking here.
Quote:
Originally Posted by samstar
As to the /opt and /etc/opt folders, I think that's just a quirk unique to Suse distros.
I found quite a few configuration files located in /var/lib and its subdirectories. Some seem to set up the 'human' theme, so that could be where the default configs are stored. I can't really go into further detail, just explore it thoroughly.
I also thought about the /etc/alternatives folder and if that might point to where the defaults are.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.