Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Desktop Icon Text

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

Desktop Icon Text

#1 Post by TenderFoot » Sat Feb 24, 2018 2:28 pm

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
Forum Regular
Forum Regular
Posts: 430
Joined: Thu Apr 13, 2017 2:50 am

Re: Desktop Icon Text

#2 Post by vamsi » Sat Feb 24, 2018 3:17 pm

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
Forum Regular
Forum Regular
Posts: 600
Joined: Sun May 03, 2009 2:34 pm

Re: Desktop Icon Text

#3 Post by TenderFoot » Sat Feb 24, 2018 3:28 pm

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
Forum Veteran
Forum Veteran
Posts: 9280
Joined: Sun Dec 16, 2007 1:17 pm

Re: Desktop Icon Text

#4 Post by dolphin_oracle » Sat Feb 24, 2018 3:31 pm

its .gtkrc-2.0, and yes you can create it if its not present.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
TenderFoot
Forum Regular
Forum Regular
Posts: 600
Joined: Sun May 03, 2009 2:34 pm

Re: Desktop Icon Text

#5 Post by TenderFoot » Sat Feb 24, 2018 4:31 pm

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
Forum Regular
Forum Regular
Posts: 430
Joined: Thu Apr 13, 2017 2:50 am

Re: Desktop Icon Text

#6 Post by vamsi » Sun Feb 25, 2018 5:18 am

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
Forum Regular
Forum Regular
Posts: 600
Joined: Sun May 03, 2009 2:34 pm

Re: Desktop Icon Text

#7 Post by TenderFoot » Sun Feb 25, 2018 4:36 pm

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 “Desktop Environment”