Author Topic: Icewm - The Ultimate Configuration  (Read 64253 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #15 on: October 27, 2006, 05:58:44 pm »
One way to get the Menu key mapped to the Start menu:

Just open ~/.icewm/preferences

Go all the way down to the line KeySysMenu, uncomment the line and add the key to that:
Code: [Select]
#
KeySysMenu="XF86Start"
Save and restart IceWM. Now you get the system menu opened with the Menu key just as the way the key is supposed to do.  

And there are some nice tips on getting keys to adjust brightness and screen rotation in this thread:
https://www.oesf.org/forums/index.php?showtopic=21001

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #16 on: November 13, 2006, 04:41:07 pm »
Thought I'd give IceWM a go as I've heard so much about it and first impressions are good!

I have encountered a very annoying problem however. Whenever I rotate the screen with chkhinge or xrandr -o 1 it rotates fine but sets the wrong geometry so the taskbar drops off the screen and all windows are too narrow.

It seems to incorrectlu set 640x480 to 480x640 and vice versa. The only way I can restore the correct geometry is restarting icewm.

Please help if you have any ideas, This is working fine in Fluxbox and openbox.

tia!

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #17 on: November 14, 2006, 03:26:26 am »
found an ugly solution- modified /usr/X11R6/bin/startx and changed defaultserverargs so tha the screen parameter read: -screen 640x480@0
I believe this is invalid but it makes the orientation match the geometry at least, but it will load straight into portrait mode .

To fix this I changed the chkhinge scripts here /etc/sysconfig/clamshell/scripts.d/x11scr and changed the command under portrait to: /usr/X11R6/bin/xrandr -o 0 and landscape to: /usr/X11R6/bin/xrandr -o 3

Bobs your uncle fannys your aunt... sorry to have to hack it up like this tho, still want a cleaner solution as this will mess up other WM's

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #18 on: November 16, 2006, 11:10:52 am »
Thanks for the trick.
Just tried it and it *basically* works, but
it has issues with Rox-desktop (or is it rather an issue with Rox-desktop itself?).
Icons towards the right edge in the desktop in landscape mode will be hidden when switched into portrait mode. It seems the desktop fails to rotate, besides the wallpaper (or backdrop) being displayed properly in either mode.
Yet i vaguely recall a trick that applies to Sharp/Cacko that enables to use two wallpapers, one for portrait and one for landscape. Not sure if that will work but i will try to dig up the tip and have a go...

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #19 on: November 16, 2006, 02:03:30 pm »
I was a bit aginst using Rox for a while, but seeing as you mentioned it I loaded it up and it looks rather good in Icewm (it didn't really look that right against fluxbox's leet-style themes).

Having the same problem with rotation which is rather annoying as I've been trying hard to make my Z more usable when in 'pda' mode....

If you hit a solution I'm all ears, until then I'll only iconulate(!) 480x480pixels

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #20 on: November 16, 2006, 03:27:05 pm »
The main thing that is driving me nuts with IceWM, is keys 1 - 4 bound to zoom and brightness when holding the Fn key.

I have mapped all the function keys to the Fn modifier, but 1,2,3,4 are overridden. I know that this is enabled by the defaulserverargs -kb setting in the startx script, but if I remove it then I cant use shift to select text in apps like leafpad, notecase etc.

Anyone know where the brightness keys re conigured so I can disable it?

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #21 on: November 16, 2006, 04:29:24 pm »
again, I posted too soon! The answer is in /etc/xkmc I commented out the 4 mappings and now all is good. Could be useful using this file t remap keys that use the Fn (mode_switch) modifier as it doesn't seem to work with xmodmap

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Icewm - The Ultimate Configuration
« Reply #22 on: February 18, 2007, 05:04:07 am »
I'm using icewv nude&crude (no session managers ... etc) is it possible to have the CF/SD applet to eject the devices ?
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #23 on: February 18, 2007, 09:34:06 am »
I recall someone says it is possible to use matchbox applet in icewm, but no detail is given. I still don't see the way to put matchbox applets in the tool bar. I'm also eager to know how.
Although not the fastest wm, I choose to stick with icewm because it's straightforwardness and ease to configure. There are many features I like: full screen mode and collapsible panel, the transparent keymapping.
« Last Edit: February 18, 2007, 09:34:56 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #24 on: February 18, 2007, 02:15:55 pm »
You need to run icewmtray before the applet so it will appear in the tray. Here is part of my .xinitrc as an example

Code: [Select]
xset +fp /usr/X11R6/lib/X11/fonts/artwiz
xset fp rehash
killall esd
esd &
chkhinge
icewm 2>/dev/null >/dev/null & wmpid=$!

feh --bg-scale $wallpaper & >/dev/null
icewmtray & >/dev/null
virtkbd &
mrxvt -iconic &
torsmo & >/dev/null
mb-applet-menu-launcher & >/dev/null
mb-applet-volume & >/dev/null
mb-applet-cards & >/dev/null
mb-applet-battery &

# HANG POINT - wait for windowmanager to exit
wait $wmpid

I have xvkbd and mrxvt run by default and appear only in the tray by modifying winoptions.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #25 on: February 18, 2007, 05:18:54 pm »
Thanks, zi99y. I followed your script and put four mb-applets there. It works!
To Louigi600: Use Meanie's mb-applet-cards instead of the original one, because it has an additional control for USB devices.  

Some issues:
Only two applets can be shown in my toolbar.
Also it seems some applet behaves a but strangely. For example, in mb-applet-system-monitor the two color bars are not in position displaying below the edge. Is this because of the (shorter) height of the toolbar in icewm than that in matchbox?
« Last Edit: February 18, 2007, 05:19:30 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #26 on: February 19, 2007, 02:39:26 am »
odd mine fit fine, maybe theres some setings in the prederences file?

im using the truecurve theme so maybe its theme dependant...

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Icewm - The Ultimate Configuration
« Reply #27 on: February 19, 2007, 10:12:58 am »
Quote
You need to run icewmtray before the applet so it will appear in the tray. Here is part of my .xinitrc as an example

Code: [Select]
...
icewm 2>/dev/null >/dev/null & wmpid=$!

feh --bg-scale $wallpaper & >/dev/null
icewmtray & >/dev/null
...
mb-applet-cards & >/dev/null
...
wait $wmpid

I have xvkbd and mrxvt run by default and appear only in the tray by modifying winoptions.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154608\"][{POST_SNAPBACK}][/a][/div]
I made a quick attempt with the original one (I've c860 and c760 so the usb stuff is not an issue) but something went wrong:
The applet appears but if I click on it I get a seg fault ... will meani's package fix this ?
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #28 on: February 19, 2007, 10:16:55 am »
Not sure why you're getting that, will any other applets work or do they all segfault?

I installed meanie's mb-applet-cards ipk but now it will not work, I get "ejecting card failed" (or similar) message when I click on either item... I like the new usb option but will have to fix this problem some how.

I suspect it's to do with permissions as I am not a root user by default.

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Icewm - The Ultimate Configuration
« Reply #29 on: February 19, 2007, 10:37:08 am »
I can start them ... but none do anything usefull:
the card applet segfaults when I click on it
the clock is stuck at 16:26 (nothing happens if I click on it)
and I bet the battery would be stuck too (nothing happens if I click on it)

Oh ... I haveto correct myself ... the clock is running but changes time about 20/30 seconds after the system clock.
« Last Edit: February 19, 2007, 10:48:51 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing