Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
caja-extensions
caja-extensions_use-xdgsu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File caja-extensions_use-xdgsu.patch of Package caja-extensions
diff -aur a/gksu/libcaja-gksu.c b/gksu/libcaja-gksu.c --- a/gksu/libcaja-gksu.c +++ b/gksu/libcaja-gksu.c @@ -156,12 +156,13 @@ start_gksu_thread (void *data) { GPid pid; - gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 3); + gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 4); gchar *full_cmd = (gchar*) data; - argv[0] = g_strdup ("gksu"); - argv[1] = full_cmd; - argv[2] = NULL; + argv[0] = g_strdup ("xdg-su"); + argv[1] = "-c"; + argv[2] = full_cmd; + argv[3] = NULL; g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, &pid, NULL);
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