January 04, 2018, 12:10:15 PM
Welcome, Guest. Please login or register.

There are two rules for success: #1 Never Tell Everything You Know.

Author Topic: Theming Whisker Menu to match Numix theme in XFCE  (Read 6489 times)

Offline n1tr0g3n

  • Super Elite
  • ******
  • Posts: 4734
  • Internets: +63/-2
  • MCSA, MCP, MCTS, DCSE, CE/H, ACSP, N+,A+, CWSP
    • n1tr0g3n Information Security Blog
Theming Whisker Menu to match Numix theme in XFCE
« on: June 27, 2014, 11:26:43 AM »
My tutorial on making XFCE Whisker Menu match the Numix theme.

http://gottcode.wordpress.com/2013/11/27/theming-whisker-menu/

Numix Themes & Icons:  http://numixproject.org/

Pastebin with exact code & instructions I made:  http://pastebin.com/MnXmsg4d


This is exactly how your file should look with the code pasted in which have inside the Pastebin tutorial I linked.





Your desktop should end up looking like this with the theme and Icons installed. Enjoy!



« Last Edit: June 27, 2014, 11:32:32 AM by n1tr0g3n »
"It's mind over matter, If you don't have a mind then it doesn't matter

Youtube  Channnel
http://www.youtube.com/user/n1tr0g3n0x1d3
Twitter  https://twitter.com/n1tr0g3n_com
http://www.n1tr0g3n.com  
http://teamctfu.weebly.com/

Offline 0E 800

  • If something can corrupt you, you're corrupted already.
  • Top Hat Member
  • Elite
  • ********
  • Posts: 961
  • Internets: +154/-0
  • • ??? ???????? ?s ?? ??c?c??-??? •
Re: Theming Whisker Menu to match Numix theme in XFCE
« Reply #1 on: June 27, 2014, 01:19:03 PM »
Looks pro - nice job N1tr0  +1

btw - there are some other tricks out there that you can add to gtkrc-2.0 such as:

changing the amount of time it takes for a hidden xfce panel to show up when the mouse is over it.

add below code to /usr/share/themes/yourtheme/gtk-2.0/gtkrc
Code: [Select]
# Autohide Panel
 style "xfce-panel-window-style"
 {
   # Time in miliseconds before the panel will unhide on an enter event
   XfcePanelWindow::popup-delay = 850
 
   # Time in miliseconds before the panel will hide on a leave event
   XfcePanelWindow::popdown-delay = 100
 }
 class "XfcePanelWindow" style "xfce-panel-window-style"

and below is for adding a transparent mouse hover-over / click, just create or copy 2 transparent images called hover.png and hover2.png and put them in /usr/themes/yourtheme/gtk-2.0/

Code: [Select]
style "mypanel"
{
      engine "pixmap"
        {
                image
                {
                        function                = BOX
                        recolorable             = TRUE
                        state                   = PRELIGHT
                        file                    = "hover.png"
                        border                  = { 1, 1, 1, 1 }
                        stretch                 = TRUE
                }
                image
                {
                        function                = BOX
                        recolorable             = TRUE
                        state                   = ACTIVE
                        file                    = "hover2.png"
                        border                  = { 1, 1, 1, 1 }
                        stretch                 = TRUE
                }
        }
}
 
widget "*Xfce*Panel*"                style "mypanel"
class "*Xfce*Panel*"                style "mypanel"
widget "*PanelWidget*"              style "mypanel"
widget "*PanelApplet*"              style "mypanel"
widget "*fast-user-switch*"         style "mypanel"
widget "*CPUFreq*Applet*"           style "mypanel"
widget "*indicator-applet*"         style "mypanel"
class "PanelApp*"                   style "mypanel"
class "PanelToplevel*"              style "mypanel"
widget_class "*PanelToplevel*"      style "mypanel"
widget_class "*notif*"              style "mypanel"
widget_class "*Notif*"              style "mypanel"
widget_class "*Tray*"               style "mypanel"
widget_class "*tray*"               style "mypanel"
widget_class "*computertemp*"       style "mypanel"
widget_class "*Applet*Tomboy*"      style "mypanel"
widget_class "*Applet*Netstatus*"   style "mypanel"

"He who passes not his days in the realm of dreams is the slave of the days."