HOWTO: IceWM Basic Configuration

Share your own howto's etc. Not for support questions!
Message
Author
Lou
Posts: 1775
Joined: 2006-05-08 02:15

#61 Post by Lou »

$ locate icewm
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

pcalvert
Posts: 1924
Joined: 2006-04-21 11:19
Location: Sol Sector

Re: HOWTO: IceWM Basic Configuration

#62 Post by pcalvert »

MeanDean wrote: might take a peek in /usr/share/icewm
Yup, that's where they're hiding:

Code: Select all

$ ls -l /usr/share/icewm
total 68
drwxr-xr-x  2 root root  4096 2008-09-27 22:40 contrib
drwxr-xr-x  2 root root  4096 2008-09-27 22:32 icons
-rw-r--r--  1 root root  1803 2006-11-20 04:54 keys
drwxr-xr-x  2 root root  4096 2008-09-27 22:32 ledclock
drwxr-xr-x  2 root root  4096 2008-09-27 22:32 mailbox
-rw-r--r--  1 root root   685 2006-11-20 04:54 menu
-rw-r--r--  1 root root 28632 2006-11-20 04:54 preferences
drwxr-xr-x  2 root root  4096 2008-09-27 22:32 taskbar
drwxr-xr-x 82 root root  4096 2008-09-27 22:32 themes
-rw-r--r--  1 root root   436 2006-11-20 04:54 toolbar
-rw-r--r--  1 root root  1045 2006-11-20 04:54 winoptions
Thanks.

Phil
“It is better to believe than to disbelieve; in doing so, it brings
everything into the realm of possibility.” — Albert Einstein

pcalvert
Posts: 1924
Joined: 2006-04-21 11:19
Location: Sol Sector

#63 Post by pcalvert »

Lou wrote:$ locate icewm
Thank you, that's also helpful. Actually, I had to modify it a little bit:

$ locate icewm | more

I use that little "trick" a lot.

Phil
“It is better to believe than to disbelieve; in doing so, it brings
everything into the realm of possibility.” — Albert Einstein

gerry
Posts: 326
Joined: 2007-09-13 07:23
Location: England

#64 Post by gerry »

I'm trying Icewm, and read lots about it. One thing is that Lou starts off by installing iceme for configuring menus, but thats dead and gone, though I did find a tar.gz download, which I have not unpacked. Debian includes icemc, which is a gui for configuring menus etc.

My question is: which file do I have to edit to change the menus?? I've read all over, and tried editing various files as told, but the menu stays the same. In fact, the menu seems to not resemble any menu file that I can find.

So tell me: which file do I have to edit to customise the menus? Really.

And I'd rather not prompt you by saying which files I've looked at!

Using Lenny. And I tried Windowmaker, and the menu was EXACTLY the same as I get with Icewm, but again unlike any menu file. Where on earth do they get it from?

Gerry

Lou
Posts: 1775
Joined: 2006-05-08 02:15

#65 Post by Lou »

iceme is gone, i use none of the others configuration apps.

Assuming you installed icewm, icewm-themes, menu:

$ sudo updatedb
$ locate icewm
$ cp /etc/X11/icewm/menu .icewm/menu

OR if you are the only user using icewm work on the original file /etc/X11/icewm/menu. Go to www.icewm.org and read the

IceWM FAQ and Howto pages

A superficial search in google.com/linux will give you all kinds of info on icewm/menus:

http://www.osnews.com/story/7774/IceWM_ ... ger/page3/

By pressing the "windows key" will give you a menu right away; i have my main apps linked to Fn keys (shortcuts, no icons, no menu editing).

Clear as mud?
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

gerry
Posts: 326
Joined: 2007-09-13 07:23
Location: England

#66 Post by gerry »

Thanks Lou- I was on the right lines, but I seem to be sinking in a morass of permissions.

My bash denies all knowledge of updatedb and locate, but does that matter? I'm the only user on my computer, so I'll concentrate on the X11 files.

Gerry

gerry
Posts: 326
Joined: 2007-09-13 07:23
Location: England

#67 Post by gerry »

That's working- I can modify the /etc/X11 files, and off we go.......

Gerry

User avatar
craigevil
Posts: 5257
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 3 times
Been thanked: 3 times

#68 Post by craigevil »

"IceWM's Control Center"
http://icecc.sourceforge.net/
havent used that in a while but it worked great on sarge.
Raspberry PI 400 Distro: Raspberry Pi OS (Unstable) Kernel: 5.10.52-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

Lou
Posts: 1775
Joined: 2006-05-08 02:15

#69 Post by Lou »

gerry wrote:
My bash denies all knowledge of updatedb and locate, but does that matter? I'm the only user on my computer, so I'll concentrate on the X11 files.

Gerry
# apt-get install locate
# updatedb

Now you can try again.

The app 'locate' and updating the app data base IS important for future use, do it.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

MikJP
Posts: 10
Joined: 2008-11-12 21:00
Location: Finland

#70 Post by MikJP »

Some months ago, I wrote a short IceWM Tutorial for my blog. Some of the readers might find it useful, too.

Mr B
Posts: 184
Joined: 2008-07-26 15:30

#71 Post by Mr B »

I like your blog :)

Lou
Posts: 1775
Joined: 2006-05-08 02:15

#72 Post by Lou »

Here's my latest keybings:

##.icewm/keys

key "Super+d" dillo
key "Super+c" urxvt
key "Super+e" pcmanfm
key "Super+m" sylpheed
key "Super+f" iceweasel
key "Super+u" xchat
key "Super+o" opera
key "Super+x" xlock -mode blank
key "Super+l" urxvt -e links2
key "Super+Pause" sudo halt
key "Print" urxvt -e scrot -cd 10

Super = Windows key (right or left)

Now i can shut my machine with:
win key + Pause key :)
(pretty handy)

impuwat
Posts: 2
Joined: 2009-03-24 05:53

change graphic in icewm theme

#73 Post by impuwat »

I'm working on an IceWM theme and I'm wondering how to change the graphic for the small arrow in the menu. I would like to change the arrow to a shape that more closely matches my theme. I'm unaware of any pixmap that controls this graphic but I've seen different arrows in IceWM themes. Can anyone help me?

Lou
Posts: 1775
Joined: 2006-05-08 02:15

#74 Post by Lou »

Your best bet is the icewm mailing list.

impuwat
Posts: 2
Joined: 2009-03-24 05:53

#75 Post by impuwat »

Thanks for the reply. I've tried the icewm mailing list and haven't had a reply. The list does not look very active right now. Thought I would spread my question around in the IceWM area of some of the forums.

Lou
Posts: 1775
Joined: 2006-05-08 02:15

#76 Post by Lou »

Try the antiX forums, they are very much into icewm themes:

http://antix.freeforums.org/tips-and-tricks-f4.html

User avatar
Arnie
Posts: 310
Joined: 2006-06-22 16:29
Location: Netherlands

Re: HOWTO: IceWM Basic Configuration

#77 Post by Arnie »

If you like IceWM, you may also want to take a look at jwm. I currently have both installed.
Debian Men
Need instant advice? Get BOFH's opinion

Lou
Posts: 1775
Joined: 2006-05-08 02:15

Re: HOWTO: IceWM Basic Configuration

#78 Post by Lou »

I'm a window manager addict, i've tried most of them; but i always come back to icewm. I have installed and configured presently in my box: awesome, dwm, wmii, ratpoison, fluxbox and Icewm. Tiling wms are for me, i also like to use key bindings to launch my apps, icons are for wimps (they are slower than key bindings), i use the mouse sporadically, hate wallpapers, i need eye-candy like i need another hole in the head, looks mean nothing, speed is where is at; and in general, i try to KISS everything about my computer, and last, but not least, I cannot live without Vimperator. Evidently, i'm opinionated and always right :P

I use a substandard box, a Sempron 2600 (1.6 Mhz) with 512 MB RAM, everything else is integrated to the mb and to top it all, the SiS driver is buggy, so i use 'vesa'.

These are my config files for IceWM:

Code: Select all

# .icewm/preferences
OpaqueMove=0
OpaqueResize=0
SmartPlacement=1
MenuMouseTracking=1
ModSuperIsCtrlAlt=1
UseMouseWheel=1
QuickSwitch=1
AutoReloadMenus=1
ShowProgramsMenu=1
ShowThemesMenu=1
ShowHelp=1
TerminalCommand="urxvt"
ShutdownCommand="sudo halt"
RebootCommand="sudo reboot"
WorkspaceNames=" 1 ", " 2 "
LockCommand="xlock -mode blank"


