Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

got synaptic running under wayland :)

$
0
0
Well, sort of working - you have to launch it from a terminal but I plagiarized and modified a short script - it looks like this:

Code:

#!/bin/bashxhost +si:localuser:rootsudo -H synapticxhost -si:localuser:root
What we're doing here is adding root to an ACL and then removing root from the ACL on program close. I stuck this in /usr/local/bin and named it synaptic-wayland. I decided against putting it in sbin because bin is in my path and the script prompts for a root password anyway.

Enjoy!

edit: I'm able to launch it from a labwc menu by substituting "lxsudo" for "sudo -H" in my little script but I'd imagine lxqt-sudo doesn't come with any distribution other than lxqt. If you decide to install lxqt-sudo please do the --no-install-recommends thing unless you want to pull in about half of lxqt :)

@Greg_M got me a little motivated and I decided to solve this - I have synaptic and gparted running under labwc now.

Statistics: Posted by wizard10000 — 2024-11-23 19:09 — Replies 0 — Views 54



Viewing all articles
Browse latest Browse all 3474

Trending Articles