You are not logged in.

#1 2009-03-12 05:46:49

masterxellos
Member
Registered: 2009-03-04
Posts: 17

Openbox configuration Tips

Good Evening everyone,

I'm working on customizing my Openbox setup (first time! big_smile) and I was hoping I could get a few tips on where to go to learn more about how to customize the setup. So far I have Obconf, Obmenu, and Obkey fairly down pat, but the problem is I don't know of many places to look for themes, and I haven't been able to find ANY icon sets for something like thunar so I have a lot of missing icon pictures floating about. Mouse icon packs would be great as well.

Basically, I see all the awesome openbox screenshots around and I really don't have much of an idea of how people got their setups to that point. So any tips and pointers on how to get a nice setup going would be appreciated. Also, a good terminal emulator and how to configure it would be VERY much appreciated. XTerm is starting to hurt my eyes.

Offline

#2 2009-03-12 05:52:33

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Openbox configuration Tips

you can find a lot of themes at box-look.org

I personally have a very bare OB setup. No panel. Just a tray (stalonetray) for pidgin and skype to rest in. OB Onyx theme, with a nice Arch wallpaper. urxvt as my terminal with a few settings in .Xdefaults for transparency(pseudo). Not too fancy.

I  have never used obkey -- wasnt there- or maybe i didnt know of it when I started using openbox. I do have obconf and obmenu installed. But I have never used obmenu. I just manually edit it with vi. Infact, that reminds me, I will get rid of obmenu completely. It screws up the well formedness of the menu.xml.

Its been quite a while that I haven't even updated my menu.xml. Everytime I install an app, I simply give it a shortcut key - with the keybindings. SO I dont use the right click menu much anyway.

That's also a reason why I have started using dwm much more than openbox recently. No mouse..well almost ! smile

Last edited by Inxsible (2009-03-12 05:59:12)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-03-12 06:05:13

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Openbox configuration Tips

As mentioned, box-look.org have all the ob themes. Also you can often find them together with some nice gtk2 themes. For wallpapers take a look at deviantart.
For apps you should use:

obconf: to change ob theme.
oboinus: To change wallpaper
lxappearance: to change icons and gtk.

Offline

#4 2009-03-12 07:33:15

masterxellos
Member
Registered: 2009-03-04
Posts: 17

Re: Openbox configuration Tips

Biggest issue I've stumbled on so far is the Icons, are they included in the theme packs or what? What's the deal with those and if they aren't in the themes, where can I find them? I tried urxvt out, but the text was WAY too small for me to realistically use it and I couldn't really find any config options for it... tips with that would be great and the icons.

Offline

#5 2009-03-12 08:42:38

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Openbox configuration Tips

gnome-look.org has the most icon themes, download and extract them to ~/.icons then change the icon theme with lxappearance.

for urxvt font size and color settings are stored in ~/.Xdefaults i would get the terminus font from aur to use with it.
there are alot of .Xdefaults posted in the screenshot thread you should look at and try some.

Offline

#6 2009-03-12 09:27:54

masterxellos
Member
Registered: 2009-03-04
Posts: 17

Re: Openbox configuration Tips

Ah thanks for the info. I wasn't aware that urxvt was configured through there and not the application itself like gnome-terminal or the xfce-terminal. I'll start experimenting with it in a bit. Gnome-look seems solid for icons so I'll start browsing through those.

Offline

#7 2009-03-12 13:14:34

japetto
Member
From: Chicago, IL US
Registered: 2006-07-02
Posts: 183

Re: Openbox configuration Tips

I have not seen it mentioned yet, but have you checked out the wiki page for OB yet?

http://wiki.archlinux.org/index.php/Openbox

Offline

#8 2009-03-12 16:31:04

masterxellos
Member
Registered: 2009-03-04
Posts: 17

Re: Openbox configuration Tips

Yeah I looked at the openbox entry in the wiki. Installing it, playing with the menus and such isn't what the big problem was. Finding a good terminal emulator was a big one, as well as where to get icons which isn't in the wiki. Quick question about rxvt, is there any way to get copy/past functionality in it?

Offline

#9 2009-03-12 16:32:48

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Openbox configuration Tips

masterxellos wrote:

Yeah I looked at the openbox entry in the wiki. Installing it, playing with the menus and such isn't what the big problem was. Finding a good terminal emulator was a big one, as well as where to get icons which isn't in the wiki. Quick question about rxvt, is there any way to get copy/past functionality in it?

There is copy paste functionality in it. Ctrl + Shift + C copies and middle click pastes


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2009-03-12 16:41:35

josedb
Member
From: Wawanco
Registered: 2009-03-10
Posts: 31

Re: Openbox configuration Tips

is this autostart fine? i need to start cairo-dock after everything

#!/bin/bash
xcompmgr &
gnome-settings-daemon 
nvidia-settings -l&
nvidia-settings -a InitialPixmapPlacement=2&
gsynaptics-init&

if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi

export OOO_FORCE_DESKTOP="gnome"
thunar --daemon &
conky &
battery_warning.sh&
gnome-mount&
gnome-volume-manager&
pypanel &
sleep 3 && wicd-client &
sleep 5 && tilda &
sleep 11 && cairo-dock&

Offline

#11 2009-03-12 16:43:46

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Openbox configuration Tips

The official openbox website is supreme for information on any and every subject related to it:

http://icculus.org/openbox/index.php/Main_Page

Offline

#12 2009-03-12 20:55:32

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: Openbox configuration Tips

masterxellos wrote:

...I haven't been able to find ANY icon sets for something like thunar so I have a lot of missing icon pictures floating about.

The extensive Tango icon set is easily available via pacman (tango-icon-theme and tango-icon-theme-extras).
Activate it in your ~/.gtkrc-2.0 file, as in:

gtk-theme-name="Exupery"
gtk-icon-theme-name="Tango"
masterxellos wrote:

Mouse icon packs would be great as well.

There are a bunch of cursor themes available via pacman. Do a search with pacman -Ss cursor, then activate the theme in your ~/.Xdefaults file, as in:

Xcursor.theme: Vanilla-DMZ
masterxellos wrote:

XTerm is starting to hurt my eyes.

Change the background and other colors and use a nicer font (pacman -S terminus-font), as in:

~/.Xdefaults

xterm*geometry:           80x25
xterm*faceName:           terminusbold:pixelsize=14
xterm*dynamicColors:      true
xterm*utf8:               2
xterm*eightBitInput:      true
xterm*saveLines:          512
xterm*scrollTtyKeypress:  true
xterm*scrollTtyOutput:    false
#xterm*scrollBar:          true
#xterm*rightScrollBar:     true
xterm*loginShell:         true
xterm*jumpScroll:         true
xterm*multiScroll:        true
xterm*toolBar:            false


! tangoesque scheme
*background: #111111
*foreground: #babdb6
! Black (not tango) + DarkGrey
*color0:  #000000
*color8:  #555753
! DarkRed + Red
*color1:  #ff6565
*color9:  #ff8d8d
! DarkGreen + Green
*color2:  #93d44f
*color10: #c8e7a8
! DarkYellow + Yellow
*color3:  #eab93d
*color11: #ffc123
! DarkBlue + Blue
*color4:  #204a87
*color12: #3465a4
! DarkMangenta + Mangenta
*color5:  #ce5c00
*color13: #f57900
!DarkCyan + Cyan
*color6:  #89b6e2
*color14: #46a4ff
! LightGrey + White
*color7:  #cccccc
*color15: #ffffff

Bob

Offline

#13 2009-03-12 20:59:17

thisllub
Member
From: Northern NSW Australia
Registered: 2007-12-28
Posts: 231

Re: Openbox configuration Tips

Inxsible wrote:

you can find a lot of themes at box-look.org

I personally have a very bare OB setup. No panel. Just a tray (stalonetray) for pidgin and skype to rest in. OB Onyx theme, with a nice Arch wallpaper. urxvt as my terminal with a few settings in .Xdefaults for transparency(pseudo). Not too fancy.

I  have never used obkey -- wasnt there- or maybe i didnt know of it when I started using openbox. I do have obconf and obmenu installed. But I have never used obmenu. I just manually edit it with vi. Infact, that reminds me, I will get rid of obmenu completely. It screws up the well formedness of the menu.xml.

Its been quite a while that I haven't even updated my menu.xml. Everytime I install an app, I simply give it a shortcut key - with the keybindings. SO I dont use the right click menu much anyway.

That's also a reason why I have started using dwm much more than openbox recently. No mouse..well almost ! smile

If you use gmrun there is really no need for a menu.

You just need a few shortcuts in rc.xml for moving stuff around.

I use the following because z is right above the meta-key.

    <keybind key="W-z">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <execute>gmrun</execute>
        </startupnotify>
        <command>gmrun</command>
      </action>
    </keybind>

The default for this is Meta-A but I prefer this mapping.
No panels required.

    
    <keybind key="C-Menu">
      <action name="ShowMenu">
        <menu>client-list-combined-menu</menu>
      </action>
    </keybind>

I find these three (and a number of similar  ones) enable me to do away with a mouse entirely

   
 <keybind key="W-w">
      <action name="MoveResizeTo">
        <monitor>1</monitor>
        <height>1000</height>
        <width>1200</width>
        <x>+0</x>
        <y>+0</y>
      </action>
    </keybind>
    <keybind key="W-e">
      <action name="MoveResizeTo">
        <monitor>1</monitor>
        <height>1000</height>
        <width>1600</width>
        <x>-0</x>
        <y>+0</y>
      </action>
    </keybind>
    <keybind key="W-u">
      <action name="MoveResizeTo">
        <monitor>2</monitor>
        <height>1000</height>
        <width>1200</width>
        <x>-0</x>
        <y>+0</y>
      </action>
    </keybind>

Last edited by thisllub (2009-03-12 21:00:55)

Offline

#14 2009-03-13 09:56:51

Hiz
Member
Registered: 2008-11-04
Posts: 40

Re: Openbox configuration Tips

long time. I had looking for it and I was too lazy...
*Window maximize Horizonaly & Vert & full

~/.config/openbox/rc.xml

     <keybind key="W-m">
       <action name="ToggleMaximizeFull"/>
     </keybind>
     <keybind key="W-v">
       <action name="ToggleMaximizeVert"/>
     </keybind>
     <keybind key="W-h">
       <action name="ToggleMaximizeHorz"/>
     </keybind>

* No decoration for urxvt in  <applications>

   <!-- urxvt does get decorations though. 
        calender app, see http://www.xfce.org/projects/orage/ --> 
   <application name="urxvt"> 
     <decor>no</decor>
   </application>

Offline

#15 2009-03-13 13:51:32

celettu
Member
Registered: 2007-12-01
Posts: 143
Website

Re: Openbox configuration Tips

Openbox Guide.

Made my first steps with Openbox very easy.


Keep it Simple, Sexy

Offline

#16 2009-03-13 14:06:50

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Openbox configuration Tips

thisllub wrote:

... lots of keybindings for moving windows around...

have you had a look at u_no_hu's Poor man's Tiling Window manager?.  it's a python script that calls wmctrl and xdotools to move window saround.

i love it, let's you keep openbox just as is but define some keycombos to auto tile/move/swap/cycle windows.  very slick.

> cat .config/openbox/rc.xml | grep -A 25 poor\ man
    <!-- Keybindings for poor man's tiling -->
    <keybind key="W-t">
      <action name="Execute">
        <execute>python /home/patrick/.bin/manage.py simple</execute>
      </action>
    </keybind>
    <keybind key="W-s">
      <action name="Execute">
        <execute>python /home/patrick/.bin/manage.py swap</execute>
      </action>
    </keybind>
    <keybind key="W-Tab">
      <action name="Execute">
        <execute>python /home/patrick/.bin/manage.py cycle</execute>
      </action>
    </keybind>
    <keybind key="W-Left">
      <action name="Execute">
        <execute>python /home/patrick/.bin/manage.py left</execute>
      </action>
    </keybind>
    <keybind key="W-Right">
      <action name="Execute">
        <execute>python /home/patrick/.bin/manage.py right</execute>
      </action>
    </keybind>

Offline

#17 2009-03-19 18:31:03

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Openbox configuration Tips

Inxsible wrote:
masterxellos wrote:

Yeah I looked at the openbox entry in the wiki. Installing it, playing with the menus and such isn't what the big problem was. Finding a good terminal emulator was a big one, as well as where to get icons which isn't in the wiki. Quick question about rxvt, is there any way to get copy/past functionality in it?

There is copy paste functionality in it. Ctrl + Shift + C copies and middle click pastes

<Shift><Instert> also pastes via the keyboard.   The nice thing (and sometimes not so nice thing) about both this and the middle click is that it will paste what was last hilighted.  FYI.


Knute

Offline

#18 2014-05-22 09:51:49

matebarny
Member
Registered: 2014-05-21
Posts: 2

Re: Openbox configuration Tips

Hi there, very nice post.
I'd like to say that linux is rocks, I've used a couple of distros and liked most Debian and Arch which are respectively my main and secondary os, with Openbox as wm on both since it is so light, fast and easy to use, the best wm I've seen so far.
The only thing that, in my opinion, could be better in Openbox is the windows switching, key binds are just great but, since I use to have many windows open on 4 or 5 workspaces, I think it would be nice if the Alt-Tab dialog had mouse support and the combine-clients-menu could do more than just focus one windows at the time.
I'm trying to achieve this by binding mouse buttons, my touchpad supports up to 12, to a simple bash script that emulate keystrokes with xte but it doesn't work.
I don't know if OB doesn't allow fake key as key bind, I read that xterm  doesn't so maybe it is something similar, or maybe bash scripting isn't enough.
Please let me know what you think about it and if you know a better way of pimping OB with simple scripts.
Thanks, bye

Offline

#19 2014-05-22 12:04:07

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Openbox configuration Tips

You shouldn't necrobump old threads as it's forbidden in forum rules: https://wiki.archlinux.org/index.php/Fo … Bumping.22

for your question, from openbox documentation:

You can also use Mod1 through Mod5 as the modifiers to directly select a modifier mask (e.g. Mod1 to select Mod1Mask), but this is for advanced users who have customized their modifier mapping with xmodmap.

Offline

#20 2014-05-22 14:20:20

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Openbox configuration Tips

matebarny, read the forum rules. As mentioned, do not necrobump threads.

Closing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB