Here is my simple script for grepping su-to-root|gksu|pkexec inside
application.desktop files in packages.

How to use:
1. apt-cache rdepends menu | sort | uniq > menu_rdepends.txt
2. remove unnecessary rows from menu_rdepends.txt (such as "menu" and "Reverse 
Depends:")
3. execute my script with ./do.sh menu_rdepends.txt
4. it will do apt-file list, apt-get download, dpkg-deb -R, grep 
su-to-root|gksu|pkexec and print 
some info:

...
caja-dropbox: /usr/share/applications/caja-dropbox.desktop
caja-dropbox is not affected
choosewm does not have application.desktop
colord does not have application.desktop
debconf does not have application.desktop
debian-installer-launcher: 
/usr/share/applications/debian-installer-launcher.desktop
Exec=su-to-root -X -c /usr/sbin/debian-installer-launcher # <- su-to-root in 
color!
...

Application list above here was obtained by it, and for pkexec too (bug
1713313).

** Attachment added: "script for grepping su-to-root|gksu|pkexec inside 
application.desktop files in packages"
   
https://bugs.launchpad.net/ubuntu/+source/gadmin-samba/+bug/1713311/+attachment/4939755/+files/do.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713311

Title:
  Unable to launch applications which use su-to-root from menu package
  as root on Wayland session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bleachbit/+bug/1713311/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to