You are not logged in.

#1 2023-03-16 09:54:24

Breizil29
Member
Registered: 2021-08-05
Posts: 2

[solved][pcloud-drive] run on boot

Hello,

I have an SSD with Archlabs (i3, dkwm, bspwm) and pcloud does not launch despite the dedicated box being checked.
I'm trying to find out what would be the command to launch it at startup.
My idea is to embed it in .xinitrc

~/.config/autostart/

[Desktop Entry]
Type=Application
Version=1.0
Name=pcloud-drive-1.11.0-1.AppImage
Comment=pcloud-drive-1.11.0-1.AppImagestartup script
Exec=/opt/pcloud/pcloud-drive-1.11.0-1.AppImage
StartupNotify=false
Terminal=false

.xinitrc

#!/bin/sh

# this file is run when calling startx

# default arch init scripts
if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
        [ -x "$f" ] && . "$f"
    done
fi

# user init scripts and settings
[ -r /etc/X11/xinit/.Xmodmap ] && xmodmap /etc/X11/xinit/.Xmodmap
[ -r ~/.Xmodmap ] && xmodmap ~/.Xmodmap
[ -r ~/.Xresources ] && xrdb -merge ~/.Xresources
[ -r ~/.xprofile ] && . ~/.xprofile

# Some other early settings
xset s off -dpms
xset r rate 300 80
setxkbmap -layout fr
urxvtd -f -o -q &
numlockx on &
autostart.sh &

# Keyring and polkit daemon
/usr/lib/polkit-gnome/polkit-gnome-authentification-agent-1 &
gnome-keyring-daemon --start --components=pkcs11 &

# launch the session, commmands below these lines will be ignored
# Starting Xsession depending on tty.
# refers to $HOME/.config/zsh/.zlogin
case $(tty | cut -b9-) in
    (1) exec i3 ;;
    (2) exec dk ;;
    (3) exec bspwm ;;
esac

Last edited by Breizil29 (2023-03-25 14:55:50)

Offline

#2 2023-03-25 14:52:29

Breizil29
Member
Registered: 2021-08-05
Posts: 2

Re: [solved][pcloud-drive] run on boot

In the bspwm config :

# Pcloud
/opt/pcloud/pcloud-drive-1.11.0-1.AppImage

Offline

Board footer

Powered by FluxBB