gks

Revision 6 as of 2017-10-31 22:52:41

Clear message


Return to the main Wayland page


This page is an early version, and the intention is to improve it soon.

Solutions

1. There is a workaround to allow graphical application programs owned by other users than the logged in user in Wayland,

xhost +si:localuser:root

2. 'gksu' and 'gksudo' are not bundled with standard Ubuntu. You can install the program package containing them with

sudo apt install gksu

or you can use

sudo -H

3. It is a good idea to prevent graphical application programs owned by other users than the logged in user afterwards,

xhost -si:localuser:root

Links to AskUbuntu

Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland? - Question

Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland? - Answer by sudodus

Icon file for the desktop file 'gks.desktop' and the shellscript 'gks'

You can download this file, gks.svg. When you arrive at the attachment page, right click on the download link and select save link as ....

The md5sum is

$ md5sum gks.svg
7c955ff11d73a996445be99306b83fac  gks.svg

The three files 'gks', 'gks.desktop' and 'gks.svg'

You can also download this file, gks-files.tar.gz, with the 3 files that are used for this purpose,

  • shellscript gks

  • desktop file gks.desktop

  • icon file gks.svg

The md5sum is

$ md5sum gks-files.tar.gz
299e10e42a843ec197ca223179ef1f50  gks-files.tar.gz

and the files are

$ tar -tvf gks-files.tar.gz 
-rwxr-xr-x sudodus/sudodus   522 2017-10-31 18:45 gks
-rwxr-xr-x sudodus/sudodus   384 2017-10-31 18:44 gks.desktop
-rw-rw-r-- sudodus/sudodus  5633 2017-10-31 18:09 gks.svg

You can extract the files with

tar -xvf gks-files.tar.gz

Copy the [extracted or copied & pasted] files to the following locations,

sudo cp gks /usr/bin
sudo cp gks.desktop /usr/share/applications/
sudo cp gks.svg /usr/share/icons

Logout/login or reboot, and there should be a working desktop icon, that works via the Gnome Shell menu. It will work directly with the shellscript gks from Alt-F2 and from a terminal window too,

gks gedit myfile.txt