Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 6579  / 2 Years ago, sat, december 11, 2021, 2:22:59

tl;dr Is there a generic guide to set up GNOME background services to work with Awesome WM on any Ubuntu?



The official guide doesn't seem to have been updated since Ubuntu 11.10. Another guide is slightly more up to date, but after upgrading to 12.10:




  1. GNOME panels on the top and bottom of the first monitor. They shouldn't be there.

  2. Awesome WM background image.

  3. Awesome panels on the second monitor.

  4. Awesome controls work (Mod4+number to go to tag, etc.).



After upgrading to 13.04 today it's even worse:




  1. GNOME panels on the top and bottom of the first monitor. Still shouldn't be there.

  2. No panels on the second monitor.

  3. Awesome WM background image.

  4. feh error message when logging in even though it is installed. Sorry, can't copy it here since I can't reproduce (see below).

  5. Windows are placed at X=0 and Y=something like -10 (the window title bars are about 90% offscreen). This means I can't access the menu in the top panel without closing all open applications (since they can't be moved by dragging with either Mod4 or Meta held down).

  6. Some GNOME keyboard shortcuts work (Ctrl+Meta+Del, Ctrl+Meta+t), but not others (Meta+F1).

  7. No Awesome keyboard or mouse controls work (Mod4+number, Mod4+Enter, Mod4+mouse drag).



Points 3 and 4 only happened the first time after rebooting into 13.04; on the second login I get the Ubuntu background image and no feh error message.



The command I cobbled together to setup "Awesome GNOME" based on the guide (reformatted for readability):



sudo sh -c '
apt-get install awesome awesome-extra gnome-session-fallback notification-daemon &&
printf "%s
" "[Desktop Entry]" "Version=1.0" "Type=Application" "Name=awesome" "TryExec=awesome" "Exec=awesome" | tee /usr/share/applications/awesome.desktop &&
printf "%s
" "[Desktop Entry]" "Name=Gnome with Awesome" "Comment=Gnome with Awesome as window manager" "TryExec=gnome-session" "Exec=gnome-session --session=awesome" "Type=Application" | tee /usr/share/xsessions/gnome-awesome.desktop &&
printf "%s
" "[GNOME Session]" "Name=Awesome" "RequiredComponents=gnome-panel;gnome-settings-daemon;" "RequiredProviders=windowmanager;notifications;" "DefaultProvider-windowmanager=awesome" "DefaultProvider-notifications=notification-daemon" | tee /usr/share/gnome-session/sessions/awesome.session'


@RolandSommer's answer fixed most of the issues. In the meantime I worked around a crash by commenting out all awful.util.spawn entries.


More From » 12.10

 Answers
1

You have gnome-panel as requirement in your session description, so you are actually requesting the panels to be there.



Besides the gnome-panel-requirements I use the exact same setup within Ubuntu 13.04 and it works perfect.



Change



RequiredComponents=gnome-panel;gnome-settings-daemon;


to



RequiredComponents=gnome-settings-daemon;


and you are set.


[#31581] Sunday, December 12, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
memorrappin

Total Points: 325
Total Questions: 122
Total Answers: 100

Location: Armenia
Member since Sat, Sep 12, 2020
4 Years ago
;