Author Topic: add your favorite openbox customizing tips here  (Read 21011 times)

0 Members and 1 Guest are viewing this topic.

Offline runpc2deth

  • Held Mitglied
  • *****
  • Posts: 507
  • Branch: testing
  • Desktop: ManjaroBox
  • GPU Card: AMD A10-5800K - amd radeon hd 7660d
  • GPU driver: free or non free whatever is working :)
  • Kernel: Linux314-X64
  • Skill: Intermediate
add your favorite openbox customizing tips here
« on: 25. February 2014, 20:27:32 »
how do you like to customize your openbox after install? 

ill start this off with something that is a must for me and that is using shift key to select multiple files.

go to advanced settings -> openbox -> openbox rc

find this
<mousebind button="S-Left" action="Drag">

and replace it with this
<mousebind button="W-Left" action="Drag">


Offline natanvarga

  • Sr. Mitglied
  • ****
  • Posts: 437
  • Branch: unstable
  • Desktop: cinnamon
  • GPU Card: Intel Skylake integrated
  • GPU driver: free
  • Kernel: 4.4
  • Skill: Novice
Re: add your favorite openbox customizing tips here
« Reply #1 on: 26. February 2014, 00:36:46 »
Quite a lot of my customisation is just adopting what I've seen other people do so credit goes to them. Openbox rc changes:

W-l for leafpad
W-c for clementine
W-q for closing active window (since I don't use window decoration)
A-S-g for setxkbmap gb (English UK keyboard)
A-S-h for setxkbmap hu (Hungarian keyboard)
W-C-Left for moving window to the left side and resizing it to fill exactly half of the screen, sort of like in a tiling window manager
W-C-Right for the same thing on the right hand side
W-Up for maximising active window (again, because I have no window decoration)
mousebind button: W-Left for dragging windows

I've also changed my openbox menu so I only have the application categories and nothing like logout or terminal, etc. I have keybinds for all of them so I thought they were just useless. As I said, no window decoration, I find it quite pretty. The active window has a distinctive border colour so it's easy to find it.

That's pretty much it, I can't think of anything else just now. The rest of it is theming and panel and conky and so on, I guess that's not what this topic was meant to cover.

EDIT: W-space for openbox menu
EDIT: W-r for rhythmbox (changed my music player in the meantime)
« Last Edit: 03. March 2014, 00:26:40 by natanvarga »
"The greatest trick the devil ever pulled was convincing the world he didn't exist."
been running Manjaro since Aug 2013

Offline runpc2deth

  • Held Mitglied
  • *****
  • Posts: 507
  • Branch: testing
  • Desktop: ManjaroBox
  • GPU Card: AMD A10-5800K - amd radeon hd 7660d
  • GPU driver: free or non free whatever is working :)
  • Kernel: Linux314-X64
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #2 on: 27. February 2014, 02:28:59 »
impressive  ;) i didnt even know about some of those. ill have to try them out  8)

Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Branch: unstable
  • Desktop: openbox - bspwm
  • GPU driver: free
  • Kernel: linux3.12 lts
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #3 on: 27. February 2014, 02:46:52 »
Code: [Select]
    <!-- Snapping And Fullscreen -->
    <keybind key="W-Up">
      <action name="MaximizeFull"/>
      <action name="Undecorate"/>
    </keybind>
    <keybind key="W-Down">
      <action name="UnmaximizeFull"/>
      <action name="Decorate"/>
    </keybind>
    <keybind key="W-Left">
      <action name="UnmaximizeFull"/>
      <action name="MaximizeVert"/>
      <action name="MoveResizeTo">
        <width>50%</width>
      </action>
      <action name="MoveToEdge">
        <direction>west</direction>
      </action>
    </keybind>
    <keybind key="W-Right">
      <action name="UnmaximizeFull"/>
      <action name="MaximizeVert"/>
      <action name="MoveResizeTo">
        <width>50%</width>
      </action>
      <action name="MoveToEdge">
        <direction>east</direction>
      </action>
    </keybind>

for window placement :)

rest just regular keybinds
W-Enter for terminal
W-a for audio (using deadbeef atm)
W-space dmenu
W-c close current window
W-d show desk


nothin too crazy
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline runpc2deth

  • Held Mitglied
  • *****
  • Posts: 507
  • Branch: testing
  • Desktop: ManjaroBox
  • GPU Card: AMD A10-5800K - amd radeon hd 7660d
  • GPU driver: free or non free whatever is working :)
  • Kernel: Linux314-X64
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #4 on: 28. February 2014, 02:33:20 »
you guys are putting me to shame with your advanced tips  ;D

here is a basic one i always enable numbers lock

install "numlockx"

go to your autostart file

Code: [Select]
## Basic compositing effects
compton -CGb &

## Background
nitrogen --restore &

## Panel
(sleep 1s && tint2) &

