Re: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist

2016-08-05 Thread Ru Vuott
Thanks you. I tried you suggestion, but I get same error message. :-( ..I'ld like to point out, strangely, if I use this other resource: Desktop.OpenTerminal() or Desktop.OpenTerminal("/usr/bin/gnome-terminal") I obtain this error message: " /bin/sh: 1: mate-terminal: not found "

Re: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist

2016-08-05 Thread Tony Morehen
Try adding the full path to chmod or cat. On 8/5/2016 5:00 PM, bugtrac...@gambaswiki.org wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.973=L21haW4- > > Comment #2 by vuott VUOTT: > >> Desktop.RunAsRoot requires the command to be written between the brackets. > Yes, I know it. > > >

[Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist

2016-08-05 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.973=L21haW4- Comment #2 by vuott VUOTT: > Desktop.RunAsRoot requires the command to be written between the brackets. Yes, I know it. If I try this: Public Sub Button1_Click() Desktop.RunAsRoot("chmod 666 /dev/tty1") End or e.g.: Public

[Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist

2016-08-05 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.973=L21haW4- Comment #1 by Mufeed ALI: Desktop.RunAsRoot requires the command to be written between the brackets. For example: Desktop.RunAsRoot("rm /var/crash/*") This can be used to clear crash logs in Ubuntu & some other distributions but

[Gambas-user] Database IDE manager connections

2016-08-05 Thread Gianluigi
Hello to all, every time I open my database in the IDE manager (File>Open file), Gambas creates a new connection, as you can see from the locate command.[0] Is this correct behavior? I do something wrong? I attach SQLite test. Regards Gianluigi [0] ~$ locate CiccioFormaggio