On Tue, 7 Oct 2014 10:22:04 +0300 Andrei POPESCU <andreimpope...@gmail.com> wrote:
> On Lu, 06 oct 14, 18:08:22, Steve Litt wrote: > > Hi all, > > > > Everyone has a different way of working, so your hotkeys will > > probably be different than mine, but systemd here's a list of > > Openbox functions I > ^^^^^^^^^ > Trying to test the filters? Good catch Andrei. Darn right I was trying to test the filters. > > > think *should* be hotkeyed: > > > > Desktop left > > Ctrl-Alt-Left > > > Desktop right > > Ctrl-Alt-Right > > as well as Ctrl-Alt-Up and Ctrl-Alt-Down The point I was making was the functions that should be hotkeyed, not what the hotkeys should be. I think every computer user has his/her own personal workflow and muscle memory, so no key combination would be sufficient for everyone. For instance, my desktop left and desktop right are Shift+Ctrl+h and Shift+Ctrl+l, respectively. These make perfect sense for a vi user, and are insane for anyone else. > > > Identify this desktop > > Is this possible? I can't find the action mentioned in the docs (but > I might be missing it) It exploits a mistake in Openbox. As far as I know, with Openbox you can't have a 2 dimensional grid of desktops the way you can in fvwm, so the "desktop up" command is useless and does nothing. Well, nothing except tell you the number of your current desktop. Which is quite useful. :-) > > > Exec Dmenu > > Hmm? Yes. dmenu is the best, fastest, and most general way to execute GUI programs, or shellscripts that execute CLI programs in a GUI terminal. It makes xfce4-appfinder look like a 300 year old snail who must use a walker to get around. http://tools.suckless.org/dmenu/ Observe my dmenu_litt.sh: #!/bin/sh exe=`dmenu_path | dmenu -l 32 -fn 12x24 -nf yellow -nb black -sf black -sb white ${1+"$@"}` && exec $exe Sorry about the wrap in the preceding. In reality, the thing that starts with exe= and ends with $exe are all one line. Note in particular my use of -l32, which makes the menu go down (with 32 lines) instead of across, -fn 12x24 which makes the type large for my extremely bad eyes, and the use of normal and selected colors to make the menu choice instantly recognizeable at a glance. dmenu operates so fast that it actually challenges the human brain's quickness, so the more obvious the situation, the faster you operate it. > > > client-list-combined-menu > > root-menu > > By default mouse only as far as I can tell. Yes, mouse only by default, and that's a shame, because client-list-combined-menu is by far the most valuable functionality built into Openbox. If dwm had this same functionality, I'd be using dwm today. Without this functionality in Openbox, I'd be using LXDE today. My observation, after using dwm for a month, was that without this functionality, I'm always and forever in a state of vertigo, not knowing where I am or where I left everything. Without this functionality, I'd need a taskbar, thereby defeating the whole purpose of Openbox. So of course, I assign a hotkey to this functionality: <keybind key="S-C-period"> <action name="ShowMenu"> <menu>client-list-combined-menu</menu> </action> </keybind> > > > GoToDesktop # > > Windows-F1 through F4 Different people have different tastes in hotkeys. I use the "go to desktop #" several hundred times a day, so for me, anything on the function key row is no good, because it yanks one of my hands away from home typing position. So I reassigned those keys to be Alt+1 through Alt+9. This sounds like it would conflict with a lot of applications, but I was surprised at the limited number of applications with which it creates conflict. I think xchat is one, but it's easy to make an equivalent in xchat. > > > Close Window > > Alt-F4 Alt+F4 is the tradition, I think in every version of every OS. However, I use it so much that, once again, I object to reaching for the function key row, and have changed it to Alt+0. This is lightning quick, doesn't pull my hands off touch-typist's home position, and works well for me. For someone who isn't a touch typist, or someone working with a tablet, Alt+0 would make no sense at all. > See /etc/xdg/openbox/rc.xml if you're using the Debian package. Yes. Openbox comes with a program called obconf, that allows you to graphically change ~/.config/openbox/rc.xml , but obconf is incomplete and cannot help you add or change hotkeys. So the best configuration method is to back up your existing ~/.config/openbox/rc.xml, then edit it. Be sure to back it up, or you might end up with no Openbox :-) One more Openbox trick of the trade: Always have a 6 pixel margin on one the screen's left, top, right or bottom, so that you always have mouse access to the raw desktop. I do mine on the left, and here's how I do it: <margins> <top>0</top> <bottom>0</bottom> <left>6</left> <right>0</right> </margins> <opinion> As it comes from the factory, Openbox is useless. But once a person configures Openbox for his/her personal workflow, Openbox becomes a productivity fountain. </opinion> SteveT Steve Litt * http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141007111619.2c10d...@mydesq2.domain.cxm