## Startup
(sleep 1s && pnmixer) &
(sleep 3s && conky) &
(sleep 3s && numlockx) &

Offline runpc2deth

  • Held Mitglied
  • *****
  • Posts: 507
  • Branch: testing
  • Desktop: ManjaroBox
  • GPU Card: AMD A10-5800K - amd radeon hd 7660d
  • GPU driver: free or non free whatever is working :)
  • Kernel: Linux314-X64
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #5 on: 28. February 2014, 02:45:00 »
can someone post a how to on replacing alsa with pulse and showing how to config the sound icon in the system tray.  should i use pnmixer or the xfce mixer?

Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Branch: unstable
  • Desktop: openbox - bspwm
  • GPU driver: free
  • Kernel: linux3.12 lts
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #6 on: 28. February 2014, 02:57:39 »
I think volumeicon looks better :)
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline runpc2deth

  • Held Mitglied
  • *****
  • Posts: 507
  • Branch: testing
  • Desktop: ManjaroBox
  • GPU Card: AMD A10-5800K - amd radeon hd 7660d
  • GPU driver: free or non free whatever is working :)
  • Kernel: Linux314-X64
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #7 on: 28. February 2014, 04:33:37 »
I think volumeicon looks better :)

i went ahead and install volumeicon

so for anyone else wanting to switch to pulseaudio here is kinda how i did it  ;)  this is gonna be a sloppy version.

install pulseaudio volumeicon pavucontrol

go to your autostart file and should look like this

Quote
## Startup
(sleep 1s && volumeicon) &
(sleep 3s && conky) &
(sleep 3s && numlockx) &
(sleep 8s && chromium) &

right click the volume icon in your system tray and select preferences. 

make sure this is in your external mixer xterm -e 'pavucontrol'

there are probably better instructions out there but i got it to work this way.  if you have no sound or audio problems give this a shot.


Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Branch: unstable
  • Desktop: openbox - bspwm
  • GPU driver: free
  • Kernel: linux3.12 lts
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #8 on: 28. February 2014, 08:24:28 »
Isn't there a manjaro-pulse package?
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline natanvarga

  • Sr. Mitglied
  • ****
  • Posts: 437
  • Branch: unstable
  • Desktop: cinnamon
  • GPU Card: Intel Skylake integrated
  • GPU driver: free
  • Kernel: 4.4
  • Skill: Novice
Re: add your favorite openbox customizing tips here
« Reply #9 on: 28. February 2014, 13:30:19 »
Isn't there a manjaro-pulse package?

I believe there is. I also use pa-applet as the system tray icon. Gives a simple volume bar upon clicking on it.
"The greatest trick the devil ever pulled was convincing the world he didn't exist."
been running Manjaro since Aug 2013

Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Branch: unstable
  • Desktop: openbox - bspwm
  • GPU driver: free
  • Kernel: linux3.12 lts
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #10 on: 28. February 2014, 17:25:23 »
indeed,  I was intending volumeicon for alsa. 

The plus for using pa-applet is a right click allows for you to change the output of your sound.
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline LCJr

  • Held Mitglied
  • *****
  • Posts: 639
  • Skill: Novice
Re: add your favorite openbox customizing tips here
« Reply #11 on: 28. February 2014, 18:10:13 »
lightsOn script so I can watch movies on the internet and play my console emulators in peace.
https://github.com/iye/lightsOn

Code: [Select]
(sleep 1s && xscreensaver -no-splash) &
(sleep 1s && /home/yourname/lightsOn.sh 890) &

Offline runpc2deth

  • Held Mitglied
  • *****
  • Posts: 507
  • Branch: testing
  • Desktop: ManjaroBox
  • GPU Card: AMD A10-5800K - amd radeon hd 7660d
  • GPU driver: free or non free whatever is working :)
  • Kernel: Linux314-X64
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #12 on: 28. February 2014, 20:41:31 »
Isn't there a manjaro-pulse package?

i did see that but never heard anyone talk about it.  guess that would have been easier  :D 

ill try pa-applet also. i never even heard of that before.

Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Branch: unstable
  • Desktop: openbox - bspwm
  • GPU driver: free
  • Kernel: linux3.12 lts
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #13 on: 28. February 2014, 20:57:13 »
Have you guys tried pypanel?   its a fresh alternative to tint2
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline runpc2deth

  • Held Mitglied
  • *****
  • Posts: 507
  • Branch: testing
  • Desktop: ManjaroBox
  • GPU Card: AMD A10-5800K - amd radeon hd 7660d
  • GPU driver: free or non free whatever is working :)
  • Kernel: Linux314-X64
  • Skill: Intermediate
Re: add your favorite openbox customizing tips here
« Reply #14 on: 28. February 2014, 21:03:14 »
ive heard of it many times but never tried it out.  i might give it a shot soon.  my taskbar needs are so few though.  just manage open windows and a clock  8)