Hello to everybody,
first of all, I like antiX. Everything works out of the box. Generally it's running fast on my old machine. Thanks for that.
This is only a minor theming or customizing question, no functionality involved. Please give priority to really urgent problems, or things concerning functionality. That being said you can help me making my desktop sexy (mhm, less depressing, at least).
I will not go into hardware details here as the problem is not hardware related. Just a theming thing which bothers me far too long now. And yes, I searched and googled a lot, and I tried to find and play with the respective files and folders on my system. But unfortunately to no avail.
Some relevant infos:
- antiX 15 - rox-icewm
- altered theme: IceClearlooks
- copied and renamed: IceBluelooks (and set as theme)
- altered some desktop icons and put them there (Rox)
And here's what I want to manipulate:
and the tooltips as well:
I failed to find the right files (and/or folders) to customize this. How do I customize the part of the taskbar which shows the startup applications? And, yes, how is the name of this part of the taskbar (as it's not modified with the rest).
(Lots of search results mixed up terms like taskbar, toolbar and panel, which leads to confusion.)
Thanks for any help or hint where to find a solution.
topic title: theming startapplications in taskbar
14 posts
• Page 1 of 1
-
Posts: 16
- Joined: 08 Nov 2015
-
Posts: 1,445
- Joined: 09 Feb 2012
#2
Each time you choose a theme via the config menu, the"default.theme" file for that theme is copied to your home directory.
If you edit that file, then later select a different theme... ouch, your customized file will get overwritten (so keep a backup copy elsewhere).
At start of each session, icewm reads the file
~/.icewm/default.theme
and, based on the quoted string within the line ThemeDescription=, it looks for a subdirectory bearing a matching name.
IOW, if the ThemeDescription= is"mytheme1", icewm checks whether a dir ~/.icewm/mytheme exists.
If it does not exist, icewm will look for any needed theme imagefiles in /usr/share/themes/mytheme1
(or, the fallback might be /usr/share/themes/icewm/mytheme1 )
# use these to specify background color and foreground (text) color for icewm Tooltip
ColorToolTip=
ColorToolTipText=
# you can also specify the toolbar font properties
ToolTipFontNameXft="sans-serif:size=9:bold"
A possibility: the icons you've chosen to display, they have a solid (not transparent) background color, so they are hiding/overlaying the taskbar's background color?
A good way to learn"what makes 'em tick" is to visit
box-look.org
download a theme that appeals to you, and skim its desktop.theme file while its accompanying screenshot is still displayed in browser.
If you edit that file, then later select a different theme... ouch, your customized file will get overwritten (so keep a backup copy elsewhere).
At start of each session, icewm reads the file
~/.icewm/default.theme
and, based on the quoted string within the line ThemeDescription=, it looks for a subdirectory bearing a matching name.
IOW, if the ThemeDescription= is"mytheme1", icewm checks whether a dir ~/.icewm/mytheme exists.
If it does not exist, icewm will look for any needed theme imagefiles in /usr/share/themes/mytheme1
(or, the fallback might be /usr/share/themes/icewm/mytheme1 )
# use these to specify background color and foreground (text) color for icewm Tooltip
ColorToolTip=
ColorToolTipText=
# you can also specify the toolbar font properties
ToolTipFontNameXft="sans-serif:size=9:bold"
I don't know a separate name. I didn't realize we could apply different properties to just that section.how is the name of this part of the taskbar (as it's not modified with the rest)
A possibility: the icons you've chosen to display, they have a solid (not transparent) background color, so they are hiding/overlaying the taskbar's background color?
A good way to learn"what makes 'em tick" is to visit
box-look.org
download a theme that appeals to you, and skim its desktop.theme file while its accompanying screenshot is still displayed in browser.
-
Posts: 2,238
- Joined: 16 Dec 2007
#3
this particular area of the taskbar is a little finicky.
it is controlled by
ColorDefaultTaskBar=
but it may not show up as changed unless you log out and log back in (even restarting icewm isn't enough to change the color).
for the tooltips in the tray, sometimes these are set by the tray app (volumeicon is always black and white I think, dropbox looks like a win98 tooltip)
it is controlled by
ColorDefaultTaskBar=
but it may not show up as changed unless you log out and log back in (even restarting icewm isn't enough to change the color).
for the tooltips in the tray, sometimes these are set by the tray app (volumeicon is always black and white I think, dropbox looks like a win98 tooltip)
-
Posts: 1,028
SamK - Joined: 21 Aug 2011
#4
ColorDefaultTaskBar, can only specify a single, solid colour. Because of this it is never possible to get a 100% match when the taskbar uses a graduated colour scheme. By choosing the colour carefully it is possible to get acceptable results.
To illustrate what can be done here are three screen shots of taskbars using graduated and solid colours.
Blue-crystal theme showing as shipped and after modification. This is not an exact match as a graduated colour scheme.
A private theme that again uses a graduated colour scheme and is a close match.
A private theme that uses a solid colour scheme that is a 100% match.
IceWM defaults to setting the look of the taskbar by using /usr/share/icewm/themes/THEME-NAME/taskbar/taskbarbg.xpm whenever the file present. In that case ColorDefaultTaskBar=... is ignored. However, the area on the taskbar used by icons such as Volume Icon does not use taskbarbg.xpm for its background. Instead it uses the value specified by ColorDefaultTaskBar in /usr/share/icewm/themes/THEME-NAME/default.theme.agitator wrote:How do I customize the part of the taskbar which shows the startup applications? And, yes, how is the name of this part of the taskbar (as it's not modified with the rest)
ColorDefaultTaskBar, can only specify a single, solid colour. Because of this it is never possible to get a 100% match when the taskbar uses a graduated colour scheme. By choosing the colour carefully it is possible to get acceptable results.
To illustrate what can be done here are three screen shots of taskbars using graduated and solid colours.
Blue-crystal theme showing as shipped and after modification. This is not an exact match as a graduated colour scheme.
A private theme that again uses a graduated colour scheme and is a close match.
A private theme that uses a solid colour scheme that is a 100% match.
-
Posts: 16
- Joined: 08 Nov 2015
#5
Ok. Thanks for your help. Here's some info on what I ruled out so far and what took me a step further. I'll go on playing around with this problem and keep you informed about it.
1) The taskbar is completely modified (blue) as intended. I've checked the top border (above these icons) with gcolor2's color picker and it is in fact blue.
2) The icons do have a transparent background. As I created one of the keboard switcher's icons (stored in"usr/share/fbxkb/images") and modified others this can be ruled out also.
SamK's tip made clear how to proceed. I changed the value of"ColorDefaultTaskBar" in"/usr/share/icewm/themes/THEME-NAME/default.theme". VoilĂ ... well, at least a minor success.
Next I'll have to try and find the icons and make them a little darker for better visibility.
Only the keyboard switcher icon's background refused to act on my orders. I'll teach him if I manage to find him.
Thanks so far. I'll post if I can locate the respective files (or maybe someone comes up with an idea where to find them).
1) The taskbar is completely modified (blue) as intended. I've checked the top border (above these icons) with gcolor2's color picker and it is in fact blue.
2) The icons do have a transparent background. As I created one of the keboard switcher's icons (stored in"usr/share/fbxkb/images") and modified others this can be ruled out also.
SamK's tip made clear how to proceed. I changed the value of"ColorDefaultTaskBar" in"/usr/share/icewm/themes/THEME-NAME/default.theme". VoilĂ ... well, at least a minor success.
Next I'll have to try and find the icons and make them a little darker for better visibility.
Only the keyboard switcher icon's background refused to act on my orders. I'll teach him if I manage to find him.
Thanks so far. I'll post if I can locate the respective files (or maybe someone comes up with an idea where to find them).
-
Posts: 16
- Joined: 08 Nov 2015
#6
Ok, found the volume icons in"usr/share/volumeicon/icons/White Gnome" and cusomized them to fit the blue background.
Hunting the search icon now...
Hunting the search icon now...
-
Posts: 16
- Joined: 08 Nov 2015
#7
Found the search icon at last (/usr/local/share/icons/search-bar/eye-icon.png) and muddled around a little bit to make it fit (well, nearly...). You have to reboot after you saved the file (restarting icewm or xterm doesn't change the icon in the taskbar). I messed up the icon totally before I learned this. Some finetuning will be neccessary... later.
Now I'll try to find the file to change the switcher's background.
Now I'll try to find the file to change the switcher's background.
-
Posts: 16
- Joined: 08 Nov 2015
#8
Unsuccessfully searching for a hint how to change fbxkb icons' background half of the day I decided to go and get some bottles of beer from the supermarket. On my way back I suddenly came up with the idea to try and change the icons themselves.
Although I had read these icons have to be 60x40 px I decided to create 60x60 px icons filling the flags' background with the color I had chosen.
Of course you have to backup your image files before. I chose to copy them changing their suffix to"*.old". Then you create a new bitmap file (60x60 px), fill it completely with your background color, copy the respective flag into it and export/save the file to"*.png".
IMPORTANT: Change all needed flag-png files before rebooting otherwise your new icon will show but will not be changed to another icon when you switch to the next keyboard layout. The switcher itself will work as usually though. In this case I had to change three files before rebooting.
You should also backup your modified png-files to easily copy them back after a fresh install __{{emoticon}}__
NOTE: This is not a real solution to my original taskbar question. It's just a dirty trick to cheat fbxkb. Although it works under rox-icewm I'm not sure it will work on other systems. Furthermore you'll have to take all these steps again after re-installing your system (maybe even when upgrading or updating something related).
The taskbar looks as desired now but I won't mark the topic as solved out of two reasons:
1) The tooltips are still not changed to look like the other ones.
2) The fbxkb"solution" is only a dirty trick.
Although I had read these icons have to be 60x40 px I decided to create 60x60 px icons filling the flags' background with the color I had chosen.
Of course you have to backup your image files before. I chose to copy them changing their suffix to"*.old". Then you create a new bitmap file (60x60 px), fill it completely with your background color, copy the respective flag into it and export/save the file to"*.png".
IMPORTANT: Change all needed flag-png files before rebooting otherwise your new icon will show but will not be changed to another icon when you switch to the next keyboard layout. The switcher itself will work as usually though. In this case I had to change three files before rebooting.
You should also backup your modified png-files to easily copy them back after a fresh install __{{emoticon}}__
NOTE: This is not a real solution to my original taskbar question. It's just a dirty trick to cheat fbxkb. Although it works under rox-icewm I'm not sure it will work on other systems. Furthermore you'll have to take all these steps again after re-installing your system (maybe even when upgrading or updating something related).
The taskbar looks as desired now but I won't mark the topic as solved out of two reasons:
1) The tooltips are still not changed to look like the other ones.
2) The fbxkb"solution" is only a dirty trick.
-
Posts: 60
- Joined: 03 Nov 2015
#9
WOW! I'm very impressed with your specific intent and attention to detail. I also spend a lot of time playing with appearances. However, my approach runs more on lucky accidents that are appealing at the moment and are subject to immediate change for the sake of change. I'm glad that you got nearly what you want, and I admire the degree of definition your artistic vision entails.
- Posts: 16 agitator
- Joined: 08 Nov 2015
#10
Well. thanks for the flowers. __{{emoticon}}__
SamK's information on where to find these specific settings pushed me into the right direction. Afterwards there remained a lot of searching both the web and the file system. Due to the modular concept of AntiX (using Rox and Icewm) this can be very time-consuming. And the available documentation (especially on fbxkb) is not satisfactory.
I wonder if one of the guys who create these fantastic themes has writen a tutorial on this subject. This would be worth spending some time with.
SamK's information on where to find these specific settings pushed me into the right direction. Afterwards there remained a lot of searching both the web and the file system. Due to the modular concept of AntiX (using Rox and Icewm) this can be very time-consuming. And the available documentation (especially on fbxkb) is not satisfactory.
I wonder if one of the guys who create these fantastic themes has writen a tutorial on this subject. This would be worth spending some time with.
-
Posts: 1,028
- Joined: 21 Aug 2011
#11
A potential alternative approach...
I have no evidence for this, but I suspect the fbxkb icon displayed in the taskbar is of most use when antiX is run in some form of live mode without persistence e.g. when someone boots an antiX CD or USB for the very first time in order to evaluate whether it is the distro for them. In such a case, despite defaulting to the American flag, it is handy to have the flag in the taskbar to assist switching to an alternative.
It is probably a different case once a user has decided to keep antiX and has installed it to disk, or runs it live with persistent storage. In this scenario it is highly likely the vast majority of antiX users will have no use for keyboard switching from the taskbar during a session. Once their preferred layout has been saved (probably during antiX installation) it is retained across subsequent boot-ups. Having its icon in the taskbar is redundant.
If you have no use for keyboard switching from the taskbar during a session you might consider preventing fbxkb loading during boot-up. In turn this means its icon is not displayed in the taskbar. Your issue about matching its icon background with your taskbar is resolved for all themes and all WMs.
To disable loading of fbxkb during boot-up
Control Center-->Session-->Global Desktop Session-->Startup Tab
Comment the automatic starting of fbxkb by making its line readAt the next restart it will not be loaded.
Note:
You can also handle search-bar-icon in a similar manner.
You are correct, it is a workaround that is restricted to working with a single theme of a single window manager (WM). Unless the theme/colour scheme, of a theme for a different WM, exactly matches the above workaround it will not present the desired outcome.agitator wrote: This is not a real solution to my original taskbar question. It's just a dirty trick to cheat fbxkb. Although it works under rox-icewm I'm not sure it will work on other systems. Furthermore you'll have to take all these steps again after re-installing your system (maybe even when upgrading or updating something related).
A potential alternative approach...
I have no evidence for this, but I suspect the fbxkb icon displayed in the taskbar is of most use when antiX is run in some form of live mode without persistence e.g. when someone boots an antiX CD or USB for the very first time in order to evaluate whether it is the distro for them. In such a case, despite defaulting to the American flag, it is handy to have the flag in the taskbar to assist switching to an alternative.
It is probably a different case once a user has decided to keep antiX and has installed it to disk, or runs it live with persistent storage. In this scenario it is highly likely the vast majority of antiX users will have no use for keyboard switching from the taskbar during a session. Once their preferred layout has been saved (probably during antiX installation) it is retained across subsequent boot-ups. Having its icon in the taskbar is redundant.
If you have no use for keyboard switching from the taskbar during a session you might consider preventing fbxkb loading during boot-up. In turn this means its icon is not displayed in the taskbar. Your issue about matching its icon background with your taskbar is resolved for all themes and all WMs.
To disable loading of fbxkb during boot-up
Control Center-->Session-->Global Desktop Session-->Startup Tab
Comment the automatic starting of fbxkb by making its line read
Code: Select all
#fbxkb &
Note:
You can also handle search-bar-icon in a similar manner.
-
Posts: 16
- Joined: 08 Nov 2015
#12
So.., yes, the switcher is important for many users (and can attract new ones).
Think about tourist agencies, NGOs,.. and ex-pats, of course.
EDIT: SamK: Hope, you're not offended. Different perspective on same topic. My old machines have to have a switcher.
Hmm.., I'd partly disagree here: My own system is installed to harddrive (frugal, isn't it?). And you're right, I don't need fbxkb for Czech or French or.., well, any language using latin characters. I don't use the respective keyboard layouts, I use the shortcuts to insert diacritics. But for the cyrillic characters (for Serbian, f.e.) I would have to type the utf-shortcut followed by the utf-codes. Why writing a short message in one hour if you can change the keyboard layout and write it in two minutes (if you know the keyboard layout, of course). And don't forget about some of the poor guys in South Eastern Europe. They only have old machines, they have to use a Linux distro fitting their hardware and they need both English (or German, or ...) and their respective cyrillic keyboard layout. Well, this sounds a little pathetic. And it is. But on the other hand AntiX campaigns for being an OS for old hardware.SamK wrote: ... but I suspect the fbxkb icon displayed in the taskbar is of most use when antiX is run in some form of live mode without persistence...
...It is probably a different case once a user has decided to keep antiX and has installed it to disk, or runs it live with persistent storage. In this scenario it is highly likely the vast majority of antiX users will have no use for keyboard switching from the taskbar during a session. Once their preferred layout has been saved (probably during antiX installation) it is retained across subsequent boot-ups. Having its icon in the taskbar is redundant...
So.., yes, the switcher is important for many users (and can attract new ones).
Think about tourist agencies, NGOs,.. and ex-pats, of course.
EDIT: SamK: Hope, you're not offended. Different perspective on same topic. My old machines have to have a switcher.
- SamK
- Joined: 21 Aug 2011
#13
Perhaps you overlooked part of the important qualification made
Not offended at all. Different opinions are fine here. Your care about avoiding offence is appreciated and welcomed.agitator wrote:SamK: Hope, you're not offended. Different perspective on same topic. My old machines have to have a switcher.
Perhaps you overlooked part of the important qualification made
. You do and that is OK. The idea is not for you but might be helpful to someone else. antiX is all about choice, it makes it easier to have it your own way.SamK wrote:If you have no use for keyboard switching from the taskbar during a session...
- Posts: 16 agitator
- Joined: 08 Nov 2015
#14
You're right. It's only useful if you have to use non-latin characters a lot.