You are not logged in.
I am using Qtile installed from the official pacman repo as well as thunar and nautilus.
The first time after boot launching any file manager takes a long time to run but after then it is quick as normal.
Last edited by dezire (2021-06-23 16:30:39)
Offline
How are you starting qtile? If via startx and your .xinitrc doesn't follow the correct template then you will not have an active dbus session which is what all of these rely on: https://wiki.archlinux.org/title/Xinit#xinitrc
Terminal output from such an attempted first start?
Offline
** (org.gnome.Nautilus:1147): WARNING **: 21:30:28.324: Unable to get contents of the bookmarks file: Error opening file /home/dezire/.gtk-bookmarks: No such file or directorythis is the first line and yes I am using Xinit
Offline
That's unlikely to be the issue how does your .xinitrc look like?
Offline
The first time after boot launching any file manager takes a long time to run but after then it is quick as normal.
Sounds like a disk I/O issue to me. First launch is read from disk and rest from RAM cache. Do you use a rotating drive or a non-rotating one? Are other heavyweight programs (Firefox, Chromium...) also slow?
Offline
Ok so this worked for me
exec dbus-launch --exit-with-session qtileOffline
Offline
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#nitrogen --restore &
xwinwrap -fs -fdt -ni -b -nf -un -ov -o 1.0 -debug -- mpv -wid WID --loop --no-audio ~/Downloads/wallpapers/mylivewallpapers.com-Shiki-Ryougi-Fate-Grand-Order.mp4 &
picom &
lxqt-policykit-agent &
exec dbus-launch --exit-with-session qtileOffline
Please replace "exec dbus-launch --exit-with-session qtile" w/ "exec qtile" and check the outputs of
echo $DBUS_SESSION_BUS_ADDRESS
loginctl session-statusEdit: also please quantify "long time" - the dbus timeout suspected through this thread (and supported by your würgaround) is 25 seconds. Does that fit the delay?
Last edited by seth (2021-07-08 21:28:32)
Offline