drewgrif / sway

23 stars 7 forks source link

issue launching apps like timeshift from rofi #1

Open jfabernathy opened 1 month ago

jfabernathy commented 1 month ago

I could not get timeshift or btrfs-assistant to launch from rofi. At first I could not get them to launch from the CLI, but I found that if I execute xhost + from tilix I could then run timeshift-launcher to launch the gui version. I put xhost + in the sway autostart-applications, but that seems like a hack. Running those apps that need permission and were developed on X need something and I'm not sure what. I've just been googling and trying stuff. No luck with rofi launch though.

BTW, you can run the CLI version of timeshift with just "sudo timeshift", but you need to have created /etc/timeshift/timeshift.json first.

jfabernathy commented 1 month ago

I had a similar issue on Debian wayland KDE with timeshift but fixed that with installing pkexec, but that is already installed by your install.sh