Page 1 sur 1

[pcloud-drive] lancer au démarrage [résolu]

Publié : mar. 14 mars 2023, 10:30
par Breizil29
Salut tous le monde,

J'ai un SSD avec Archlabs (i3, dkwm, bspwm) et pcloud ne se lance pas malgré que la case dédié coché.
Je cherche à savoir quel serait la commande pour le lancer au démarrage.
Mon idée est de l'incorporer dans .xinitrc

Re: [pcloud-drive] lancer au démarrage

Publié : mar. 14 mars 2023, 14:05
par Breizil29
~/.config/autostart/

Code : Tout sélectionner

[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

Code : Tout sélectionner

#!/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

Re: [pcloud-drive] lancer au démarrage

Publié : sam. 25 mars 2023, 15:47
par Breizil29
Dans la config bspwm :
# Pcloud
/opt/pcloud/pcloud-drive-1.11.0-1.AppImage