[Gambas-Notification] [Git][gambas/gambas][master] 13 commits: Update Desktop.class, add pkexec as gksu no longer exists
Benoît Minisini (@bminisini)
gitlab at mg.gitlab.com
Tue Sep 14 20:10:47 CEST 2021
Benoît Minisini pushed to branch master at Gambas / gambas
Commits:
bc12c706 by Bruce Steers at 2021-08-29T03:16:18+00:00
Update Desktop.class, add pkexec as gksu no longer exists
[GB.DESKTOP]
* NEW: add pkexec to Desktop.RunAsRoot() command as gksu and gksudo no longer exist
- - - - -
37d0c123 by Bruce Steers at 2021-08-29T04:25:47+01:00
Update Desktop.RunAsRoot()
[GB.DESKTOP]
* OPT: move test for pkexec to outside of kde/gnome check as it is independant so will be checked regardless if no other graphical sudo is found.
- - - - -
e2e40c69 by Bruce Steers at 2021-08-29T16:38:06+00:00
Update Desktop.class, fix pkexec not working on some programs
[GB.DESKTOP]
* BUG: Using Exec With [envs] was not working, used pkexec env method to pass DISPLAY and XAUTHORITY envs instead as it works.
* OPT: Also Split "Command" string for Exec or it fails if command has more than one arg.
Notes.
I found the prior method worked on pluma but not on any gambas applications. (they all reported unable to open display)
Using this "pkexec env" method fixes that and makes it work on gambas applications and supports multiple arguments.
- - - - -
db19b20f by Bruce Steers at 2021-08-29T16:40:44+00:00
Update Desktop.class, fix typo
[GB.DESKTOP]
* BUG: fix typo
- - - - -
01e08677 by Bruce Steers at 2021-08-29T17:43:25+01:00
gb.desktop Final edit, remove unneeded variable declaration
[GB.DESKTOP]
* OPT: remove no longer needed variable declaration
- - - - -
891c1b2e by Bruce Steers at 2021-08-31T00:28:26+01:00
Desktop.RunAsRoot(), Add pkexec to list of gui sudoers
[GB.DESKTOP]
* NEW: add pkexec as primary gui sudoer to RunAsRoot
* NEW: RunAsRoot has "Wait" argument (default is False)
* NEW: RunAsRoot has Username argument (default is root)
* OPT: Split Command if pkexec is used
- - - - -
2b72588a by Bruce Steers at 2021-08-31T00:47:36+01:00
Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec
- - - - -
c9f52183 by Bruce Steers at 2021-08-31T11:02:38+01:00
Tweak Desktop.RunAsRoot(), remove an if condition for speed
[GB.DESKTOP]
* OPT: rearrange RunAsRoot code to remove an If(Condition,True,False) statement
- - - - -
2a68ec66 by Bruce Steers at 2021-08-31T16:45:51+01:00
Pedantic but Wait was wait...
- - - - -
acc409a7 by Bruce Steers at 2021-09-01T15:10:29+01:00
Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec
- - - - -
fabaee07 by Bruce Steers at 2021-09-09T13:13:55+01:00
Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec
- - - - -
d8c8ada4 by Bruce Steers at 2021-09-14T17:34:37+01:00
Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec
- - - - -
4cb88fd5 by Benoît Minisini at 2021-09-14T18:10:46+00:00
Merge branch 'desktop-runasroot-pkexec' into 'master'
Update Desktop.class, add pkexec to Desktop.RunAsRoot() as gksu/kdesu/etc no longer exist
See merge request gambas/gambas!246
- - - - -
1 changed file:
- comp/src/gb.desktop/.src/Desktop.class
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/1a3b36a3ef6302c5f0a2351ee9f3ec9e61522da8...4cb88fd57b503d2b86a8e7441c4e45e677c66962
--
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/1a3b36a3ef6302c5f0a2351ee9f3ec9e61522da8...4cb88fd57b503d2b86a8e7441c4e45e677c66962
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210914/becfb04a/attachment-0001.htm>
More information about the Notification
mailing list