Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
~/.gtkrc-2.0 ignored
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Wed Oct 04, 2017 3:28 pm    Post subject: ~/.gtkrc-2.0 ignored Reply with quote

My Gentoo system is now almost fully operational. It is hosted by a MacBook Pro 8.2 and all the hardware is working, including the graphics swtching which gave me some trouble to configure.

But, to finish, I only miss a small detail: I would like the labels background of the icons on my desktop fully transparent with white text, I don't like those white plates on my wallpaper.

So, as I did on my previous Manjaro-openrc, I just made my ~/.gtkrc-2.0:
Code:
style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 10
    base[NORMAL] = "#000000"
    base[SELECTED] = "#71B9FF"
    base[ACTIVE] = "#71B9FF"
    fg[NORMAL] = "#fcfcfc"
    fg[SELECTED] = "#ffffff"
    fg[ACTIVE] = "#ffffff"
    XfdesktopIconView::ellipsize-icon-labels = 0
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
widget "*XfdesktopIconView*" style "xfdesktop-icon-view"
class "*XfdesktopIconView*" style "xfdesktop-icon-view"

And that should do it, because the theme I use, OS-X-El-Capitan (I don't like the policy, but I like the looks), has entries for everything: xfwm4, GTK2, GTK3, GTK3.2, cinnamon, ...

But, for my despair, I can't make the file being read by Xfce4. I already tried placing the path in GTK2_RC_FILES, including it in the theme file, almost everything, to no avail.

But it works on Manjaro with the same setup, can somebody help me, please?
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Sat Oct 07, 2017 4:36 pm    Post subject: [solved] Reply with quote

Just got the answer on xfce.org forum and, for the record and benefit of others with the same problem, yes, it ignored here.

In fact, Gentoo is already using gtk3 and so, the user modifications shall be made in ~/.config/gtk-3.0/gtk.css

So, for me it's working:
Code:

/* xfdesktop icon theming */
XfdesktopIconView.view {
   background-color: rgba(0,0,0,0.0);
}

XfdesktopIconView.view:active {
   background-color: rgba(0,0,0,0.0);
   color: rgba(0,128,255,0.5);
   border-radius: 1px;
}

XfdesktopIconView.rubberband {
   background-color: rgba(0,0,0,0.2);
}

XfdesktopIconView.label {
   background-color: rgba(0,0,0,0.0);
   color: white;
}

XfdesktopIconView.label:active {
   background-color: rgba(0,128,255,0.3);
   color: white;
}

XfdesktopIconView.label:selected {
   background-color: rgba(0,128,255,0.3);
   color: white;
}


Don't trust this blindly as I'm going to revise it deeply by trial and error. Furthermore, my wallpaper is blue with some degrading, you probably have to adapt the colors.

Keep well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum