18

I am trying to find what I need to edit in a GTK theme (specifically Ambiance) to change the opacity of a cut file. A selected file is orange and when I cut it, it is a little opaque - I'd like it to be more transparent, so that it is easily distinguishable.

I've played around with the /usr/share/themes/Ambiance/gtk-3.0/gtk-main.css but I haven't seen any difference.

Edit: I've created a nemo.css file inside the apps folder, properly imported it at gtk-main.css, but I can not find the variable I need to change.

  • Yes, this is it. – Chris Dec 22 '14 at 2:08
  • While this certainly helped, I had no luck finding the variable I need to change. – Chris Dec 22 '14 at 4:37
  • @Chris - what graphics chipset is this at your machine ? – dschinn1001 Sep 16 '15 at 6:23
  • NVIDIA, with the proprietary 352.41 driver. How does this help? – Chris Sep 16 '15 at 7:14
  • @Chris - is this of help ? : stackoverflow.com/questions/14860874/… – dschinn1001 Dec 18 '15 at 20:43
1

A workaround would be to create a small code inside theme folder exactly at:

sudo vim /usr/share/themes/Ambiance/gtk-3.0/apps/nemo.css

note: change vim with your favourite text editor

.nautilus-desktop.nautilus-canvas-item:selected {
color: @theme_selected_fg_color;
background-image: none;
background:#778196;
} 


Now we should give gtk-main a path to our file ,open the file at

sudo vim /usr/share/themes/Ambiance/gtk-3.0/gtk-main.css

add to the file

@import url("apps/nemo.css");

Save & close it.Reboot. That's it, done!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.