You are not logged in.
Its been around a year since I last used openbox, and i can really remember any of the configuration or where the files are situated.
I have searched the web and nearly every site is telling me different things, so i wanted to ask a few quick and easy (i hope) questions.
1) When i start openbox from my gdm, how can I point it to run my own startup script. E.g. like the fluxbox root command option. So i could add into the init file /home/crooksey/scripts/obstart, then that would run all of my startup options such as feh and conky.
2) How do i start xcompmgr with openbox to give me true transparent terminals, i have tried "xcompmgr -o 50" and such but cant get it working, if someone could post how they did it (and their .Xdefaults, so i can check its just not mine!) i would be gratefull.
Thanks.
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
Offline
Thanks, that solves question one
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
there shouldn't be any problem with xcompmgr - just put it in autostart.sh.
I use: "xcompmgr -cC -t-3 -l-5 -r5 -I0.3 -O0.03 -D2 -f &"
but something like "xcompmgr &" would be sufficient to have transparent terminals.
Offline
i use openbox with slim
so i just need to put everything i need to start in the .xinitrc file....
somthing like that
#scim -d
xfdesktop&
xfce4-panel&
#eval `cat ~/.fehbg` &
#lxpanel&
#exec openbox
hope it helps
Openbox now
Offline
I only get transparency to my desktop, could you post your .Xdefaults so i can test if its my system or my .Xdefaults?
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
My .Xdefaults (well, the relevant part anyways):
xft.dpi:: 96
xft.antialias:: true
xft.hinting:: true
xft.rgba:: rgbXcursor*theme:: neutral
!!Greenish theme
*color0:: #000000
*color8:: #666666
*color1:: #b45151
*color9:: #fe8686
*color2:: #8ba574
*color10:: #a5dca5
*color3:: Khaki3
*color11:: #efe58b
*color4:: #414171
*color12:: #86cdea
*color5:: #aa6eaf
*color13:: #b698b8
*color6:: #418179
*color14:: #71bebe
*color7:: #bebebe
*color15:: #ffffffurxvt*termName:: rxvt
urxvt*tintColor:: #ffffff
urxvt*depth:: 32
urxvt*background:: rgba:0000/0000/0000/bbbb
urxvt*foreground:: #eeeeee
urxvt*secondaryScroll:: true
urxvt*cursorColor:: #e6e6e5
urxvt*pointerColor:: #e6e6e5
urxvt*internalBorder:: 0
urxvt*loginShell:: true
urxvt*font:: -*-terminus-medium-*-normal-*-12-*-*-*-*-*-*-*
urxvt*boldFont:: -*-terminus-medium-*-normal-*-12-*-*-*-*-*-*-*
urxvt*italicFont:: -*-terminus-medium-*-normal-*-12-*-*-*-*-*-*-*
urxvt*boldItalicFont:: -*-terminus-medium-*-normal-*-12-*-*-*-*-*-*-*
urxvt*title:: urxvt
urxvt*utf8:: 0
urxvt*saveLines:: 32767
urxvt*scrollBar:: false
urxvt*scrollTtyOutput:: false
urxvt*scrollTtyKeypress:: true
urxvt*cursorBlink:: true
urxvt*geometry:: 110x35
urxvt*perl-lib:: /usr/lib/urxvt/perl/
urxvt*perl-ext-common:: default,matcher,searchable-scrollback
urxvt*urlLauncher:: /usr/bin/swiftweasel
urxvt*matcher.button:: 1
My autostart.sh:
#!/bin/bash
#xsetroot -solid black
nitrogen --restore# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
# Other appsexport OOO_FORCE_DESKTOP="gnome"
xcompmgr -cC -t-3 -l-5 -r5 -I0.3 -O0.03 -D2 -f &
xscreensaver&
trackerd&
thunar --daemon&
conky&
(sleep 2 && pypanel)&
(sleep 3 && xrdb ~/.Xdefaults)&
I hope this helps.
Offline
Could you post the whole .Xdefaults as that dosent load
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
Could you post the whole .Xdefaults as that dosent load
The problem is elsewhere, in that case, since I have just backed up my original .Xdefaults and copy and pasted what I posted here into a new .Xdefaults file and it loaded without problems.
What message do you get when it doesn't load?
Offline
crooksey >> 10:24 PM ~ $ urxvt
urxvt: perl extension ': default' not found in perl library search path
urxvt: unable to parse color ': #eeeeee', using pink instead.
urxvt: unable to parse color ': rgba:0000/0000/0000/bbbb', using pink instead.
urxvt: unable to parse color ': #000000', using pink instead.
urxvt: unable to parse color ': #b45151', using pink instead.
urxvt: unable to parse color ': #8ba574', using pink instead.
urxvt: unable to parse color ': Khaki3', using pink instead.
urxvt: unable to parse color ': #414171', using pink instead.
urxvt: unable to parse color ': #aa6eaf', using pink instead.
urxvt: unable to parse color ': #418179', using pink instead.
urxvt: unable to parse color ': #bebebe', using pink instead.
urxvt: unable to parse color ': #666666', using pink instead.
urxvt: unable to parse color ': #fe8686', using pink instead.
urxvt: unable to parse color ': #a5dca5', using pink instead.
urxvt: unable to parse color ': #efe58b', using pink instead.
urxvt: unable to parse color ': #86cdea', using pink instead.
urxvt: unable to parse color ': #b698b8', using pink instead.
urxvt: unable to parse color ': #71bebe', using pink instead.
urxvt: unable to parse color ': #ffffff', using pink instead.
urxvt: unable to parse color ': #e6e6e5', using pink instead.
urxvt: unable to parse color ': #e6e6e5', using pink instead.
urxvt: unable to parse color ': rgba:0000/0000/0000/bbbb', using pink instead.
urxvt: unable to parse color ': #ffffff', using pink instead.
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
Crooksey, all you need in the .Xdefaults for transparency in urxvt are the following two lines:
urxvt*depth: 32
urxvt*background: rgba:0000/0000/0000/bbbb
Note the single colons after each Xresource. I've had parse errors in the past when I used double colons.
thayer williams ~ cinderwick.ca
Offline
Yep, it's the double colons... I need them for some reason, but some users don't it seems.
Offline
Now its giving a font error, even though I have terminus installed and use it on other apps.
crooksey >> 11:18 PM ~ $ urxvt
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
make sure that the font that's defined in urxvt*font (and variants) is a font that exists in your system. Or just use something like
urxvt*font: xft:Monospace:pixelsize=10
and delete the other font references (boldFont, italicFont, and boldItalicFont).
Offline
Thanks, really appreciated
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
no problem...
btw, if you search these forums you'll find *lots* of urxvt/Xdefaults configs, some likely better than mine
Offline
Yea, I just wanted to test because mine wasnt working, its been re written now!
One more quick question, in my openbox menu I am trying to have single applications before my submenus of apps start, so something like:
Openbox
-----------
urxvt
firefox
-----------
applications >
media >
office>
-----------
obconf
exit
I just cant seem to add in the applications without them being in a sub menu, my menu.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<item label="rxvt-unicode">
<action name="Execute"><command>urxvt</command></action>
</item>
<separator />
<menu id="apps-menu" label="Internet">
........................
I cant get that app to show in my menu, any ideas?
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
Hrmm, here's a snippet of mine... the only real difference I see is that mine has a root menu at the top (that closes at the very bottom of the document):
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu>
<menu id="root-menu" label="OpenBox 3">
<separator label="Openbox" />
<item label="gvim"> <action name="Execute"> <execute>gvim</execute> </action> </item>
<item label="Shell"> <action name="Execute"> <execute>urxvt</execute> </action> </item>
<item label="Nautilus"> <action name="Execute"> <execute>nautilus</execute> </action> </item>
<separator />
<menu id="2" label="Editors">
...
...
</menu>
</menu>
</openbox_menu>
thayer williams ~ cinderwick.ca
Offline
Thanks, my root menu was at the bottom of my menu file. just moved my entires.
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline