A plugin integrating your mobile devices into a panel using Valent
Integrate your mobile devices via the Valent backend. This plugin provides a seamless UI to interact with your phone, powered by Valent (an implementation of the KDE Connect protocol for GNOME/GTK environments).
valent - the daemon (AUR: valent)gvfs - for SFTP mountinggvfs-mtp or gvfs-backends - GVfs backends including SFTPopenssh - for SSH agentValent uses GVfs for SFTP mounting. This requires an active SSH agent to manage keys.
Enable SSH Agent: Recent GNOME installations move the SSH agent to a separate service. Enable it if not already running:
systemctl --user enable --now gcr-ssh-agent.socket
Environment Configuration:
Add the following to your shell profile (e.g., ~/.zshenv or ~/.bashrc):
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
Verify Setup:
echo $SSH_AUTH_SOCK # Should show /run/user/1000/gcr/ssh
ssh-add -l # Should connect to the agent without error
You can start Valent manually or via systemd:
systemctl --user enable --now valent
# OR
valent --gapplication-service
~/.config/niri/config.kdl):If you use the Niri compositor, ensure the environment variables are imported:
environment {
SSH_AUTH_SOCK "/run/user/1000/gcr/ssh"
}
spawn-at-startup "systemctl" "--user" "import-environment" "SSH_AUTH_SOCK"
spawn-at-startup "valent" "--gapplication-service"
systemctl --user status valent).SSH_AUTH_SOCK is correctly set.gio mount sftp://PHONE_IP:1739/.journalctl --user -u valent -f.This plugin is heavily based on the excellent KDE Connect plugin created by WerWolv.
Note: This plugin is licensed under the GNU General Public License v2.0. It is designed specifically for the Valent backend and does not require or use the kdeconnectd daemon.