It is currently Fri Apr 28, 2017 12:18 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: (Solved) IceWM changing colors in system tray
PostPosted: Tue Jan 03, 2017 7:28 pm 
Offline
User avatar

Joined: Mon Dec 26, 2016 7:12 pm
Posts: 74
Location: Latvia
Good Day!
1. Is it possible to change colour or better make transparent (as it should be) that frame around GTK application? Red arrow in screenshot. Now that HUGE black frame looks Weird!
2. How to change colour around system tray icons in IceWM desktop environment? Yellow arrow in screenshot.
http://storage6.static.itmages.ru/i/17/ ... 7cb2af.png
I could not find the option to change that colour in theme configuration file.


Last edited by Rademes on Thu Jan 05, 2017 6:12 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Tue Jan 03, 2017 9:20 pm 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
I have never that behaviour here.
Attachment:
File comment: working as expected
screenshot.jpg
screenshot.jpg [ 26.13 KiB | Viewed 472 times ]
Perhaps it is a quirk of your icon set and theme.

One thing you might try for the taskbar item is to log out then log in again.


Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Wed Jan 04, 2017 12:14 am 
Offline
User avatar

Joined: Mon Dec 26, 2016 7:12 pm
Posts: 74
Location: Latvia
SamK wrote:
Perhaps it is a quirk of your icon set and theme.

Rechecked my settings, everything was OK, then removed compton, which I was installed with hope to get transparency. After removing it and rebooting that weird black frame is gone. Still looking how to change colour around system tray icons.


Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Wed Jan 04, 2017 2:56 am 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1106
Hmmm, when I load the icegil themes, I do not see the off-color gray shown in your screenshot.
Is it the theme named "icegil medium"?
(my guess from looking at screenshot)

Browse to this path in file manager
/usr/share/icewm/themes/icegil-remix-medium/taskbar/
or
from commandline mirage /usr/share/icewm/themes/icegil-remix-medium/taskbar

These are the imagefiles used by the theme.
You can experiment by moving (renaming) one of the files
/usr/share/icewm/themes/icegil-remix-medium/taskbar/taskbuttonbg.xpm
and copy/rename a more desirable -looking xpm to take the place of the bumped image.
(note: explaining this as an example. I don't know exactly which file is used as the tray background image)

After a change, you'll likely need to restart the session to cause the changed files to be reloaded.


Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Wed Jan 04, 2017 9:23 pm 
Offline
User avatar

Joined: Mon Dec 26, 2016 7:12 pm
Posts: 74
Location: Latvia
I use AntiX-Blue/YourFonts theme.
Changing files did not helped. It only changed other taskbar colours, but colour around system tray icons remained the same.


Attachments:
ChangedTheme-thumb.jpg
ChangedTheme-thumb.jpg [ 110.81 KiB | Viewed 427 times ]
Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Wed Jan 04, 2017 11:42 pm 
Offline

Joined: Wed Jul 13, 2016 1:02 pm
Posts: 50
Location: Freiburg, Germany
Rademes wrote:
I use AntiX-Blue/YourFonts theme.
Changing files did not helped. It only changed other taskbar colours, but colour around system tray icons remained the same.

Simply insert the line
Code:
ColorDefaultTaskBar="#575757"

into the file /usr/share/icewm/themes/AntiX-Blue/YourFonts.theme. Or choose any other color that suits you. Then log out and in again in order to enable the new background color.


Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Thu Jan 05, 2017 12:13 am 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1106
Maybe IceWM isn't able to properly decode/render transparency for certain iconfiles and, as a result, displays instead that gray background.
To test this theory, try using lxappearance to swap in different iconsets.

another troubleshooting step:
try viewing the affected iconfiles via mirage and/or via web browser(s).
Is a transparent bg rendered in those applications for the affected iconfiles?

edit:
lookit, from google search results
https://sourceforge.net/p/icewm/mailman ... /10988356/
https://sourceforge.net/p/icewm/notabug/8/


Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Thu Jan 05, 2017 9:44 am 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
The method outlined by reversedog is the way to handle it.
reverseDog wrote:
Simply insert the line
Code:
ColorDefaultTaskBar="#575757"

into the file /usr/share/icewm/themes/AntiX-Blue/YourFonts.theme. Or choose any other color that suits you. Then log out and in again in order to enable the new background color.


When antiX-13-Full was shipping with the blue-crystal as the default IceWM theme, I proposed way to work around it. This is the method I used when designing the IceWM Clearview themes for antiX-16.

Abstract
SamK wrote:
[...]
It [the attached screenshot] shows both the faulty and fixed states.
Attachment:
File comment: Illustrating the outcome
before-and-after-fix.png
before-and-after-fix.png [ 10.59 KiB | Viewed 395 times ]

It is trivial to implement.
Edit /usr/share/icewm/themes/blue-crystal/default.theme
Change the value of ColorDefaultTaskBar=
From "#4c3c32"
To "#a1a9c6"

To view the result, logout out and in (restarting IceWM is insufficient).

Explanation
IceWM defaults to setting the look of the taskbar by using /usr/share/icewm/themes/blue-crystal/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.

The xpm file contains a graduated colour scheme. ColorDefaultTaskBar, can only specify a single, solid colour. Because of this it is never possible to get a 100% match, so I have chosen a colour that gets as close as possible and produces an acceptable result.
[...]


Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Thu Jan 05, 2017 10:29 am 
Offline
User avatar

Joined: Mon Dec 26, 2016 7:12 pm
Posts: 74
Location: Latvia
Thank you for your help!
reverseDod's advice helped. I have added ColorDefaultTaskBar="rgb:57/57/57" to /usr/share/icewm/themes/AntiX-Blue/YourFonts.theme and now tray icons have normal colour.
Meanwhile, following skidoo's advice, I have changed iconset using lxappearance but ROX file manager refuses to accept new iconset, while other file managers changed without problems. How can I force ROX file manager to accept new iconset?


Attachments:
TaskbarFixed.png
TaskbarFixed.png [ 15.93 KiB | Viewed 387 times ]
Themes-thumb.jpg
Themes-thumb.jpg [ 109.38 KiB | Viewed 387 times ]
Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Thu Jan 05, 2017 10:55 am 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1106
If a rox-filer icon exists on your desktop, can right-click that icon,
or within the rox-filer window, right-clicking while pointing at a blank spot opens contextmenu --} Options

Image


Top
 Profile  
 
 Post subject: Re: IceWM changing colors in system tray, frame around GTK a
PostPosted: Thu Jan 05, 2017 11:06 am 
Offline
User avatar

Joined: Mon Dec 26, 2016 7:12 pm
Posts: 74
Location: Latvia
Thank you!
I need to be more attentive...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
suspicion-preferred