You are not logged in.
Hi, I am new to Arch so be gentle please.
I have just installed Arch on one of my machines. Since I would need to transfer programs from sticks fairly regularly proceeded to do a setup to achieve auto mounting . I installed udisks2 and udiskie and indeed when I run udiskie manually my stick gets recognised in the filemanager.
I then tried to setup .xinitrc in my home page and included the line "udiskie &" without the quotes above the exec command as per instructions at https://wiki.archlinux.org/title/Xinit#xinitrc but for some reason my stick still does not get automatically recognised. Then running udiskie from command line works as expected.
Any advice please.
xuraax
Last edited by xuraax (2023-10-21 12:12:10)
Offline
Does xinitrc start your session at all?
Did you consider a user service, https://wiki.archlinux.org/title/Systemd/User ?
Offline
I actually do not know if copying xinitrc to ~/.xinitrc is having any effect at all since the system boots into the Xfce Desktop Environment in the same way, with or without the file.
I will read through the page you proposed but I would prefer resolving the xinitrc issue before trying something else.
thanks
Last edited by xuraax (2023-10-20 14:04:22)
Offline
loginctl session-statusHow can you not know what's starting your session???
Offline
the answer to your question is that, as a newbee, when i am installing something I may not appreciate all I am doing. my choice is either to give up and learn nothing or press along and learn as I go.
the response to the command you suggested is the following:
2 - joe (1000)
Since: Fri 2023-10-20 15:40:46 CEST; 1h 36min ago
Leader: 359 (lightdm)
Seat: seat0; vc7
Display: :0
Service: lightdm; type x11; class user
Desktop: xfce
State: active
Idle: no
Unit: session-2.scope
├─359 lightdm --session-child 13 20
├─386 xfce4-session
├─427 /usr/bin/ssh-agent -s
├─437 xfwm4
├─445 xfsettingsd
├─450 xfce4-panel
├─455 Thunar --daemon
├─465 xfdesktop
├─469 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so>
├─470 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio>
├─473 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4power>
├─474 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnotificati>
├─475 xfce4-power-manager
├─477 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
├─482 nm-applet
├─488 xfce4-screensaver
├─557 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libactions.so>
├─927 /usr/bin/xfce4-terminal
├─959 bash
Offline
So you're logging into and xfce4 session w/ lightdm, your xinitrc is no part of this.
Next to a user service you can use ~/.xprofile - https://wiki.archlinux.org/title/LightD … _variables or an xdg autostart - https://wiki.archlinux.org/title/Xfce#Autostart
Offline
creating a file ~/.xprofile containing "udiskie &" worked perfectly.
Thank you very much.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
did I close it the correct way?
Offline
Tne frequently used indicator is "[SOLVED]" but your approach is sufficient for the task. Thanks.
Offline