[SOLVED] Evince & Thunar Are Slow To Start In Awesome WM

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED] Evince & Thunar Are Slow To Start In Awesome WM

Postby lxkraken » 2019-09-13 20:43

I recently discovered Awesome WM and really enjoy using it. The only issue I've found is getting certain pieces of software like Evince and Thunar to start up in a timely manner. It takes 25 seconds for either to start. I use startx and the .xinitrc file to start my session.

I found this recent (solved) thread on the Arch Linux forums which suggests some changes to the .xinitrc file. Those changes do nothing for me however. What's really odd is that if I start Evince in a session of KDE, it starts up normally. I get the feeling this has something to do with dbus, but I have no idea what KDE is doing that Awesome isn't.

Any ideas?
Last edited by lxkraken on 2019-09-14 23:42, edited 1 time in total.
lxkraken
 
Posts: 5
Joined: 2015-01-16 18:01

Re: Evince & Thunar Are Slow To Start In Awesome WM On Debia

Postby ruwolf » 2019-09-14 18:55

Have you read https://wiki.debian.org/Awesome wiki.debian.org: Awesome?
It recommends to start it by
Code: Select all
ck-launch-session awesome
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: Evince & Thunar Are Slow To Start In Awesome WM On Debia

Postby lxkraken » 2019-09-14 22:50

ruwolf wrote:Have you read https://wiki.debian.org/Awesome wiki.debian.org: Awesome?
It recommends to start it by
Code: Select all
ck-launch-session awesome


I'm embarrassed to say that no, I haven't. :roll:

However, it doesn't seem like consolekit is in the Buster repositories... It's in Sid, however.

EDIT: I found the solution! This command did the trick:

Code: Select all
exec dbus-launch --sh-syntax awesome
lxkraken
 
Posts: 5
Joined: 2015-01-16 18:01

Re: [SOLVED] Evince & Thunar Are Slow To Start In Awesome WM

Postby Filder » 2020-03-23 17:44

This was exactly, what I was looking for. Indeed in a freshly upgraded system from Stretch to Buster NO "ck-launch-session" command is available anymore. I used this syntax for starting an xfce4-session "exec dbus-launch --sh-syntax startxfce4".
Filder
 
Posts: 3
Joined: 2011-05-27 19:16

Re: [SOLVED] Evince & Thunar Are Slow To Start In Awesome WM

Postby Filder » 2020-03-23 19:57

After a bit of research I found out, that it is not necessary to call "dbus-launch", because to open up a "dbus-user-session-bus" is initiated by systemd. From Debian Stretch onward it was possible to run the XServer as user and NOT as root anymore, when some requirements were fulfilled(see at the end of this page https://www.debian.org/releases/stretch ... ew.en.html). But the "dbus-user-session-bus" this time could only be initiated by the command "ck-launch-session", which is part of "ConsoleKit" (Please see: https://freedesktop.org/wiki/Software/ConsoleKit/). In Buster is "ConsoleKit" replaced by "systemd-logind". After login (using NO graphical login manager like gdm3) the login shell starts and "systemd" knows, which user should be tracked and therefore any Interprocess-Communication via D-Bus is done by "systemd". It does it by calling internally "dbus-launch". So the final command in file "~/.xsession" in my case was just "exec startxfce4".
Filder
 
Posts: 3
Joined: 2011-05-27 19:16


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable