Package Details: awesome-gnome 2.3-1

Git Clone URL: https://aur.archlinux.org/awesome-gnome.git (read-only, click to copy)
Package Base: awesome-gnome
Description: Setup awesome as window manager of GNOME 3
Upstream URL: http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome
Keywords: awesome gnome
Licenses: CCPL
Submitter: dynamo
Maintainer: dynamo (stas-t)
Last Packager: stas-t
Votes: 9
Popularity: 0.000001
First Submitted: 2016-06-19 05:14 (UTC)
Last Updated: 2020-02-27 20:25 (UTC)

Latest Comments

stas-t commented on 2020-07-14 16:20 (UTC) (edited on 2020-07-14 16:23 (UTC) by stas-t)

I'm using a (highly) customized version of ~/.config/awesome/rc.lua and it contains these lines:

function awesome_gnome_quit()
    awesome.quit()
    awful.spawn.with_shell("killall xss-lock ; gnome-session-quit --logout --no-prompt")
end

And I'm using awesome_gnome_quit instead of awesome.quit everywhere in my local rc.lua script.

I'm not sure if modification of the original /etc/xdg/awesome/rc.lua should be in the scope of this package, so I would recommend you to update ~/.config/awesome/rc.lua instead.

marcinn commented on 2020-07-14 14:21 (UTC)

oops! So the answer is - works for me. But I had issues with gnome-session-quit.

sogens666 commented on 2020-07-14 14:02 (UTC)

thats what I was using in the first place to cause the freeze haha

marcinn commented on 2020-07-14 12:02 (UTC)

You can try to logout by calling awesome-client "awesome.quit()".

sogens666 commented on 2020-07-14 11:58 (UTC)

im having trouble logging out it always freezes anyone know anything about this ?

marcinn commented on 2020-04-29 19:19 (UTC)

Thanks!

stas-t commented on 2020-04-29 19:14 (UTC)

@marcinn: yes, there is one tip if you're using autorandr: https://bugs.archlinux.org/task/66419

marcinn commented on 2020-04-29 19:04 (UTC)

Hi. After latest OS updates I've got blank screen and awesome is not loading. Any tips?

stas-t commented on 2020-02-27 20:52 (UTC)

Thanks @dynamo! I've pushed my updates: they should fix the startup failure, until the next GNOME release at least :)

Locally I also put notification-daemon just before awesome in RequiredComponents of awesome.session. I personally prefer that missed notifications don't disappear and I can review them. Pls let me know if I need to push these changes as well.

dynamo commented on 2020-02-25 15:47 (UTC)

Cool @stas-t. I updated to you can maintain this package.

marcinn commented on 2020-01-13 22:12 (UTC)

--builtin

Bless you, stas-t. Works again.

BTW: I have patch ready to commit.

stas-t commented on 2020-01-12 20:17 (UTC) (edited on 2020-01-12 20:17 (UTC) by stas-t)

Hi dynamo,

I think I can do this for some time. Two things have to be fixed a.t.m.:

  • remove two items from awesome.session which I mentioned before

  • in awesome-gnome.desktop use gnome-session --builtin --session=awesome: this will prevent gnome-shell from starting when starting from XDM/GDM

I will have to follow GNOME blogs and use e.g. this Git repo as a reference: https://github.com/i3-gnome/i3-gnome/

dynamo commented on 2020-01-10 17:37 (UTC)

I no longer use Archlinux and switch to use Awesome only, so we need other maintainer(s). Please notice me if anyone can do that.

stas-t commented on 2019-10-27 08:51 (UTC)

You can read more about this approach here: https://wiki.archlinux.org/index.php/Xinit#xinitrc

stas-t commented on 2019-10-27 08:27 (UTC) (edited on 2019-10-27 08:48 (UTC) by stas-t)

@frydac: Sorry for providing you incomplete information. I've just made some checks and:

It seems that gdm now alway starts gnome-shell for gnome-session indeed.

Because of this the option to start awesome-gnome I know of is via startx from console. For that you need ~/.xinitrc file. Mine looks like

eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
export GDK_BACKEND=x11
env GDK_DPI_SCALE=0.72 GTK_THEME=Materia-dark-compact systemd-cat \
  /usr/lib/notification-daemon-1.0/notification-daemon &
exec gnome-session --session=awesome

If this works for you and you like the result - you may stop and disable gdm.service and use normal console login. Note: for security reasons you may want to run your session with exec startx so that if Xorg dies for any reason - the user will have to re-authenticate again.

UPD: The main point is that exec gnome-session ... call should appear in .xinitrc and then it will be called when Xorg process is running.

frydac commented on 2019-10-26 11:17 (UTC) (edited on 2019-10-26 11:57 (UTC) by frydac)

Hi,

Thanks for the info, although I haven't been able to get it to work thus far.

After updating my system, I've removed and reinstalled awesome-gnome.
I've removed

org.gnome.SettingsDaemon.Clipboard
org.gnome.SettingsDaemon.Mouse

from /usr/share/gnome-session/sessions/awesome.session

I have checked:

~   
▶ ls /etc/xdg/autostart/org.gnome.SettingsDaemon.*.desktop|wc -l
17

~   
▶ grep -ri Awesome /etc/xdg/autostart/org.gnome.SettingsDaemon.*.desktop|wc -l
17

I have executed gnome-control-center keyboard

Also I have tried to change Exec=awesome to gnome-session-awesome taken from the github repository in /usr/share/applications/awesome.desktop (not sure this .desktop file was where this should be changed)

