You are not logged in.
Pages: 1
We are near release of MX-16 with two default themes, light and dark. The icon for the two terminals is set to the default icon set, and that shows up correctly in Whisker (e.g., a red terminal for Root). But when launched, the Panel icon is just a very dark generic icon and nearly invisible in the dark theme.
I looked in the terminalrc file in /.config/terminal/ and consulted the hidden options doc http://docs.xfce.org/apps/terminal/advanced without success. Is even possible to change that icon?
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
Jerry,
In situations like this where I want to change the window buttons icon, I use xseticon (the first version, not the latest as I can't get the latest version to work properly, though I haven't tried in a while).
I create an executable file like /usr/local/bin/root_terminal with the following content:
#!/bin/bash
### EDIT THESE VALUES #########################################################
APP="/usr/bin/xfce4-terminal"
ICON="/usr/local/share/root-terminal.png" # icon file - only png supported
WAIT=1 # wait time - adjust until icon changes
###############################################################################
###############################################################################
### DON'T CHANGE ANYTHING BELOW
###############################################################################
function change-panel-icon {
sleep $WAIT
activeWinLine=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)")
activeWinId="${activeWinLine:40}"
xseticon -id "$activeWinId" "$ICON"
}
$APP & sleep $WAIT & change-panel-icon
The icon file needs to be a png file and is referenced in the first part of the script. I call the script via:
gksudo root_terminal
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks, ToZ. This has been busting my chops this morning!
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 524.2 KiB (Peak: 528.94 KiB) ]