You are not logged in.
Pages: 1
I installed Gnome a while ago, everything worked well. Then I decided to get into Openbox and the minimalistic setup.
I tried to set my wallpaper image through autostart.sh
autostart.sh:
#!/bin/bash
# Run the system-wide support stuff
. $GLOBALAUTOSTART
# Programs to launch at startup
feh --bg-scale /home/vg/Pictures/HD_Wall/1680x1050_HD_Wallpeper_154_Zixpk.jpg &
# Programs that will run after Openbox has started
(sleep 2 && tint -c /home/vg/Downloads/tint/tintrc1b) &
xcompmgr &
trayer --expand true --transparent true --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request &
feh --bg-scale /home/vg/Pictures/HD_Wall/1680x1050_HD_Wallpeper_154_Zixpk.jpg &
feh --bg-scale /home/vg/Pictures/HD_Wall/1680x1050_HD_Wallpeper_154_Zixpk.jpg &
But it won't set my wallpaper. It will set the correct wallpaper upon startup, but then after a second or two, the wallpaper changes to some random Gnome wallpaper (the green leaf one).
Why is this happening and how do I fix it?
Offline
If you can live without the gnome-settings-daemon it should be easy. Comment the lines for starting the daemon in /etc/xdg/openbox/autostart.sh. That's the global autostart file.
vanum est vobis ante lucem surgere
Offline
Must be nautilus kicking in I guess?
Why do you have the same command three times btw?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
If you can live without the gnome-settings-daemon it should be easy. Comment the lines for starting the daemon in /etc/xdg/openbox/autostart.sh. That's the global autostart file.
Hmm, I really need this: # Make GTK apps look and behave how they were set up in the gnome config tools
Or another way to imitate this feature. I need the right icon theme and gtk theme working.
Offline
Use lxappearance to set the gtk and icon themes.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Use lxappearance to set the gtk and icon themes.
How do I make the settings stay?
Offline
If you really want to continue using gnome-settings-daemon, open gconf-editor and set the following to no/false/uncheck :
/desktop/gnome/background/draw_background
/apps/gnome_settings_daemon/plugins/background/active
You can also disable these :
/apps/nautilus/preferences/background_set
/apps/nautilus/preferences/show_desktop
EDIT: This is what my ~/.gtkrc-2.0 looks like:
#gtk-theme-name = "MurrinaVerdeOlivo"
#gtk-theme-name = "MurrinaCappuccino"
gtk-theme-name = "MurrinaNeoGraphite"
#gtk-theme-name = "MurrinaEalm"
#gtk-theme-name = "Clearlooks"
style "user-font"
{
font_name="Bitstream Vera Sans 9"
}
widget_class "*" style "user-font"
gtk-icon-theme-name = "black-white_2-Neon"
#gtk-icon-theme-name = "Tango"
#gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-menu=16,16:\
#gtk-large-toolbar=24,24:gtk-small-toolbar=16,16:gtk-button=16,16"
gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-menu=16,16:\
gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:gtk-button=16,16"
You can try copying this, and editing the values. You don't need no lxappearance
If you do it this way, then don't start gnome-settings-daemon. I'd recommend this.
Oh, and you only need to write that feh command once in your autostart
Last edited by moljac024 (2009-01-16 01:19:44)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Use lxappearance to set the gtk and icon themes.
Or gtk-chtheme for the GTK+ themes. I just edit ~/.gtkrc-mine and drop the name of my icon theme in there.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
for the background you can simply use nitrogen and add nitrogen --restore to autostart.sh
Offline
"eval `cat $HOME/.fehbg`" is equivalent to "nitrogen --restore" for feh users.
i believe your line, ". $GLOBALAUTOSTART" is starting up some gnome related stuff that is taking over the background as mentioned above.
gtk-chtheme is what you want, also as mentioned above
i've been an openbox/feh user for a long time now and the first thing i did was comment out ". $GLOBALAUTOSTART"
//github/
Offline
gtk-chtheme seems pretty useless. All it does is change the widget theme, like switch2. How do i change the icon theme?
Offline
gtk-chtheme seems pretty useless. All it does is change the widget theme, like switch2. How do i change the icon theme?
extract your icons into to ~/.icons, then call them out in ~/.gtkrc.mine (if setup like mine) or ~./gtkrc-2.0 directly
> ls .icons/ALLBLACK/
18x18/ GPL index.theme scalable/ true-scalable/
> cat .gtkrc-2.0
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/home/patrick/.themes/Dyne/gtk-2.0/gtkrc"
include "/home/patrick/.gtkrc.mine"
# -- THEME AUTO-WRITTEN DO NOT EDIT
> cat .gtkrc.mine
# define gtk styles here
# gtkrc-2.0 points here
style "user-font"
{
font_name = "bauhaus 8"
}
widget_class "*" style "user-font"
gtk-font-name = "bauhaus 8"
gtk-icon-theme-name = "ALLBLACK"
#gtk-toolbar-style = GTK_TOOLBAR_ICONS
#gtk-toolbar-style = GTK_TOOLBAR_TEXT
gtk-toolbar-style = GTK_TOOLBAR_BOTH
#gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR
Last edited by brisbin33 (2009-01-19 23:10:46)
//github/
Offline
solarwind wrote:gtk-chtheme seems pretty useless. All it does is change the widget theme, like switch2. How do i change the icon theme?
extract your icons into to ~/.icons, then call them out in ~/.gtkrc.mine (if setup like mine) or ~./gtkrc-2.0 directly
> ls .icons/ALLBLACK/ 18x18/ GPL index.theme scalable/ true-scalable/ > cat .gtkrc-2.0 # -- THEME AUTO-WRITTEN DO NOT EDIT include "/home/patrick/.themes/Dyne/gtk-2.0/gtkrc" include "/home/patrick/.gtkrc.mine" # -- THEME AUTO-WRITTEN DO NOT EDIT > cat .gtkrc.mine # define gtk styles here # gtkrc-2.0 points here style "user-font" { font_name = "bauhaus 8" } widget_class "*" style "user-font" gtk-font-name = "bauhaus 8" gtk-icon-theme-name = "ALLBLACK" #gtk-toolbar-style = GTK_TOOLBAR_ICONS #gtk-toolbar-style = GTK_TOOLBAR_TEXT gtk-toolbar-style = GTK_TOOLBAR_BOTH #gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR
Thanks. I'll go for the config file route now, but wont end my quest to find a solid GUI tool. Maybe I'll modify obconf to include stuff like this. Doesn't look too hard.
Offline
You could also try LXappearance, which does change the icon theme.
Offline
Pages: 1