ShowTaskBar=1
TaskBarAutoHide=0
TaskBarShowClock=1
TaskBarShowAPMStatus=0
TaskBarAtTop=1
TaskBarShowAPMStatus=0
TaskBarShowAPMTime=0
TaskBarShowMailboxStatus=1
TaskBarShowWindows=1
TaskBarShowShowDesktopButton=0
TaskBarShowTray=1
TaskBarShowWindowIcons=0
TaskBarShowCPUStatus=0
TaskBarShowNetStatus=0
TaskBarShowCollapseButton=0
TaskBarWorkspacesLeft=1
TimeFormat="%R"
TaskBarShowShowDesktopButton=1
TaskBarShowWindowListMenu=0
TaskBarShowMailboxStatus=0
TaskBarMailboxStatusBeepOnNewMail=0
NormalTaskBarFontName="-*-sans-medium-r-*-*-*-100-*-*-*-*-*- *"
NormalTaskBarFontNameXft="sans-serif:size=9"
ActiveTaskBarFontName="-*-sans-r-*-*-*-100-*-*-*-*-*-*"
ActiveTaskBarFontNameXft="sans-serif:size=9"

These are my key bindings, Super=Windows key, notice i can shut the machine off with the Windows key and the Pause key (sudo has to be configured), and take a screenshot by pressing the Print key.

Code: Select all


# .icewm/keys

key "Super+c" urxvt
key "Super+e" xfe -m
key "Super+m" sylpheed
key "Super+i" iceweasel
key "Super+u" xchat
key "Super+q" gqview
key "Super+l" xlock -mode blank
key "Super+Pause" sudo halt
key "Print" urxvt -e scrot -cd 10
I like my apps maximized
# .icewm/winoptions

Code: Select all


urxvt.startMaximized: 1
sylpheed.startMaximized: 1
xchat.startMaximized: 1
gqview.startMaximized: 1
iceweasel.startMaximized: 1
pcmanfm.startMaximized: 1 
I like to use my own keys instead of the icewm default ones.
# .icewm/prefoverride

Code: Select all


KeyWinClose="Super+k"
KeyWinMaximize="F12" 
KeySysTileHorizontal="Super+F3"
KeySysTileVertical="Super+F2"
I close my apps with win key and k
I maximize with F12
I split the screen horizontally with win key and F3
and vertically with win key and F2
For the main menu, just press Windows key.
Alt-Tab is enabled by default
Switch to next workspace with win key + right arrow, go back with left arrow OR win key + #
Move a screen to another workspace with Win key+Shift+arrow OR # of workspace you want.
To restart icewm: win key + Delete
To eliminate the taskbar: win key + h, to bring it back, same keybindings.
IceWM uses 3 MB RAM, hard to beat...

To me, the object of the game is to keep my hands on the keyboard, it's faster and my wrists appreciate it; thus, my configuration. As always Linux is a subjective matter, what is wonderful for me might not be for you

Screenshot
http://farm3.static.flickr.com/2291/353 ... 4010_o.png

Lou
Posts: 1775
Joined: 2006-05-08 02:15

Re: HOWTO: IceWM Basic Configuration

#79 Post by Lou »

If you want to start a certain app in a specific workspace (think tags), edit your
~/.icewm/winoptions and add these lines to it. IceWM starts with workspace zero (very similar to Grub and partitions), here's my winoptions file:

$ nano -w .icewm/winoptions

Iceweasel.workspace: 0
Sylpheed.workspace: 1
urxvt.workspace: 2

This way every time i launch iceweasel, it will do it in workspace 1, Sylpheed in workspace 2 and my terminal in workspace 3. Restart icewm or reboot.

gerry
Posts: 326
Joined: 2007-09-13 07:23
Location: England

Re: HOWTO: IceWM Basic Configuration

#80 Post by gerry »

@Lou- What do you mean "substandard"? Mine's 600MHz and 256KB ram.

Gerry
gerry
Age 80- and still learning!

Post Reply