PDA

View Full Version : LXAppearance - New GTK+ Theme Switcher



PCMan
March 29th, 2008, 04:33 AM
LXAppearance - Feature-rich and desktop-independent GTK+ theme switcher.

Project page:http://www.gnomefiles.org/app.php/LXAppearance
http://lxde.sourceforge.net/

Please see the screenshot. If you don't use gnome or xfce, this is a must-have for you.

http://lxde.sourceforge.net/screenshots/lxappearance.png

With this handy tool, the users can:

1. Choose their favorite gtk+ theme
2. Choose their favorite icon theme
3. Install new icon theme
4. Choose their favorite font
5. Choose toolbar style

All changes done by the users can be seen immediately in the preview area. After clicking "Apply" button, the settings will be automatically written to gtkrc, and all existing programs will be asked to reload their themes.

LXAppearance is a new GTK+ theme switcher originally developed for project LXDE (http://lxde.sourceforge.net/), but it's totally desktop-independent and requires GTK+ only.

SunnyRabbiera
March 29th, 2008, 04:42 AM
I have seen this around, seems interesting.

dashnak
March 29th, 2008, 05:25 AM
I've installed it, since I'm using now lxpanel, pcmanfm, lxsession and openbox...
This doesn't really work, but looks promising...

PCMan
March 29th, 2008, 05:32 AM
I've installed it, since I'm using now lxpanel, pcmanfm, lxsession and openbox...
This doesn't really work, but looks promising...
Which part of this program doesn't work?
Run it from console and see if there is any error message, please.
It did work on my box.

chris4585
March 29th, 2008, 06:49 AM
it didnt work under gnome, but it worked under lxde session as far as i know

PCMan
March 29th, 2008, 07:49 AM
it didnt work under gnome, but it worked under lxde session as far as i know
Then that means, it works well.
Gnome and XFCE use their Xsettings daemon, so GTK+ ignores gtkrc. Other desktop environments don't have settings daemon, so gtkrc is used. LXAppearance works like a charm under other desktop environments.

urukrama
March 29th, 2008, 11:46 AM
It works fine on this computer, but I get the following error message in the terminal:


The program 'lxappearance' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 19549 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)


I've also written about this application on my blog (http://urukrama.wordpress.com/). Thank you very much for this application. It is great.

spupy
March 29th, 2008, 02:39 PM
Thank you! I am generally very skeptical about this kind of programs, because they often lack much needed options. This program has them - font selection and toolbar style.

dashnak
March 29th, 2008, 08:43 PM
Which part of this program doesn't work?
Run it from console and see if there is any error message, please.
It did work on my box.


Oops, sorry... I forgot to unload gnome-settings-daemon from my lxsession, I'm an idiot...
It works great!! Thanks!!

boomtisk
March 29th, 2008, 10:12 PM
Is it possible to change the color of widgets and title bars with this like you can in more recent versions of GNOME? If yes, I might use this to replace the default Xubuntu GTK theme chooser.

webaake
April 4th, 2008, 11:29 AM
Works great! Thx!

timjohn7
April 4th, 2008, 12:19 PM
I am a newb and have installed LXDE. I now have PCMan under System Tools and GPicViewr under Graphics, but how do I change the Desktop to LXDE. I saw that in another post you say Select it from gdm, but I don't know where that is or how to do it.

Also, since installing last night, I have lost my Home Network connection (wireless from my laptop to my Desktop PC; wireless from laptop to my router is still fine). Could PCMan or LXDE have affected these settings? I've rebooted a couple of times, but no joy.

webaake
April 4th, 2008, 01:05 PM
In order to start an LXDE session you have to logout (no reboot), then choose from menu LXDE as session. When logging in again you'll get the question if you want to use this permantely or not. Just try it temporarily and see how it works. You can later on make LXDE the default session.

Sry, can't help you with the wireless.

timjohn7
April 4th, 2008, 02:18 PM
I've logged out, but the system returns to the login screen as per normal... no option to select LXDE. I also don't see any reference to LXDE in Startup Sessions or Current Sessions. Is it perhaps not installed correctly? In Synaptic, I have 4 LXDE modules installed.

dashnak
April 4th, 2008, 02:57 PM
When I installed it, LXDE never showed up by default in the session selector, I had to follow this:
http://www.gnomefiles.org/app.php/LXSession

webaake
April 4th, 2008, 03:43 PM
Yup, the above link should fix it!

Good luck!

herbster
April 4th, 2008, 06:31 PM
How can one get this program to sort themes alphabetically? I really like it, it's much more complete than gtk-chtheme.

dustigroove
May 30th, 2008, 07:09 AM
Nice little program, it does its job well without fluff and fuss.

(EDIT - the below repo is outdated, please see the updated entries a couple of posts down.)

Figured that I'd also note that they have a repo we can add:

deb http://people.linux.org.tw/~pcman/ubuntu/ ./Cheers,

eriqjaffe
May 30th, 2008, 03:18 PM
Nice little program, it does its job well without fluff and fuss.

Figured that I'd also note that they have a repo we can add:

deb http://people.linux.org.tw/~pcman/ubuntu/ ./Cheers,Heh. I just posted in another thread...that repo is out of date.

http://ubuntuforums.org/showthread.php?t=805334

dustigroove
May 30th, 2008, 04:13 PM
Here's the updated repo info to save clicks... :)


Hi all, we have new apt repository for LXDE now.
There is no update in my personal apt repository for quite a long time because I don't have ubuntu anymore. Ubuntu 8.04 performed poorly on my laptop, and there are a lot of unresolved problems, so I removed ubuntu, and switched to ArchLinux recently.
Fortunately, we found another package maintainer - michael r < michael.r@spamfreemail.de>. He built up a new repo on Launpad PPA of LXDE for us.

For Ubuntu 8.04 hardy


deb http://ppa.launchpad.net/lxde/ubuntu hardy main
deb-src http://ppa.launchpad.net/lxde/ubuntu hardy mainFor Ubuntu 7.10 gutsy


deb http://ppa.launchpad.net/lxde/ubuntu gutsy main
deb-src http://ppa.launchpad.net/lxde/ubuntu gutsy mainJust do this, and you'll get the latest LXDE (lightweight X11 desktop environment) for Hardy.

sudo apt-get update
sudo apt-get install lxdeFrom now on, our official ubuntu repo will be moved to Launchpad PPA service.
Currently, i386, amd64, and lpa packages of the latest LXDE are provided for Hardy. Please upgrade now!!

Alternatively, you can use the repository provided by Ubuntulite project.
This is a lightweight branch of Ubuntu. They switched to LXDE in Ubuntulite 0.8 release.

Cheers!!

eriqjaffe
June 3rd, 2008, 05:18 AM
Alright, I'm having some troubles with lxappearance:

http://img88.imageshack.us/img88/9471/48zu4.th.png (http://img88.imageshack.us/my.php?image=48zu4.png)

No matter what I do, the fonts are huge and the theme is stuck on Clearlooks. The really confusing thing is that I don't have lxappearance installed, yet it still runs:


eriq@eriq-desktop:~$ sudo apt-get remove lxappearance
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lxappearance is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
eriq@eriq-desktop:~$ lxappearance &
[1] 20212
eriq@eriq-desktop:~$
(lxappearance:20212): Gtk-WARNING **: Unable to locate theme engine in module_path: "rezlooks",

I'm able to use gtk-chtheme without issue (which is how I got the aeterna theme working in the first place), but that's not as feature-packed as lxappearance...does anybody have any idea what's going on with this?

dustigroove
June 4th, 2008, 12:25 AM
... The really confusing thing is that I don't have lxappearance installed, yet it still runs ...

Try a reinstall of LXappearance and then purge it. If that doesn't work you may have to hunt down the files/folders that are getting left behind and prune them manually.


sudo apt-get install lxappearance

sudo apt-get remove --purge lxappearanceCheers,

