<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=1644&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / HOWTO: IceWM Basic Configuration]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=1644</link>
		<description><![CDATA[The most recent posts in HOWTO: IceWM Basic Configuration.]]></description>
		<lastBuildDate>Sat, 07 Oct 2017 14:50:59 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[HOWTO: IceWM Basic Configuration]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=5410#p5410</link>
			<description><![CDATA[<p>HOWTO: IceWM Configuration (Verbose)</p><p>Obviously, this is a subjective matter. There are different ways of doing this, <br />I like to edit the files.</p><p>IceWM comes by default with alt-tab to switch windows, alt-F10 to maximize, <br />alt-F9 to minimize the screen, the Windows key will give you the main menu. In <br />the main menu click on Settings &gt; Focus and choose your favorite, (i like <br />&quot;Sloppy&quot;). Do it again, and click on Themes and choose.</p><p>NOTE: winkey (Windows key) + space bar will give a &#039;run box&#039; at the taskbar by <br />default. from where you can launch apps a la gmrun.</p><p>If you go to the icewm site: <a href="http://www.icewm.org" rel="nofollow">www.icewm.org</a> -&gt; IceWM Manual you get all the keybinds <br />and mouse commands. It&#039;s a very worthwile read, it will teach you how to lock <br />your screen (xtrlock), move a window to another workspace, screensavers, and so <br />forth, how to start an app in a different workspace when you enter the X system, <br />etc.</p><p>Congratulations! you&#039;re ready for prime time. Just point and click.</p><p>But if you want to increase your speed, if you&#039;re a geek wannabe, if the Windows <br />way of working bring tears to your eyes, then KEYBINDINGS are for you.</p><p>My configuration uses 4 files: preferences, keys, winoptions, and prefoverride.</p><p>Preferences deals with the window manager&#039;s behavior.<br />Keys with keybindings.<br />Winoptions with options that alter the windows.<br />Prefoverride changes the default keybinds for the ones you like.</p><p>You CANNOT edit the global file, so you have to create them and put them in your /home.</p><p>The global file resides in /usr/share/icewm/preferences where all the <br />preferences for IceWM are, copy/paste the ones relevant to your way of working, <br />and put them in your ~/.icewm/preferences.</p><p>Now create these files in your /home, and edit them as USER. The directory .icewm already exists.</p><div class="codebox"><pre><code>$ touch .icewm/preferences
$ touch .icewm/keys
$ touch .icewm/winoptions
$ touch .icewm/prefoverride</code></pre></div><p>PREFERENCES<br />So now all you have to do is edit .icewm/preferences as USER.</p><div class="codebox"><pre><code>$ nano .icewm/preferences</code></pre></div><p>Choose the preferences you like from the global file <br />(/usr/share/icewm/preferences) and copy/paste them into your .icewm/preferences.</p><p>Every preference consists of 2 lines, both of which are commented (#), uncomment <br />(erase the hash mark) on the second line of the preference, and add 1 or 0 <br />(zero) at the end.</p><p>1 = enables the preference<br />0 = disables it.</p><p>save/exit and RESTART icewm - Menu &gt;Logout &gt;Restart icewm for it to take<br />effect.</p><p>Clear as mud?</p><p>Example:</p><div class="codebox"><pre><code># Hide title bar when maximized
#HideTitleBarWhenMaximized=0 # 0/1</code></pre></div><p>After editing it, it should look like this if you wanted it enabled:</p><div class="codebox"><pre><code># Hide title bar when maximized
HideTitleBarWhenMaximized=1</code></pre></div><p>Restart icewm, restart icewm, restart icewm <img src="http://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Me? I copied/pasted my personal preferences I stored <br />in my web mail. It takes me 5 minutes to config icewm.</p><p>Here&#039;s my .icewm/preferences:</p><div class="codebox"><pre class="vscroll"><code>    OpaqueMove=0
    OpaqueResize=0
    SmartPlacement=1
    MenuMouseTracking=1
    ModSuperIsCtrlAlt=1
    UseMouseWheel=1
    QuickSwitch=1
    AutoReloadMenus=1
    ShowProgramsMenu=1
    ShowThemesMenu=1
    ShowHelp=1
    TerminalCommand=&quot;lxterminal&quot;
    ShutdownCommand=&quot;sudo poweroff&quot;
    RebootCommand=&quot;sudo reboot&quot;
    WorkspaceNames=&quot; 1 &quot;, &quot; 2 &quot;

    TaskBarAutoHide=0
    TaskBarShowClock=1
    TaskBarShowAPMStatus=0
    TaskBarAtTop=0
    TaskBarShowAPMStatus=0
    TaskBarShowAPMTime=0
    TaskBarShowMailboxStatus=0
    TaskBarShowWindows=1
    TaskBarShowShowDesktopButton=0
    TaskBarShowTray=1
    TaskBarShowWindowIcons=0
    TaskBarShowCPUStatus=1
    TaskBarShowNetStatus=0
    TaskBarShowCollapseButton=1
    TaskBarWorkspacesLeft=1
    TimeFormat=&quot;%R&quot;
    TaskBarShowShowDesktopButton=0
    TaskBarShowWindowListMenu=1
    TaskBarShowMailboxStatus=0
    TaskBarMailboxStatusBeepOnNewMail=0
    NormalTaskBarFontName=&quot;-*-sans-medium-r-*-*-*-100-*-*-*-*-*- *&quot;
    NormalTaskBarFontNameXft=&quot;sans-serif:size=10&quot;
    ActiveTaskBarFontName=&quot;-*-sans-r-*-*-*-100-*-*-*-*-*-*&quot;
    ActiveTaskBarFontNameXft=&quot;sans-serif:size=10&quot;
    HideTitleBarWhenMaximized=0</code></pre></div><p>save/exit your favorite editor.</p><p>KEYS <br />Same. Choose what you need. I erased everything and pasted my keybinds. <br />This is my .icewm/keys:</p><div class="codebox"><pre><code>$ nano .icewm/keys</code></pre></div><p>Example:</p><div class="codebox"><pre><code>    key &quot;F1&quot; lxterminal
    key &quot;F2&quot; xfe
    key &quot;Ctrl+f&quot; firefox
    key &quot;Ctrl+g&quot; google-chrome-stable
    key &quot;F7&quot; mirage
    key &quot;F8&quot; hexchat
    key &quot;Print&quot; lxterminal -e scrot -cd 10

    #Sound
    key &quot;Ctrl+Down&quot;      amixer -q set Master 9%-            # lower volume
    key &quot;Ctrl+Up&quot;        amixer -q set Master 9%+             # raise volume</code></pre></div><p>Save/exit your editor.</p><p>Ctrl+Up arrow increases volume.</p><p>Ctrl+Down arrow decreases volume</p><p>If you get no sound go to alsamixer as USER and unmute with M key.</p><div class="codebox"><pre><code>$ alsamixer</code></pre></div><p>Needless to say choose your favorite applications and keybinds.</p><p>I have no use for the Fn keys, but if you do, just add Alt or Ctrl or Super (winkey) example:</p><p>key &quot;Alt+ l&quot; leafpad<br />key &quot;Ctrl+f&quot; firefox</p><p>SOUND<br />A word about sound. In my case, I haven&#039;t had good luck with Pulseaudio, so I use ALSA.</p><div class="codebox"><pre><code>$ apt-cache search alsa</code></pre></div><p>Installed the alsa packages plus aumix and menu.</p><div class="codebox"><pre><code># apt-get install aumix menu alsa-lib alsa-plugins alsa-utils</code></pre></div><p>Config the sound volume:</p><div class="codebox"><pre><code>$ alsamixer</code></pre></div><p>Unmute sound with letter M</p><p>WINOPTIONS <br />Go to .icewm/winoptions and paste this, I&#039;m only interested in <br />maximizing my windows:</p><div class="codebox"><pre><code>$ nano .icewm/winoptions</code></pre></div><div class="codebox"><pre><code>lxterminal.Lxterminal.startMaximized: 1
hexchat.Hexchat.startMaximized: 1
firefox.Firefox.startMaximized: 1
xfe.Xfe.startMaximized: 1
mirage.Mirage.startMaximized: 1</code></pre></div><p>save/exit</p><p>PREFOVERRIDE</p><div class="codebox"><pre><code>$ nano .icewm/prefoverride</code></pre></div><p>And paste this:</p><div class="codebox"><pre><code>KeyWinClose=&quot;F4&quot;
KeyWinMaximize=&quot;F12&quot;</code></pre></div><p>save/exit</p><p>So now I close applications with F4 (boom! gone) and maximize the windows with<br />one key (F12), instead of the default Alt+F10.</p><p>THEMES<br />I&#039;m not much for themes and eye-candy, my thing is simplicity and speed.</p><p>Go to <a href="http://www.box-look.org" rel="nofollow">www.box-look.org</a>, click on &quot;icewm themes&quot; in the left column, if you know <br />the name of the theme, click on &quot;alphabetical&quot;. Click on Download. There are <br />over 400 themes for IceWM in this site. There are a bunch on the right column on <br />the site.Download the theme file /home/&lt;yourusername&gt;/Downloads (automatic with <br />Firefox).</p><p>I launch xfe (my file manager) as ROOT, I find the theme in Downloads, <br />right-click on it, and choose &quot;Extract to&quot; in the next screen at the bottom I <br />type the location where to be extracted, (/usr/share/icewm/themes) press <br />Enter, and that&#039;s it, the new theme appears in Settings&gt;Themes from the main <br />menu. Click on it and you&#039;ll have a new theme immediately.</p><p>NOTE: Restart icewm every time you do changes on the window manager.</p><p>Main menu &gt; Logout &gt; Restart IceWM</p><p>Happy trails,<br />macondo aka macondo123, Lou</p><p><a href="http://www.imagebam.com/image/fcec10620498663" rel="nofollow"><span class="postimg"><img src="http://thumbs.imagebam.com/a1/77/a2/fcec10620498663.jpg" alt="fcec10620498663.jpg" /></span></a></p><p>bobo@foo:~$ inxi -Fz<br />System:&#160; &#160; Host: foo Kernel: 4.9.0-0.bpo.3-amd64 x86_64 (64 bit) Desktop: IceWM 1.3.8 Distro: Devuan GNU/Linux 1 <br />Machine:&#160; &#160;System: Gigabyte product: N/A<br />&#160; &#160; &#160; &#160; &#160; &#160;Mobo: Gigabyte model: H61M-DS2 v: x.x Bios: American Megatrends v: F6 date: 09/30/2014<br />CPU:&#160; &#160; &#160; &#160;Dual core Intel Celeron G1610 (-MCP-) cache: 2048 KB <br />&#160; &#160; &#160; &#160; &#160; &#160;Clock Speeds: 1: 1721 MHz 2: 1691 MHz<br />Graphics:&#160; Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller<br />&#160; &#160; &#160; &#160; &#160; &#160;Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.00hz<br />&#160; &#160; &#160; &#160; &#160; &#160;GLX Renderer: Mesa DRI Intel Ivybridge Desktop GLX Version: 3.0 Mesa 10.3.2<br />Audio:&#160; &#160; &#160;Card Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel <br />&#160; &#160; &#160; &#160; &#160; &#160;Sound: Advanced Linux Sound Architecture v: k4.9.0-0.bpo.3-amd64<br />Network:&#160; &#160;Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169<br />&#160; &#160; &#160; &#160; &#160; &#160;IF: eth0 state: up speed: 1000 Mbps duplex: full mac: &lt;filter&gt;<br />Drives:&#160; &#160; HDD Total Size: 500.1GB (0.8% used) ID-1: /dev/sda model: TOSHIBA_DT01ACA0 size: 500.1GB<br />Partition: ID-1: / size: 44G used: 1.8G (4%) fs: jfs dev: /dev/sda3 <br />&#160; &#160; &#160; &#160; &#160; &#160;ID-2: swap-1 size: 2.10GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 <br />Sensors:&#160; &#160;System Temperatures: cpu: 29.8C mobo: 27.8C <br />&#160; &#160; &#160; &#160; &#160; &#160;Fan Speeds (in rpm): cpu: N/A <br />Info:&#160; &#160; &#160; Processes: 95 Uptime: 2:40 Memory: 521.8/3851.7MB Client: Shell (bash) inxi: 2.1.28</p><p>PS:&#160; I launch it from my .xinitrc:</p><div class="codebox"><pre><code>exec icewm</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (macondo)]]></author>
			<pubDate>Sat, 07 Oct 2017 14:50:59 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=5410#p5410</guid>
		</item>
	</channel>
</rss>