I do use gdm, not sure how to circumvent this and use exec gnome-session --session=awesome, tried this after starting into gnome, but it seemed to hang. But when I choose Awesome-gnome in gdm, it takes some time and it starts normal gnome. At first there was an error message, which after the above actions isn't there anymore though.

I guess I'll have to read more about gnome sessions and how awesome-gnome integrates into this, any suggestions on how to troubleshoot this would be nice.

stas-t commented on 2019-10-23 12:34 (UTC) (edited on 2019-10-23 12:35 (UTC) by stas-t)

@marcinn: As I said - I've got mine running after removal (sudo pacman -R awesome-gnome) and installing it again, then after removal of Clipboard/Mouse from the session file.

Note: I needed removal of the package because otherwise it wouldn't run its post-install script (awesome-gnome.install) which prepares what you lacking exactly, i.e. GNOME integration: https://aur.archlinux.org/cgit/aur.git/tree/awesome-gnome.install?h=awesome-gnome

gnome-control-center will crash if you have selected there e.g. Display - and it's known problem because mutter is not running. But most components would work once you fix gnome integration, e.g.:

gnome-control-center keyboard

Run these checks to verify that you allow all gnome components in your awesomewm session:

% ls /etc/xdg/autostart/org.gnome.SettingsDaemon.*.desktop|wc -l
17
% grep -ri Awesome /etc/xdg/autostart/org.gnome.SettingsDaemon.*.desktop|wc -l
17

Both commands should give you the same output - that's the number of gnome components present your gnome setup.

marcinn commented on 2019-10-21 07:14 (UTC)

Hi.

It's not working after reinstallation and removal of Clipboard/Mouse.

I've got Awesome running after changing Exec to /usr/bin/gnome-session-awesome taken from https://github.com/SirJson/awesomewm-gnome/blob/master/session/awesome-gnome, but there is no integration with gnome stack (no ssh agent, strange fonts, core dump on gnome-control-center).

marcinn commented on 2019-10-15 13:40 (UTC)

Many thanks, I'll try this.

stas-t commented on 2019-10-15 13:15 (UTC) (edited on 2019-10-15 13:27 (UTC) by stas-t)

Yes, I'm using one. However there are few tricks to make it work:

  • after upgrading either gnome-settings-daemon or gnome-disk-utility you have to uninstall awesome-gnome package and install it again so it runs its script to update all /etc/xdg/autostart/org.gnome.SettingsDaemon.*.desktop files

  • as I said before - afterwards you also need to remove org.gnome.SettingsDaemon.Clipboard and org.gnome.SettingsDaemon.Mouse from awesome.session because these are no longer available in GNOME 3.24

Then you can start awesome session. I'm not using gdm recently, just have my ~/.xinitrc and starting the session directly with "exec startx".

UPD: The easiest way to try to start it from the console:

exec gnome-session --session=awesome

tiborg commented on 2019-10-15 13:13 (UTC)

@marcinn I was also unable to get it working. :-/

marcinn commented on 2019-10-15 13:02 (UTC)

Does anybody got working AwesomeWM on Gnome 3.34, which is using systemd based sessions?

marcinn commented on 2019-10-11 01:10 (UTC)

After removing Clipboard and Mouse compontents, awesome session starts with a Gnome Shell instead of Awesome.

stas-t commented on 2019-09-20 11:04 (UTC) (edited on 2019-09-20 11:04 (UTC) by stas-t)

Please, also remove these two from RequiredComponents in awesome.session:

  • org.gnome.SettingsDaemon.Clipboard

  • org.gnome.SettingsDaemon.Mouse

Otherwise after upgrading GNOME to 3.34 Awesome session will fail to start.

korylprince commented on 2018-03-29 15:27 (UTC)

They've remove the org.gnome.SettingsDaemon.A11yKeyboard plugin, so that should be removed from awesome.session.

https://github.com/GNOME/gnome-settings-daemon/commit/9553071d0

niv commented on 2018-02-19 20:41 (UTC) (edited on 2018-02-19 20:42 (UTC) by niv)

install file should be updated, as this throws error: [2018-02-19 21:29] [ALPM-SCRIPTLET] sed: can't read /etc/xdg/autostart/gnome-settings-daemon.desktop: No such file or directory

this file is now splitted and lives under: /etc/xdg/autostart/org.gnome/SettingsDaemon.*.desktop

see pacman -Ql gnome-settings-daemon | grep autostart

use something like: find /etc/xdg/autostart -name 'org.gnome.SettingsDaemon.*.desktop' | xargs sed -i '/^OnlyShowIn=/s/GNOME;/GNOME;Awesome;/'

to make it work again.

dynamo commented on 2017-12-07 08:48 (UTC)

@tiborg I fixed it. Sorry because I had just spent a long no computer times.

tiborg commented on 2017-11-07 06:37 (UTC)

Hey, You've forgot to change awesome.session md5sum in your last commit.

dynamo commented on 2017-11-07 04:24 (UTC)

Thanks @korylprince, I will update soon

korylprince commented on 2017-10-20 20:12 (UTC)

They removed the Orientation and XRANDR gnome-settings-daemon plugins: https://bugzilla.gnome.org/show_bug.cgi?id=782231 Current versions of gnome-session, gnome-settings-daemon, awesome and awesome-gnome don't work without removing org.gnome.SettingsDaemon.Orientation and org.gnome.SettingsDaemon.XRANDR from RequiredComponents.