Score:0

How can I know which css selectors should I use to change a particular thing in UI

sg flag

CSS files are so long 3000-4000 lines. It's to hard to find the class name, like I wanted to change the background of nautilus so I changed RGB values from css file of nordic theme. (I am using these theme). but nothing happened. Then I completely removed the whole nautilus section and then restarted nothing was broken everything was fine.

If I removed that lines the theme should get changed but why it didn't happened, but removing the whole css file made everything transparent. This means that I was changing correct css file.

So instead of changing main file. It is possible to make a .config file for that app. But how can I know what should I name that .config file and In which folder should I keep that file also which selectors I have to use to make changes like background colour, change height of title bar of app, to change buttons on title bar, side-bar of nautilus, their colours etc.

every app has config files of different names in there .config/appfolder, how to know about that like if I want to change the appearance of Telegram, Gedit, firefox or any app.

one more question, I am using Ubuntu 20.04 LTS so does upgrading my pc to Ubuntu 22.04 LTS, will make my configs useless or it will work just fine.

Thanks

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.