<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mntnoe.com &#187; fwvm</title>
	<atom:link href="http://mntnoe.com/tag/fwvm/feed/" rel="self" type="application/rss+xml" />
	<link>http://mntnoe.com</link>
	<description></description>
	<lastBuildDate>Mon, 12 Sep 2011 07:19:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My FVWM Shortcuts</title>
		<link>http://mntnoe.com/2007/10/my-fvwm-shortcuts/</link>
		<comments>http://mntnoe.com/2007/10/my-fvwm-shortcuts/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 15:04:09 +0000</pubDate>
		<dc:creator>Mads Navntoft Noe</dc:creator>
				<category><![CDATA[Window Managers]]></category>
		<category><![CDATA[fwvm]]></category>

		<guid isPermaLink="false">http://www.mntnoe.com/?p=19</guid>
		<description><![CDATA[Here are the keybindings I use for window management. As I use FVWM, they are written in FVWM syntax, but you should be able to understand them even if you are not using FVWM. You can easily test a keybinding by entering the line in question into the FVWM Console. Please keep in mind that [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the keybindings I use for window management. As I use FVWM, they are written in FVWM syntax, but you should be able to understand them even if you are not using FVWM. You can easily test a keybinding by entering the line in question into the FVWM Console.</p>
<p>Please keep in mind that these keybindings are the ones that work for me. The best keybindings for you may depend on you way of work, type of keyboard and your preferences.   <span id="more-19"></span></p>
<p>The syntax of an FVWM keybinding instruction is:</p>
<pre>Key &lt;Keyname&gt; &lt;Context&gt; &lt;Modifiers&gt; &lt;Function&gt;</pre>
<p><em>Context</em> is where the binding is active (A for All), and the <em>Modifier</em>s may be N (None), A (All), S (Shift), M (Meta/Alt), C (Control), 4 (Winkey) and 5 (Alt Gr).</p>
<h3>Window switching</h3>
<p>First, I want to be able to switch between windows quickly:</p>
<pre>Key K A 5		Prev (CurrentPage, AcceptsFocus, !Iconic) FocusRaiseFunc
Key J A 5		Next (CurrentPage, AcceptsFocus, !Iconic) FocusRaiseFunc</pre>
<p>Alt Gr-K changes between the last two open windows, and Alt Gr-J cycles through all of them. Unlike standard Alt-Tab behaviour, you don&#8217;t have to release the modifier key to focus the window, making your system far more responsive.</p>
<p>As a supplement, I also use some kind of Alt-Tab behaviour, except that I use different bindings for distinct classes of windows.</p>
<pre>Key Tab A M 		ShowClassList
Key Tab A 4 		ShowOtherList
Key Tab A C 		ShowIconList</pre>
<p>As I got a lot of open terminals, I prefer to split it up, so that Alt-Tab switches between terminal emulators, and Winkey-Tab for the others. Minimized windows is restored by Control-Tab. In that way they won&#8217;t disturb. See the <a title="windowlist" href="http://www.mntnoe.com/wp-content/uploads/2007/10/windowlist">implementation</a> of the functions.</p>
<h3>Windows movement</h3>
<p>Window Packing moves the window a given direction until it hits something. It was implemented by Tavis Ormandy and is well described <a href="http://dev.gentoo.org/~taviso/fvwm2rc.html">here</a>.</p>
<pre>Key A			WT1246 5	PackWrapperLeft
Key D			WT1246 5	PackWrapperRight
Key W			WT1246 5	PackWrapperUp
Key S			WT1246 5	PackWrapperDown</pre>
<p>Shift for smaller step movements:</p>
<pre>Key A			WT1246 5S	Move w-50p w+0
Key D			WT1246 5S	Move w+50p w+0
Key W			WT1246 5S	Move w+0 w-50p
Key S			WT1246 5S	Move w+0 w+50p</pre>
<p>When I work with a window, I like to <a title="centerfunc" href="http://www.mntnoe.com/wp-content/uploads/2007/10/centerfunc">center</a> it. It is good for the ergonomics, as I can look straight ahead. When I am finished with the window, I usually pack it into a corner.</p>
<pre>Key V WT1246 5		CenterFunc</pre>
<p>Actually, I rarely use these three operations:</p>
<pre>Key H WT1246 5		Iconify
Key G WT1246 5		WindowShade
Key M WT1246 5		Maximize</pre>
<p>Instead, when I want to get a window out of the way, I put it on an empty desktop/workspace (see MoveToDescFunc below). This way, I keep only the relevant information on the screen.</p>
<p>If you have a big window, lowering it is often more handy than switching between the others to find the right one:</p>
<pre>Key R WT1246 5		Raise
Key F WT1246 5		Lower</pre>
<p>Always on top is handy when a window should be used for reference (instructions, etc.):</p>
<pre>Key Z WT1246 5		Layer 0 6
Key X WT1246 5		Layer 0 4</pre>
<p>The window operations menu contains function like FvwmIdent, Sticky and Destroy, which I only use occasionally.</p>
<pre>Key E WT1246 5		Menu MenuWindowOps Interior 0 0</pre>
<p>To redistribute the windows on the screen:</p>
<pre>Key Leftbracket A 5	All (CurrentDesk, !Iconic,
			AcceptsFocus, CirculateHit) PlaceAgain
			Anim</pre>
<p>Application launching is done from a menu which I will cover in a later post. On the danish keyboard, the</p>
]]></content:encoded>
			<wfw:commentRss>http://mntnoe.com/2007/10/my-fvwm-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

