icewm in gnome environment does not work

Bug #571704 reported by Vincent Génieux
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
icewm (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: icewm-gnome-support

release: Ubuntu 10.04 LTS
package: icewm-gnome-support
version: 1.3.6-1

Unable to use icewm as window manager in gnome-desktop environment.

Ideally, modifying the gconf-editor key
/desktop/gnome/session/required_components/windowmanager=icewm
should be enough to have icewm loaded (instead of metacity).

Proposed solution :

To see this use-case working, many modifications are required :

1) add a desktop file for icewm :
cat > /usr/share/applications/icewm.desktop << EOF
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Icewm
Exec=icewm-gnome
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=
# autostart phase
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
# name we put on the WM spec check window
X-GNOME-WMName=icewm
# back compat only
X-GnomeWMSettingsLibrary=icewm
X-Ubuntu-Gettext-Domain=icewm
EOF

2) modify the /usr/bin/icewm-gnome script to enable gnome session management :
cat > /usr/bin/icewm-gnome << EOF
#!/bin/sh
which icewm-experimental >/dev/null && exec icewm-experimental --client-id=$DES$
which icewm >/dev/null && exec icewm --client-id=$DESKTOP_AUTOSTART_ID
which icewm-lite >/dev/null && exec icewm-lite --client-id=$DESKTOP_AUTOSTART_ID
EOF

By modifying these files, everything is working well.

Thank you for your really good job guys !

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: icewm-gnome-support 1.3.6-1 [modified: usr/bin/icewm-gnome]
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Apr 29 14:21:24 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 (20100419.1)
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: icewm

Revision history for this message
Vincent Génieux (vgenieux) wrote :
Revision history for this message
Andreas Leitgeb (avl-logic) wrote :

I hope this isn't just auto-ignored for the (entirely irrelevant) "NonfreeKernelModules: nvidia"-line...

Revision history for this message
Andreas Leitgeb (avl-logic) wrote :

I still had to also add icewm-gnome as a startup-application.

Also: the command to overwrite icewm-gnome in the original report needs some minor correction:

cat > /usr/bin/icewm-gnome << 'EOF'
#!/bin/sh
which icewm-experimental >/dev/null && exec icewm-experimental --client-id=$DESKTOP_AUTOSTART_ID
which icewm >/dev/null && exec icewm --client-id=$DESKTOP_AUTOSTART_ID
which icewm-lite >/dev/null && exec icewm-lite --client-id=$DESKTOP_AUTOSTART_ID
EOF

(the EOF in first line is 'quoted', and the variable name passed to icewm-experimental is corrected.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.