- Desktop
wget https://raw.githubusercontent.com/sheppy9/xfce/master/desktop.sh
- Server
wget https://raw.githubusercontent.com/sheppy9/xfce/master/server.sh
# Desktop setup script
chmod 775 desktop.sh && ./desktop.sh
# Server setup script
chmod 775 server.sh && ./server.shxfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>c' -s 'code'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>f' -s 'catfish'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>l' -s 'xflock4'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>n' -s 'gedit'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>k' -s 'keepass2'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>v' -s 'virt-manager'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>s' -s 'xfce4-appfinder'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>r' -s 'remmina-file-wrapper'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super><Shift>s' -s 'flameshot gui'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>b' -s 'exo-open --launch WebBrowser'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Shift><Ctrl>Escape' -s 'xfce4-taskmanager'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>e' -s 'exo-open --launch FileManager'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Ctrl><Alt>Delete' -s 'xfce4-session-logout'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Super>t' -s 'exo-open --launch TerminalEmulator'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/commands/custom/<Ctrl>Escape' -s 'xfce4-popup-whiskermenu'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/xfwm4/custom/<Super>q' -s 'close_window_key'
xfconf-query -c xfce4-keyboard-shortcuts -t 'string' -np '/xfwm4/custom/<Super>d' -s 'show_desktop_key'# Install rclone in both server and local machine (for authentication)
# https://rclone.org/install/#linux-precompiled
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
cd rclone-*-linux-amd64
sudo cp rclone /usr/bin/
sudo chown root:root /usr/bin/rclone
sudo chmod 755 /usr/bin/rclone
# Configure box, use local authentication in the last step to authenticate in local machine
rclone config
# Configuration in server
sudo nano /etc/systemd/system/rclone-box.service
sudo systemctl daemon-reload
sudo systemctl enable rclone-box.service
sudo systemctl start rclone-box.service
sudo systemctl status rclone-box.service
sudo journalctl -u rclone-box
sudo tail /var/log/rclone-box-output.log
sudo tail /var/log/rclone-box-error.log
# ==============================
# Service file
# ==============================
[Unit]
Description=Mount Box.com using rclone
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/rclone --vfs-cache-mode writes mount "box": /home/linux/box --allow-non-empty
# Check "which fusermount" path
ExecStop=/usr/bin/fusermount -u /home/linux/box
Restart=always
RestartSec=10
User=linux
StandardOutput=file:/var/log/rclone-box-output.log
StandardError=file:/var/log/rclone-box-error.log
[Install]
WantedBy=multi-user.target