You are not logged in.
Pages: 1
Topic closed
Hi all,
I am using ./xinitrc to start xsessions. My .xinitrc file is copied from default /etc/X11/xinit/xinitrc file.
#!/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
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
# exec awesome
exec dwmIf I open evince in dwm or awesome just after bootup, it takes very long time to open. After that first, evince is ok and fast to open.
$ strace evince myfile.pdfshows that it is taking long time here at
poll([{fd=10, events=POLLIN}], 1, 25000) = 1 ([{fd=10, revents=POLLIN}])
read(10, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=10, events=POLLIN}], 1, 25000I found this https://bbs.archlinux.org/viewtopic.php?id=239331
But the issue I am experiencing is not like that, I think.
If I open evince in sway, it is normal, fast to open.
Is there anyone having that issue?
Thanks all...
Last edited by duyinthee (2022-08-16 00:50:44)
Offline
w/o context and knowing what fd 10 actually is, this is pretty useless.
Wild guess:
pacman -Qs 'flatpak|portal'Offline
I don't have flatpak installed but portal.
$ pacman -Qs 'flatpak|portal'
local/xdg-desktop-portal 1.14.6-1
Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-wlr 0.6.0-1
xdg-desktop-portal backend for wlroots$ pacman -Qi xdg-desktop-portal
Name : xdg-desktop-portal
Version : 1.14.6-1
Description : Desktop integration portals for sandboxed apps
Architecture : x86_64
URL : https://github.com/flatpak/xdg-desktop-portal
Licenses : LGPL
Groups : None
Provides : None
Depends On : glib2 pipewire fuse3 geoclue2 rtkit systemd
xdg-desktop-portal-impl
Optional Deps : None
Required By : xdg-desktop-portal-wlr
Optional For : firefox flameshot
Conflicts With : None
Replaces : None
Installed Size : 1941.54 KiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Tue 02 Aug 2022 10:03:27 PM +0630
Install Date : Wed 03 Aug 2022 10:10:07 AM +0630
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signatureand
$ pacman -Qi xdg-desktop-portal-wlr
Name : xdg-desktop-portal-wlr
Version : 0.6.0-1
Description : xdg-desktop-portal backend for wlroots
Architecture : x86_64
URL : https://github.com/emersion/xdg-desktop-portal-wlr
Licenses : MIT
Groups : None
Provides : xdg-desktop-portal-impl
Depends On : xdg-desktop-portal pipewire pipewire-session-manager
libinih
Optional Deps : slurp: to choose which output to screencast using slurp
[installed]
wofi: to choose which output to screencast using wofi
[installed]
bemenu: to choose which output to screencast using bemenu
[installed]
Required By : xdg-desktop-portal
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 101.62 KiB
Packager : Christian Rebischke <Chris.Rebischke@archlinux.org>
Build Date : Sat 11 Jun 2022 11:29:35 PM +0630
Install Date : Sat 02 Jul 2022 04:01:46 PM +0630
Install Reason : Explicitly installed
Install Script : No
Validated By : SignatureShould I remove them?
Actually, the way I am using is not so clean because I use sway, dwm and awesome. So, back and forth Wayland and X11.
Offline
Should I remove them?
Yup.
Offline
Yeah, removing those packages solved the problem.
Offline
I also encounter this problem in this days.
My desktop environment is Cinnamon.
So, these packages:
* xdg-desktop-portal-xapp
* xdg-desktop-portal-gtk
* xdg-desktop-portal
* libportal-gtk3
* libportal
are necessary dependencies for Cinnamon.
Finally, I discover `xdg-desktop-portal-gnome` is not necessary, so I remove it.
This problem is solved for me.
Last edited by curlywei (2023-06-13 09:56:41)
Offline
Closing this old solved topic.
Offline
Pages: 1
Topic closed