LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2005, 06:46 AM   #1
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Rep: Reputation: 15
Question setting a default icon theme (gnome+fluxbox) [solved]


is it somehow possible to 'autoload' my gnome-theme-settings when I fire up my fluxbox ?

Currently, I have to open the gnome-control-center, and just click on the theme I want under the themes-setting. Then Nautilus and all other affected apps look nice again, but obviously it sucks having to do this after each and every login.

I am running a 'minimal' ubuntu setup, and have so far used fluxbox as a windowmanager.
Only recently did I install gnome, mainly because I wanted to try out nautilus, but I don't want to run metacity.

ThanX for any help

Last edited by hungrigerhaifisch; 11-09-2005 at 02:44 PM.
 
Old 09-03-2005, 06:51 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
You can use an app like gtk-chtheme to change your GTK theme in fluxbox. That'll stick after you logout and reboot but it won't affect your icons or anything else. That'll all I use, works great. To get everything to carry across, add this line in your .xinitrc:
Code:
gnome-settings-daemon &
If it's not in your $PATH for whatever reason, just use the absolute path to the executable
 
Old 09-03-2005, 11:11 AM   #3
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 15
Question nearly there...

ThanX for the fast reply!

I tried what you suggested. i installed gtk-theme-switch because I couldn't find a debian package of gtk-chtheme and the source wouldn't build.
As you said, the gtk-theme now 'sticks' after reboot, but the icon-theme does not
I don't seem to have a .xinitrc file, but I created one with just the one line in it, but to no effect. I still have to fire up gnome-controll-center (which then presuemabley calls the gnome-settings-daemon... )

Any Ideas?
 
Old 09-03-2005, 11:18 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Well it's probably different in Debian. ~/.Xsession maybe? Whatever file gets run when the X server starts up, or you could add an entry into ~/.fluxbox/apps, just put this on a new line.
Code:
[startup] {/path/to/gnome-settings-daemon}
 
Old 09-05-2005, 01:15 PM   #5
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 15
Question still no luck

sadly I also don't have a .Xsession file in my home directory. Is there a file which globally sets settings for X, maybe in /etc/X11 or so?

I also could't find this "apps" file in the .fluxbox directory. I went ahead and created one though, but to no effect.
I looked in "init" and found that the path to my "apps" file is /home/myusername/.fluxbox , so in theory fluxbox should read my "apps" file. Does this file require a certain structure? Currently it consists only of the line you posted.

ThanX for any help

!!Update!!

I've found a new workaround. I added the "gnome-theme-manager" command to the "apps" file, which causes the theme manager to show up when I log in. All I need to do is exit it, and all my icons are in place.
But come on, this is Linux, there must be a better, simpler way?!?!

Does anyone know, what exactly the "gnome-theme-manager" does when it starts up. It must call some daemon or something?

ThanX

Last edited by hungrigerhaifisch; 09-05-2005 at 01:31 PM.
 
Old 09-06-2005, 02:10 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
Does anyone know, what exactly the "gnome-theme-manager" does when it starts up. It must call some daemon or something?
Yeah, it does... gnome-settings-daemon. Open up floxbox and don't launch the theme manager. Crack open a console and launch the settingsdaemon from there. What effect does that have? There is an easy way to fix this, I used to for like 6 months before I removed GNOME for a lighter environment.
 
Old 09-07-2005, 01:31 PM   #7
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 15
Talking Success!

ok today I finally restarted my xsession (didn't want to kill the donkey...) and gues what YOU,
cs-cam, were right! ThanX for that!

After closely looking at the apps-file I created, I realised that I had put /lib/control-center/something as a path. where as, at least using Ubuntu, the path to the gnome-settings-daemon should of course be /usr/lib/and so on!

Stupid little me

Well, consider this issue finished with and thanX again.

P.S

As I mentioned earlyer, I haven't until recently installed gnome, as I too wanted a lighter environment. However, I have found to many trivial things just too time consuming, thats why I opted for a more 'complete desktop experience'

"From each according to his ability, to each according to his needs!"
 
Old 09-12-2005, 05:39 PM   #8
fscp
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
i put a script(that call the gnome-settings-deamon) in a bin path then i add a new link to this to the autostart menu in kde and it works
thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change default icon size in GNOME? Mateo1041 Linux - Newbie 7 08-07-2010 11:13 AM
Default Gnome doesnt have Apace or Shorewall icon... normal? flecksia Linux - Software 2 03-27-2005 01:37 AM
garnome 2.8 install gnome-icon-theme error XsuX Linux - Software 1 10-25-2004 11:16 PM
Changing icon theme in gnome reesee Linux - Newbie 2 03-29-2004 11:05 PM
Default folder icon on Gnome mrozkan Linux - General 0 07-14-2003 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration