You are not logged in.
When I try to "save as", "Download", or "Upload" from within Google Chrome, MS Edge, or Brave, the dialogue box does not appear. However, it appears and works normally with Firefox. This problem happened all of a sudden almost three or four months ago, probably after some update. My system is always updated almost daily.
Last edited by ArchInUvic (2024-04-24 07:10:34)
Offline
pacman -Qs 'portal|flatpak'
Edit: probably also
loginctl session-status
Last edited by seth (2024-04-22 20:45:28)
Offline
sudo pacman -Qs 'portal|flatpak'
local/libportal 0.7.1-2
GIO-style async APIs for most Flatpak portals
local/libportal-gtk3 0.7.1-2
GIO-style async APIs for most Flatpak portals - GTK 3 backend
local/libportal-gtk4 0.7.1-2
GIO-style async APIs for most Flatpak portals - GTK 4 backend
local/xdg-desktop-portal 1.18.4-1
Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-gtk 1.15.1-2
A backend implementation for xdg-desktop-portal using GTK
local/xdg-desktop-portal-xapp 1.0.4-1
A backend implementation for xdg-desktop-portal using GTK and various pieces of Cinnamon/MATE/Xfce4 infrastructure
loginctl session-status
1 - wyousef (1000)
Since: Sun 2024-04-21 15:53:10 PDT; 7h ago
State: active
Leader: 1248 (login)
Seat: seat0; vc1
TTY: tty1
Remote: no
Service: login
Type: tty
Class: user
Idle: yes since Sun 2024-04-21 15:53:20 PDT ((null))
Unit: session-1.scope
├─ 1248 "login -- wyousef"
├─ 1696 -bash
├─ 1848 /bin/sh /usr/bin/startx
├─ 1863 xinit /home/wyousef/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.6cU0Onk9YA
├─ 1864 /usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.6cU0Onk9YA
├─ 1868 xf86-video-intel-backlight-helper intel_backlight
├─ 1883 awesome
├─ 1895 xbindkeys -p
├─ 1902 xss-lock slock
├─ 1903 keepassxc
├─20125 /usr/lib/firefox/firefox
├─20223 /usr/lib/firefox/firefox -contentproc -parentBuildID 20240416221418 -prefsLen 33729 -prefMapSize 241969 -appDir /usr/lib/firefox/browser {925bcfb7-2daf-452c-9779-e69702d86149} 20125 true socket
├─20236 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 33870 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firef…
├─20293 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 39231 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firef…
├─20342 /usr/lib/firefox/firefox -contentproc -parentBuildID 20240416221418 -sandboxingKind 0 -prefsLen 39337 -prefMapSize 241969 -appDir /usr/lib/firefox/browser {e001d130-9178-423d-b9d8-2ef82712defe} 20125 true utility
├─20350 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 31440 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firef…
├─22502 /usr/lib/firefox/firefox -contentproc -parentBuildID 20240416221418 -prefsLen 39451 -prefMapSize 241969 -appDir /usr/lib/firefox/browser {096c919b-9049-4622-9ad3-9f283ac32e7e} 20125 true rdd
├─24009 /usr/lib/firefox/firefox -contentproc -childID 14 -isForBrowser -prefsLen 31685 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/fire…
├─25519 flameshot
├─29950 /usr/lib/firefox/firefox -contentproc -childID 34 -isForBrowser -prefsLen 31832 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/fire…
├─29981 /usr/lib/firefox/firefox -contentproc -childID 35 -isForBrowser -prefsLen 31832 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/fire…
├─30028 /usr/lib/firefox/firefox -contentproc -childID 36 -isForBrowser -prefsLen 31832 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/fire…
├─33420 ntpd -u ntp:ntp
├─34014 /usr/lib/firefox/firefox -contentproc -childID 37 -isForBrowser -prefsLen 31832 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/fire…
├─34017 /usr/lib/firefox/firefox -contentproc -childID 38 -isForBrowser -prefsLen 31832 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/fire…
├─34022 /usr/lib/firefox/firefox -contentproc -childID 39 -isForBrowser -prefsLen 31832 -prefMapSize 241969 -jsInitLen 234952 -parentBuildID 20240416221418 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/fire…
├─54084 emacs --daemon -f configuration-layer/update-packages
├─55439 emacs
├─55448 /usr/bin/aspell -a -m -B -p /home/wyousef/.emacs.d.loadpath/MyPersonalDictionary.txt --encoding=utf-8
├─56513 /usr/bin/aspell -a -m -B -p /home/wyousef/.emacs.d.loadpath/MyPersonalDictionary.txt --encoding=utf-8
├─56532 /opt/microsoft/msedge/msedge
├─56536 cat
├─56537 cat
├─56539 /opt/microsoft/msedge/msedge_crashpad_handler --monitor-self --monitor-self-annotation=ptype=crashpad-handler "--database=/home/wyousef/.config/microsoft-edge/Crash Reports" --metrics-dir=/home/wyousef/.config/microsoft-edge --annotation=IsOffic…
├─56541 /opt/microsoft/msedge/msedge_crashpad_handler --no-periodic-tasks --monitor-self-annotation=ptype=crashpad-handler "--database=/home/wyousef/.config/microsoft-edge/Crash Reports" --annotation=IsOfficialBuild=1 --annotation=exe=msedge "--annotati…
├─56547 "/opt/microsoft/msedge/msedge --type=zygote --no-zygote-sandbox --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable"
├─56548 "/opt/microsoft/msedge/msedge --type=zygote --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable"
├─56550 "/opt/microsoft/msedge/msedge --type=zygote --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable"
├─56578 "/opt/microsoft/msedge/msedge --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_co…
├─56586 "/opt/microsoft/msedge/msedge --type=utility --utility-sub-type=storage.mojom.StorageService --lang=en-US --service-sandbox-type=utility --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8…
├─56605 "/opt/microsoft/msedge/msedge --type=renderer --crashpad-handler-pid=56539 --enable-crash-reporter=, --instant-process --change-stack-guard-on-fork=enable --lang=en-US --js-flags=--ms-user-locale= --num-raster-threads=2 --enable-main-frame-befor…
├─56624 "/opt/microsoft/msedge/msedge --type=renderer --crashpad-handler-pid=56539 --enable-crash-reporter=, --extension-process --renderer-sub-type=extension --change-stack-guard-on-fork=enable --lang=en-US --js-flags=--ms-user-locale= --num-raster-thr…
├─56672 /usr/bin/keepassxc-proxy chrome-extension://pdffhmdngciaglkoonimfcmckehcpafo/
├─56694 "/opt/microsoft/msedge/msedge --type=gpu-process --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAEAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA…
├─56765 "/opt/microsoft/msedge/msedge --type=renderer --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=en-US --js-flags=--ms-user-locale= --num-raster-threads=2 --enable-main-fra…
├─56813 "/opt/microsoft/msedge/msedge --type=renderer --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=en-US --js-flags=--ms-user-locale= --num-raster-threads=2 --enable-main-fra…
├─56822 "/opt/microsoft/msedge/msedge --type=renderer --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=en-US --js-flags=--ms-user-locale= --num-raster-threads=2 --enable-main-fra…
├─56857 "/opt/microsoft/msedge/msedge --type=renderer --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=en-US --js-flags=--ms-user-locale= --num-raster-threads=2 --enable-main-fra…
├─56909 "/opt/microsoft/msedge/msedge --type=renderer --crashpad-handler-pid=56539 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --disable-gpu-compositing --lang=en-US --js-flags=--ms-user-locale= --num-raster-threads=2 --enable-main-fra…
├─57215 xterm
├─57217 bash
└─57404 /usr/bin/loginctl session-status
Apr 22 14:39:50 localhost ntpd[33420]: new interface(s) found: waking up resolver
Apr 22 14:40:19 localhost ntpd[33420]: Deleting interface #57 wlp4s0, 192.168.1.67#123, interface stats: received=0, sent=0, dropped=0, active_time=29 secs
Apr 22 14:40:23 localhost ntpd[33420]: Listen normally on 58 wlp4s0 192.168.1.67:123
Apr 22 14:40:23 localhost ntpd[33420]: new interface(s) found: waking up resolver
Apr 22 14:43:42 localhost sudo[57248]: wyousef : TTY=pts/1 ; PWD=/home/wyousef ; USER=root ; COMMAND=/usr/bin/pacman -Qs portal|flatpak
Apr 22 14:43:42 localhost sudo[57248]: pam_unix(sudo:session): session opened for user root(uid=0) by wyousef(uid=1000)
Apr 22 14:43:42 localhost sudo[57248]: pam_unix(sudo:session): session closed for user root
Apr 22 14:44:05 localhost sudo[57262]: wyousef : TTY=pts/1 ; PWD=/home/wyousef ; USER=root ; COMMAND=/usr/bin/pacman -Qs portal|flatpak
Apr 22 14:44:05 localhost sudo[57262]: pam_unix(sudo:session): session opened for user root(uid=0) by wyousef(uid=1000)
Apr 22 14:44:05 localhost sudo[57262]: pam_unix(sudo:session): session closed for user root
Offline
Please post your xinitrc and see the last link below (2nd blue note about what to include at least)
Also, as a general heads-up, see https://wiki.archlinux.org/title/Networ … e_hostname - "localhost" isn't a very good idea, will frequently be replaced by eg. networkmanager and eg. X11 is hostname sensitive and will just "break" in that cae.
Offline
Thanks for your replies. Here is my xinitrc.
#!/usr/bin/bash
# /usr/bin/prime-offload
# session=${1:-laptop}
# case $session in
# desktop )
# userresources=.XresourcesDesktop;;
# laptop )
# userresources=.Xresources;;
# *) userresources=.Xresources;;
# esac
# echo "$session " "$userresources"
export BROWSER=microsoft-edge-stable
userresources=.Xresources
usermodmap=.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
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
xbindkeys -p
# Arabic keyboard
setxkbmap -layout us,ara -option grp:shifts_toggle
# # "SynPS/2 Synaptics TouchPad"
# xinput --set-prop 13 'libinput Tapping Enabled' 1
# "TPPS/2 IBM TrackPoint"
xinput --set-prop 17 'libinput Accel Speed' 1
xmodmap /home/wyousef/.Xmodmap
numlockx &
xss-lock slock &
keepassxc &
exec awesome
Offline
see the last link below (2nd blue note about what to include at least)
----------
Unrelated heads up:
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
xbindkeys -p
# Arabic keyboard
setxkbmap -layout us,ara -option grp:shifts_toggle
# # "SynPS/2 Synaptics TouchPad"
# xinput --set-prop 13 'libinput Tapping Enabled' 1
# "TPPS/2 IBM TrackPoint"
xinput --set-prop 17 'libinput Accel Speed' 1
xmodmap /home/wyousef/.Xmodmap
numlockx &
You want to change the order of this a bit and not fork numlockx
## touchpad is unrelated to this
# # "SynPS/2 Synaptics TouchPad"
# xinput --set-prop 13 'libinput Tapping Enabled' 1
# "TPPS/2 IBM TrackPoint"
xinput --set-prop 17 'libinput Accel Speed' 1
# setxkbmap first, also see https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Using_X_configuration_files
setxkbmap -layout us,ara -option grp:shifts_toggle
# then xmodmap, the xmodmap "$usermodmap" looks bogus and loads one from whatever the $PWD is?
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
xmodmap /home/wyousef/.Xmodmap
numlockx
# run the shortcut daemon and everything else AFTER you completed the layout, otherwise it might end up grabbing the wrong keycodes
# unless you specifically want to have it operate on US ASCII QWERTY codes, then it should run ahead of setxkbmap
xbindkeys -p
Offline
Thanks for advices on my file. I will come to this later to avoid distraction. Regarding your note "Please post your xinitrc and see the last link below (2nd blue note about what to include at least)", sorry I did not understand. The 2nd blue note has several links. Which one do you want me to read?
Offline
Note: At the very least, ensure that the last if block in /etc/X11/xinit/xinitrc is present in your ~/.xinitrc file to ensure that the scripts in /etc/X11/xinit/xinitrc.d are sourced.
From /etc/X11/xinit/xinitrc
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
Offline
Ok; I am fixing now the xinitrc. However, is this the solution to my main question of this post?
Offline
It's a necessary part of it and generally should be, yes.
Offline
OMG; it really solved the problem!!! Could you please explain to me how reording the lines solved the problem? Also, why this problem appeared all of a sudden whereas I did not change anything! FYI, this is my file. Please, advice if something still needs fixing:
#!/usr/bin/bash
# /usr/bin/prime-offload
# session=${1:-laptop}
# case $session in
# desktop )
# userresources=.XresourcesDesktop;;
# laptop )
# userresources=.Xresources;;
# *) userresources=.Xresources;;
# esac
# echo "$session " "$userresources"
export BROWSER=microsoft-edge-stable
userresources=.Xresources
usermodmap=.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# "TPPS/2 IBM TrackPoint"
xinput --set-prop 17 'libinput Accel Speed' 1
# Arabic keyboard
setxkbmap -layout us,ara -option grp:shifts_toggle
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
xmodmap /home/wyousef/.Xmodmap
numlockx
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
xss-lock slock &
keepassxc &
xbindkeys -p
exec awesome
# # Here awesome is kept as default
# session=${1:-awesome}
# case $session in
# awesome ) exec awesome;;
# bspwm ) exec bspwm;;
# catwm ) exec catwm;;
# cinnamon ) exec cinnamon-session;;
# dwm ) exec dwm;;
# enlightenment ) exec enlightenment_start;;
# ede ) exec startede;;
# fluxbox ) exec startfluxbox;;
# gnome ) exec gnome-session;;
# gnome-classic ) exec gnome-session --session=gnome-classic;;
# i3|i3wm ) exec i3;;
# icewm ) exec icewm-session;;
# jwm ) exec jwm;;
# kde ) exec startkde;;
# mate ) exec mate-session;;
# monster|monsterwm ) exec monsterwm;;
# notion ) exec notion;;
# openbox ) exec openbox-session;;
# unity ) exec unity;;
# xfce|xfce4 ) exec startxfce4;;
# xmonad ) exec xmonad;;
# # No known session, try to run it as command
# *) exec $1;;
# esac
Offline
The reordering was mostly good form, the if statements you added that were missing are the crucial part. They ensure DBUS runs properly associated with your user/your login session. DBUS is what browsers communicate over to ask a portal implementation for the file browser/chooser they should use, this is a somewhat recent development that browsers start to use that instead of using something built-in, but allows more flexibility (e.g. a GNOME user sees the GNOME file dialog, a KDE user the KDE one and so forth).
Having a broken DBUS session can generally lead to all sorts of weirdness when processes communicate with each other and this is something that will never have worked properly without those statements sourcing the relevant files.
Please mark as [SOLVED] by editing the title in your first post, might have to shorten it a little.
Last edited by V1del (2024-04-24 10:11:44)
Offline
I really thank you both for your time and effort. (Regarding the localhost advice at the very beginning of this post, I will open another ticket for it to keep things in order. Thanks again.
Offline