Mark76
June 23rd, 2008, 06:03 PM
I seem to be having the same problem with lxappearance. It was working fine and then it just stopped changing themes.

Incidentally, I can't do what Dustigroove suggested above as I installed it from a tarball.

eriqjaffe
June 24th, 2008, 05:58 AM
Try a reinstall of LXappearance and then purge it. If that doesn't work you may have to hunt down the files/folders that are getting left behind and prune them manually.


sudo apt-get install lxappearance

sudo apt-get remove --purge lxappearanceCheers,Sorry, forgot to report back.

It didn't help, the behavior persisted. I actually went ahead and transitioned from my Wubi install to a dedicated install from the ground up (although I transferred my /home directory to a new partition and kept it). LXAppearance has worked fine on the new setup so far.

nami
November 2nd, 2008, 04:41 PM
How do I add more themes to LXAppearance or how do I remove themes from LXAppearance?

SomeGuyDude
November 2nd, 2008, 06:52 PM
How do I add more themes to LXAppearance or how do I remove themes from LXAppearance?

Well you can either put the folder in /usr/share/themes or ~/.themes, or you can just have the .tar.gz somewhere and hit "install" in LXAppearance itself.

This thing's great, by the way, since it lets you preview things without starting/restarting X and unlike gtk-chtheme it doesn't pull my icon theme out of my .gtkrc file. Every time I switched through gtk-chtheme I had to open the damn rc file and put my icon theme back in there.

RiceMonster
November 2nd, 2008, 07:15 PM
Using this with openbox is perfect. I love it.

Mark76
November 3rd, 2008, 12:00 AM
I like it too.

If it had a cursor theme changer option it'd be perfect. Especially as gcursor doesn't want to work for me

bzwl
June 30th, 2009, 04:53 AM
After clicking "Apply" button, the settings will be automatically written to gtkrc,

which and where is the "gtkrc"? I can't find it

Mark76
June 30th, 2009, 07:08 AM
It's a hidden file in your home folder. Just click on View on the menu bar and then on show hidden files

bzwl
June 30th, 2009, 09:23 AM
It's a hidden file in your home folder. Just click on View on the menu bar and then on show hidden files

Thx very much!
There is a ".gtkrc-2.0" in my home folder, but after clicking "Apply" button, the file doesn't change!
Then I delete the ".gtkrc-2.0", and after clicking "Apply" button, there is no such file at all!
I remembered that this file was generated by "gtk-chtheme" (I installed it before),
Is there any conflict between "gtk-chtheme" and "lxappearance"???

Mark76
June 30th, 2009, 10:21 AM
Uninstall gtk-chtheme.

You don't need them both

bzwl
July 1st, 2009, 03:31 AM
yes, I uninstalled it, but there is a new problem.

when I choose the default gnome desktop, the ".gtkrc-2.0" can be automatically generated and changed by "lxappearance", but the windows can't reload the new theme after clicking "Apply" button.

when I choose the LXDE, the situation goes opposite, the windows can reload the new theme but the ".gtkrc-2.0" can not be generated or changed...

bzwl
July 1st, 2009, 10:10 AM
HaHa, I find out the file!!!

It is ~/.config/lxde/config, it change automatically after switching a theme, it's the file I want!

I am so happy! Thanks Mark76 for replying! :p

Mark76
July 1st, 2009, 10:41 AM
Yes. I thought it might be either hidden in a subfolder or called something different. Or, in this case, both.

HandyAndy
November 27th, 2009, 01:14 AM
I'm running Ubuntu 9.10 and Fluxbox 1.1.1. I can't get LXAppearance to change my icon theme. It lists my installed icon themes, but clicking on them does nothing. Previewing and changing themes works fine.
I've uninstalled gtk-chtheme, deleted gtkrc-2.0 and stopped the gnome-settings-daemon in case they were interfering with it in some way, but to no avail.
Any ideas?

Ernie S.
April 28th, 2010, 07:06 PM
-deleted-