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.

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

1 Answer 1

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!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .