You are not logged in.
I'm using a dark theme and linelight-plugin icon is invisible on the dark panel.
I wonder how to change the icon to have a better contrast.
Any Idea?
Offline
According to the source (http://ftp.de.debian.org/debian/pool/ma … ig.tar.bz2), it appears to be hard-coded into the plugin. You'll have the change the info in linelight-ico.h and recompile. gdk-pixbuf-csource should help.
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 for reply!
But how to do that?
Offline
Which distro are you using?
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
Debian Wheezy
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686 GNU/Linux
Xfce 4.8
Offline
Hopefully you have experience compiling/debugging code. Also, I don't use Debian, so some of the instructions may need to be modified for that distro. In fact, this may not work at all for Debian. Here, however, are the instructions that worked for Arch Linux:
1. Using ~/Downloads as the source directory, get the source:
cd ~/Downloads
wget https://aur.archlinux.org/packages/xf/xfce4-linelight-plugin/xfce4-linelight-plugin.tar.gz
tar xzvf xfce4-linelight-plugin.tar.gz
2. Find/create a replacement icon. It must be 32x32. I used a png icon (grey-colored version of /usr/share/icons/hicolor/scalable/apps/xfce4-linelight-plugin.svg saved as myicon.png).
3. Create the new icon header file:
gdk-pixbuf-csource myicon.png > linelight-ico.h
4. copy the original file's (~/Downloads/xfce4-linelight-plugin-0.1.7/panel-plugin/linelight-ico.h) #ifdefs (lines 3-10) into your new linelight-ico.h, overwritting the existing lines
5. replace the source's ~/Downloads/xfce4-linelight-plugin-0.1.7/panel-plugin/linelight-ico.h file with your new file
6. From the source directory (~/Downloads):
wget http://lionel.lefolgoc.net/misc/01_port-to-xfcerc.patch
patch -p0 -i 01_port-to-xfcerc.patch
7. From the base directory of the plugin source (~/Downloads/xfce4-linelight-plugin-0.1.7):
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/ --localstatedir=/var --disable-static
make
sudo make install
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
Thank you!
Offline
[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 541.18 KiB (Peak: 542.46 KiB) ]