gstyle is a full gnome theme manager this software try to concentrate every possibles themes types in one main window with easy install of new themes form gnome-look, deviantart, customize.org... or by direct download from the software.
Install gstyle in ubuntu 10.04/9.10
Open the terminal and run the following commands
sudo add-apt-repository ppa:s-lagui
sudo apt-get update
sudo apt-get install gstyle
Hi,
I just installed it but when I try to open it, it just sits there for a second, trys to open then stops. Any tips? I’m using Ubuntu 10.4 by the way.
Dosent start 🙂
~$ gstyle
Gstyle Config ok
start icons scan
start emerald scan
start metacity scan
start mouse scan
start gtk scan
start wallpapers scan
start cubemodels scan
img is not a valid cubemodel theme
start fullpacks scan
img is not a valid fullpack theme
/usr/share/gstyle/gui/main.py:36: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
self.wTree = gtk.glade.XML(GLADE_FILE, None ,config.APP_NAME)
/usr/share/gstyle/gui/main.py:36: GtkWarning: gtk_radio_button_set_group: assertion `!g_slist_find (group, radio_button)’ failed
self.wTree = gtk.glade.XML(GLADE_FILE, None ,config.APP_NAME)
Traceback (most recent call last):
File “gstyle.py”, line 54, in
Gstyle()
File “gstyle.py”, line 48, in __init__
self.gtk_gui.initialisation_gui(self)
File “/usr/share/gstyle/gui/main.py”, line 38, in initialisation_gui
self.icon_obj = IconGui(self.wTree,self.gstyle_obj.icon_dict)
File “/usr/share/gstyle/gui/icon.py”, line 75, in __init__
self.check_gconf_options()
File “/usr/share/gstyle/gui/icon.py”, line 208, in check_gconf_options
menuicon = self.gclient.get_string(“/desktop/gnome/interface/menus_have_icons”)
glib.GError: Type mismatch: Expected `string’ got `bool’ for key /desktop/gnome/interface/menus_have_icons
Still needs some work…
You simply change line 208 and 209 with get_bool instead get_string:
menuicon = self.gclient.get_string(“/desktop/gnome/interface/menus_have_icons”)
btnicon = self.gclient.get_string(“/desktop/gnome/interface/buttons_have_icons”)
to:
menuicon = self.gclient.get_bool(“/desktop/gnome/interface/menus_have_icons”)
btnicon = self.gclient.get_bool(“/desktop/gnome/interface/buttons_have_icons”)
it’s work!
fail T_T
“guido says: You simply change line 208 and 209 with get_bool instead get_string:”
Where do i find that?
in your error message:
File “/usr/share/gstyle/gui/icon.py”, line 208, in check_gconf_options
menuicon = self.gclient.get_string(“/desktop/gnome/interface/menus_have_icons”)
glib.GError: Type mismatch: Expected `string’ got `bool’ for key /desktop/gnome/interface/menus_have_icons
so the file is:
/usr/share/gstyle/gui/icon.py
you can open terminal and write:
sudo gedit /usr/share/gstyle/gui/icon.py
go on the line 208 and 209 and change the lines:
menuicon = self.gclient.get_string(“/desktop/gnome/interface/menus_have_icons”)
btnicon = self.gclient.get_string(“/desktop/gnome/interface/buttons_have_icons”)
with:
menuicon = self.gclient.get_bool(“/desktop/gnome/interface/menus_have_icons”)
btnicon = self.gclient.get_bool(“/desktop/gnome/interface/buttons_have_icons”)
save and exit file.
works?
No 🙁
It just start like its trying to work – and then goes away.
The fix from Guido does permit it to start, but is it safe to use a program that needs such a fix?
Jonas – you’re spot on. I installed it on my Ubuntu 10.04 machine, and made the correction to the code as suggested by guido (which did allow it to run).
After running it once and then rebooting, I started getting ICE_Authority errors when GDM was starting to load. I’m working on fixing that now.
I highly recommend people NOT install this, at least not on 10.04.
I tried Guido’s fix. now I get:
Traceback (most recent call last):
File “gstyle.py”, line 3, in
from gui.main import MainWindow
File “/usr/share/gstyle/gui/main.py”, line 17, in
from icon import IconGui
File “/usr/share/gstyle/gui/icon.py”, line 208
menuicon = self.gclient.get_bool(“/desktop/gnome/interface/menus_have_icons”)
What next?
I think that if this program doesn’t even start, then it is not ready to be used.
I’ll leave it installed for a while, maybe an update in the ppa repository will fix it. It’s just disk space. No biggy.
I think the add repository command is wrong, it should be “sudo add-apt-repository ppa:s-lagui” instead of “sudo apt-add-repository ppa:s-lagui”
I updated it and now it works 🙂
It, however, is NOT netbook friendly. It can’t be resized or moved (under Maximus), thus leaving the Download button completely inaccessible.
I have updated the article
Yes, it is working after this morning’s updates.
hi
I m the gstyle’s developper, sorry for this small bug 🙂 this is fixed now
Sean Tomlinson could you tell me or send a screenshot of your problem ? so i ll make gstyle smaller by default 😉
you could post here:
http://ubuntuforums.org/showthread.php?t=1389711&page=8
thx
++
Hey. I installed gstyle few days ago, i used some themes, but today when i wanted to change my gnome theme the desktop icon dissapeared. i tried to access it from terminal but no success. In Ubuntu Software Center i can see this error:
http://img52.imageshack.us/img52/2766/gstyle.png
hello
sorry znupii, i added a new install system and i had to redo the source package for the ppa…
everything’s fixed now with a nice update for gstyle, i now use dbus/policykit for the authentication system instead of sudo and i fixed some bugs too
just update the ppa 😉
++
i managed to make it work, after reading again this article.
Great job, smo !
Great job !
congratulations
hallo people – I am using lucid vanilla kernel and compiz 8*
when I launch, or rather when I try to launch gstyle I get:
Gstyle Config ok
start icons scan
start emerald scan
start metacity scan
start mouse scan
start gtk scan
start wallpapers scan
start cubemodels scan
start fullpacks scan
Current gtk theme: Shiki-Wine
can’t get wallpaper object for /home/lari/Pictures/Wallpaper/106592-1028_00ebf,1680×1050.jpg
Traceback (most recent call last):
File “gstyle.py”, line 53, in
Gstyle()
File “gstyle.py”, line 48, in __init__
self.gtk_gui.initialisation_gui(self)
File “/usr/share/pyshared/gstyle/gui/main.py”, line 57, in initialisation_gui
self.cubemodel_obj = CubemodelsGui(self.wTree,self.gstyle_obj.cubemodels_dict)
File “/usr/share/pyshared/gstyle/gui/cubemodels.py”, line 103, in __init__
self.check_conf()
File “/usr/share/pyshared/gstyle/gui/cubemodels.py”, line 276, in check_conf
self.cubemodels_dict.check_plugins()
File “/usr/share/pyshared/gstyle/lib/cubemodels.py”, line 100, in check_plugins
compiz_ini.readfp(open(compiz_config))
IOError: [Errno 2] No such file or directory: ‘/home/lari/.config/compiz/compizconfig/Default.ini’
If anyone can help me, I would be well grateful. Thanks!
Typical! Post a question, then have a brainwave immediately afterwards that actually works!
I went into home/me/.config/compiz/compizconfig and copied the config file and pasted it in the same directory. I then renamed this copy Default.ini.
tried gstyle on the command line again and hey presto, it works!
Epic fail. Fails to run after installed from PPA. Fails to run after install from git.
Gstyle Config ok
start icons scan
start emerald scan
start metacity scan
start mouse scan
start gtk scan
Traceback (most recent call last):
File “gstyle.py”, line 54, in
Gstyle()
File “gstyle.py”, line 37, in __init__
self.wallpapers_dict = WallPaperDict()
File “/home/mint/gstyle/src/lib/wallpapers.py”, line 58, in __init__
self.scan_system()
File “/home/mint/gstyle/src/lib/wallpapers.py”, line 93, in scan_system
wallpapers_global.update(gstyle_wallpapers)
TypeError: ‘NoneType’ object is not iterable
This is the kind of project that gives linux a bad name when people say “edit line 209 and 209”. Please ensure your software umm WORKS before you push it live.
I hate to play devil’s advocate (and I also hate windows) but imagine telling a windows user to “edit line 208 and 209” of an exe file. hahaha yeah you guys fail HARD.
hi
i m gstyle’s dev… i know i need to work again on this project but your comment is…. no comments
we ll try to work a little to fix some problems we have on the latests ubuntu’s releases (maybe 1 year i havn t coded on gstyle ^^)
thanks anyway for the return…
you re on maverick larryfrott? please
ok, the git seems just not up to date… or you must be on lucid or before, this bug is already fixed…
i ll make new package asap..
++
Yes the previous error was from lucid. However even in Maverick Gstyle fails as spectacularly to launch:
mint@mint ~ $ gstyle
Gstyle Config ok
start icons scan
start emerald scan
start metacity scan
start mouse scan
Converting cursor…
##################################################
Conversion successfully done!(3 images were output.)
Converting cursor…
##################################################
Conversion successfully done!(3 images were output.)
Converting cursor…
##################################################
Conversion successfully done!(3 images were output.)
Converting cursor…
##################################################
Conversion successfully done!(3 images were output.)
start gtk scan
Traceback (most recent call last):
File “gstyle.py”, line 53, in
Gstyle()
File “gstyle.py”, line 37, in __init__
self.wallpapers_dict = WallPaperDict()
File “/usr/share/pyshared/gstyle/lib/wallpapers.py”, line 58, in __init__
self.scan_system()
File “/usr/share/pyshared/gstyle/lib/wallpapers.py”, line 93, in scan_system
wallpapers_global.update(gstyle_wallpapers)
TypeError: ‘NoneType’ object is not iterable
(notice both Lucid and Maverick give “TypeError: ‘NoneType’ object is not iterable” regarding wallpapers)
I’m doing this in live CDs of linux mint. Essentially I just want to use Gstyle to snag the 3D models you have and then bring them over to my main Debian install (Gstyle fails to launch for me in Debian too, but ages ago I got it to launch form a Mint live CD)
Ahh yes, now I remember why I was using Mint live CDs… I can get Gstyle to RUN (hooray) in Debian. However even WITH compiz and cubemodel (and other experimental plugins installed) I get the following error (from inside the GStyle GUI):
“Page desactivated !
The cubemodel plugin and/or compiz are not installed, you can build it from Git sources or with the following script :
http://forum.ubuntu-fr.org/viewtopic.php?id=259077&p=1 ”
But I really do have compiz installed, I promise:
sudoku@amitabha ~/gstyle/src $ dpkg -l | grep compiz
ii compiz 0.8.4-4 OpenGL window and compositing manager
ii compiz-core 0.8.4-4 OpenGL window and compositing manager
ii compiz-fusion-plugins-extra 0.8.4-2 Compiz Fusion plugins – extra collection
ii compiz-fusion-plugins-main 0.8.4-2+b1 Compiz Fusion plugins – main collection
ii compiz-gnome 0.8.4-4 OpenGL window and compositing manager – GNOME window decorator
ii compiz-gtk 0.8.4-4 OpenGL window and compositing manager – Gtk window decorator
ii compiz-plugins 0.8.4-4 OpenGL window and compositing manager – plugins
ii compizconfig-backend-gconf 0.8.4-1 Compiz Fusion configuration system – gconf backend
ii compizconfig-settings-manager 0.8.4-2 Compizconfig Settings Manager
ii libcompizconfig0 0.8.4-2 Configuration settings library for compiz-fusion
ii python-compizconfig 0.8.4-2 Compizconfig bindings for python
I do put forth a crappy attitude when things frustrate me 🙂 no hard feelings, thanks for responding.. maybe between the two of us we can get this working on Debian, or at least find a way for me to download the cubemodels.