Re: confirm 852223f5c787b0857a42616c26c0a94208eae60a

Ole Jørgen Brønner <[email protected]> Thu, 28 May 2009 11:36:56 +0200
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <op.uumvnuytvocxtk@tabole-debian>
The following apply to ion3. (I haven't used pwm2/3 or ion2)

As marc said, you should copy the cfg_ioncore.lua file to you ~/.ion3  
directory. The cfg_* files are in /usr/local/etc/ion3 if you've installed  
normally from source, or /etc/X11/ion3 if you used the debian/ubuntu  
package.

Changing basic bindings shouldn't really require that much knowledge of  
lua.

> The most important shortcuts I am missing and can not find in the manual
> are:
> ctrl+shift+M for maximizing/minimizing toggle of an active window
Find this section in cfg_ioncore.lua:

defbindings("WFrame", {
     submap(META.."K", {
         bdoc("Maximize the frame horizontally/vertically."),
         kpress("H", "WFrame.maximize_horiz(_)"),
         kpress("V", "WFrame.maximize_vert(_)"),
     }),

change it to:

defbindings("WFrame", {
     kpress("Control+Shift+M", ""WFrame.maximize_horiz(_)  
WFrame.maximize_vert(_)"),


> Mod1+Enter for "start resizing/moving window mode, unless Enter is  
> pressed
> again"
Replace (in the 'defbindings("WFrame", {' section)
     kpress(META.."R", "WFrame.begin_kbresize(_)"),
with
     kpress(META.."Return", "WFrame.begin_kbresize(_)"),
and remove
     kpress_wait(META.."Return", "WGroup.set_fullscreen(_, 'toggle')"),
 from defbindings("WGroupCW", {

> Mod1+Tab for switching focus to next window  on active desktop
> (this did work at the beginning, I changed some option, now it switches  
> to
> next window, but if it is a last window on current desktop, it`ll switch  
> to
> next window on a next desktop)
Yes, this should be the default behavior. (I guess you've done something  
about nowrap)

> --
> Another question:
> Alt+F11 will put a window into a fullscreen mode. If the window was on
> Desktop 1 before, now it is on Desktop 0.  Is this the default?
Well, META+Return is the standard binding for fullscreen, and this should  
place the window back where it came from.

This is the most relevant section in the documentation:
http://modeemi.fi/~tuomov/ion-doc-3/ionconf/node4.html#SECTION00433000000000000000

-- 
Ole Jørgen Brønner