Desktop Icon Text

Post Reply
Message
Author
User avatar
TenderFoot
Posts: 130
Joined: Sun May 03, 2009 2:34 pm

Desktop Icon Text

#1 Post by TenderFoot »

Very happy with my MX16 setup but a couple of tweaks evade me.

Is it possible to modify the desktop icon text to eliminate the "box"? In Mint one could edit gtkrc-2.0 and gtkrc-xfce which are hidden in the home folder.

I feel that I have asked this before - perhaps as far back as MX14 - but can't trace it, though believe the reply was along the lines of MX Xfce is organised differently!

In similar vein, I liked the cosmetic improvement in Win7 with open windows showing in the taskbar as uniformed sized icon buttons (and quicklaunch apps on launch becoming a button rather than being repeated in the taskbar). This could be emulated in WinXP with a simple registry edit (though not the quicklaunch bit!). Is such a tweak possible in MX? I know there are Mac style add-ons such as DockBar but not really what I'm looking for especially as they seem to be a supplement rather than replacement and, anyway, quite happy otherwise with the default MX taskbar!

User avatar
vamsi
Posts: 151
Joined: Thu Apr 13, 2017 2:50 am

Re: Desktop Icon Text

#2 Post by vamsi »

TenderFoot wrote:Very happy with my MX16 setup but a couple of tweaks evade me.

Is it possible to modify the desktop icon text to eliminate the "box"? In Mint one could edit gtkrc-2.0 and gtkrc-xfce which are hidden in the home folder.

I feel that I have asked this before - perhaps as far back as MX14 - but can't trace it, though believe the reply was along the lines of MX Xfce is organised differently!

In similar vein, I liked the cosmetic improvement in Win7 with open windows showing in the taskbar as uniformed sized icon buttons (and quicklaunch apps on launch becoming a button rather than being repeated in the taskbar). This could be emulated in WinXP with a simple registry edit (though not the quicklaunch bit!). Is such a tweak possible in MX? I know there are Mac style add-ons such as DockBar but not really what I'm looking for especially as they seem to be a supplement rather than replacement and, anyway, quite happy otherwise with the default MX taskbar!
Try this:- in gtkrc-2.0 in home folder

Code: Select all

style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
 
base[NORMAL] = "#ffffff"
base[SELECTED] = "#5D97D1"
base[ACTIVE] = "#5D97D1"
 
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
And i think what you said about windows 7 is possible only in cinnamon

For MAc like taskbar dwonload plank and search for plank themes in google you will find 100 plank themes download it and it has mac like docky

User avatar
TenderFoot
Posts: 130
Joined: Sun May 03, 2009 2:34 pm

Re: Desktop Icon Text

#3 Post by TenderFoot »

Try this:- in gtkrc-2.0 in home folder
But as I said, whilst I know the required tweaks, there is no gtkrc-2.0 in the home folder in MX and am not sure that creating one would do the trick.
...dwonload plank...
I'll have a look!

User avatar
dolphin_oracle
Developer
Posts: 19928
Joined: Sun Dec 16, 2007 1:17 pm

Re: Desktop Icon Text

#4 Post by dolphin_oracle »

its .gtkrc-2.0, and yes you can create it if its not present.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
TenderFoot
Posts: 130
Joined: Sun May 03, 2009 2:34 pm

Re: Desktop Icon Text

#5 Post by TenderFoot »

Thanks. Copied from Mint and that seems to have done the trick!

Not, sure about Plank as research indicates that it is more a dock for open apps and possibly quicklaunch but not system tray? I wonder if DockbarX plugin for Xfce might be what I crave...

User avatar
vamsi
Posts: 151
Joined: Thu Apr 13, 2017 2:50 am

Re: Desktop Icon Text

#6 Post by vamsi »

TenderFoot wrote:Thanks. Copied from Mint and that seems to have done the trick!

Not, sure about Plank as research indicates that it is more a dock for open apps and possibly quicklaunch but not system tray? I wonder if DockbarX plugin for Xfce might be what I crave...
Hello what you have replaced could you paste the code here ??

User avatar
TenderFoot
Posts: 130
Joined: Sun May 03, 2009 2:34 pm

Re: Desktop Icon Text

#7 Post by TenderFoot »

Code: Select all

include ".gtkrc-xfce"

#style "xfdesktop-icon-view" {
 #XfdesktopIconView::label-alpha = 0

 #Text colors you can delete these if you want you use gtk theme colors
 #fg[NORMAL] = "#ffffff"
 #fg[SELECTED] = "#00ff00"
 #fg[ACTIVE] = "#000000"

 #}
 #widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

style "xfdesktop-icon-view" {
  ## opacity of text background (0 - 255, 0 = transparent)
  XfdesktopIconView::label-alpha = 0
  XfdesktopIconView::selected-label-alpha = 100
 
  ## text background colors
  base[NORMAL]    = "#EDECEB"
  base[ACTIVE]    = shade (0.8, "#86ABD9")
  base[SELECTED]  = "#86ABD9"
 
  ## text foreground colors
  fg[NORMAL]      = shade (0.9, "#FFFFFF")
  fg[ACTIVE]      = shade (0.8, "#FFFFFF")
  fg[SELECTED]    = "#FFFFFF"
 
  ## whether or not unselected icon text gets truncated (...)
  # XfdesktopIconVIew::ellipsize-icon-labels = 1
 
  ## text shadow to be painted with the icon labels
   XfdesktopIconView::shadow-x-offset = 1
   XfdesktopIconView::shadow-y-offset = 1
   XfdesktopIconView::shadow-color = "#000000"
   XfdesktopIconView::selected-shadow-x-offset = 1
   XfdesktopIconView::selected-shadow-y-offset = 1
   XfdesktopIconView::selected-shadow-color = "#ffffff"
 
  ## spacing and sizing of icons on the grid
   XfdesktopIconVIew::cell-spacing = 4
   XfdesktopIconView::cell-padding = 4
   XfdesktopIconView::cell-text-width-proportion = 1.8
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

NB in my experience the include .gtkrc-xfce file is not required as it's contents are the same as lines up to 15 with different values and therefore over-ridden.

If you want more (or less) icons on the desktop you can mess around with the values in the "## spacing and sizing" section. We're talking decimal point differences - I've dropped the spacing and padding to 3 and may try 2.5.

[PS it is not usually necessary to quote the whole of a previous post].

Post Reply

Return to “XFCE Desktop Environment”