Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.5:Update
python-xapp
python-xapp-xdgsu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-xapp-xdgsu.patch of Package python-xapp
--- a/xapp/os.py +++ b/xapp/os.py @@ -118,6 +118,11 @@ def run_with_admin_privs(command, messag commands = commands + command subprocess.Popen(commands) return True + elif os.path.exists("/usr/bin/xdg-su"): + commands = ["xdg-su", "-c"] + commands = commands + command + subprocess.Popen(commands) + return True # Finally use pkexec if we have nothing else - it will work, but the executed program # may not be properly localized. elif is_polkit_running():
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor