Re: [Gambas-user] kdesu vs gksu

2009-05-20 Thread Jesus Guardon
Thanks for your offer, still very interested to look at your own example. I think may be hard to happen on the universal solution. Thanks in advance Jesus Steven James Drinnan escribió: For me I would use neither, it would rely on those packages being available. In Fedora it uses its own

Re: [Gambas-user] kdesu vs gksu

2009-05-19 Thread Jose J. Rodriguez
On 5/18/09, Jesus Guardon jguar...@telefonica.net wrote: Yes, I know it may be a little off-topic, but the question is: I need to launch a process with root privileges from SHELL command in Gambas. Users of my application can have Gnome or KDE, so I don't know which command I must issue to

Re: [Gambas-user] kdesu vs gksu

2009-05-19 Thread Jesus Guardon
Thanks, Jose This is a good approach, too. But also not perfect, ;-) ... A friend of mine tells that in his Debian testing (KDE), no kdesu is available. Instead it have 'kdesudo', so in this case your code (and David's too) might fail. We must check for this, too. Another issue is that I want

Re: [Gambas-user] kdesu vs gksu

2009-05-19 Thread Steven James Drinnan
For me I would use neither, it would rely on those packages being available. In Fedora it uses its own graphical system - sorry can tell you the name its linked directly to the authentication system. As such those packages are nowhere to be seen. Instead let your package do the checking using

[Gambas-user] kdesu vs gksu

2009-05-18 Thread Jesus Guardon
Yes, I know it may be a little off-topic, but the question is: I need to launch a process with root privileges from SHELL command in Gambas. Users of my application can have Gnome or KDE, so I don't know which command I must issue to get it to work. Is there a way to choose between either gksu

Re: [Gambas-user] kdesu vs gksu

2009-05-18 Thread David Villalobos Cambronero
gambas-user@lists.sourceforge.net Sent: Monday, May 18, 2009 3:20:29 PM Subject: [Gambas-user] kdesu vs gksu Yes, I know it may be a little off-topic, but the question is: I need to launch a process with root privileges from SHELL command in Gambas. Users of my application can have Gnome or KDE

Re: [Gambas-user] kdesu vs gksu

2009-05-18 Thread Jesus Guardon
Saludos -- David - Original Message From: Jesus Guardon jguar...@telefonica.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Monday, May 18, 2009 3:20:29 PM Subject: [Gambas-user] kdesu vs gksu Yes, I know it may be a little off-topic