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

Questions et astuces concernant l'installation et la configuration d'archlinux
Avatar de l’utilisateur
Breizil29
yeomen
Messages : 227
Inscription : dim. 13 juin 2021, 15:04

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

Message 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
Dernière modification par Breizil29 le sam. 25 mars 2023, 15:47, modifié 1 fois.
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
Avatar de l’utilisateur
Breizil29
yeomen
Messages : 227
Inscription : dim. 13 juin 2021, 15:04

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

Message 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
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
Avatar de l’utilisateur
Breizil29
yeomen
Messages : 227
Inscription : dim. 13 juin 2021, 15:04

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

Message par Breizil29 »

Dans la config bspwm :
# Pcloud
/opt/pcloud/pcloud-drive-1.11.0-1.AppImage
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
Répondre