Is Gparted not available via a VNC session?
Bo Berglund
bo.berglund at gmail.com
Wed Dec 29 17:23:19 UTC 2021
On Mon, 27 Dec 2021 22:52:17 +0100, Ralf Mardorf via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>On Mon, 27 Dec 2021 21:48:13 +0100, Bo Berglund wrote:
>>sudo /usr/sbin/gparted
>
>If "sudo" requires a password, the desktop file is rendered useless.
>Since "gksudo" and similar are not available, but "pkexec" is available,
>https://packages.ubuntu.com/focal-updates/amd64/policykit-1/filelist ,
>you should try this or whatever else is working for your Ubuntu release.
This is not really the issue, I have configured my Ubuntus to *not* require the
password when I use sudo.
But I think that it might be a problem finding where to put the desktop file so
it will appear on the main menu.
I have put gparted.desktop into these 3 locations on my two laptops:
/home/username/.local/share/applications/gparted.desktop
/usr/share/applications/gparted.desktop
/home/username/Desktop/gparted.desktop
I do not know which makes it appear on the main menu, though...
On one of my laptops the command appears on the Main menu/System Tools as
GParted and if selected it starts up GParted just fine.
On the other there is nothing in the System Tools menu regarding GParted...
On both the launch icon is shown on the desktop and if used it starts GParted.
So there must be some strange difference between the two systems and I do not
now recall how they are created, either from an Ubuntu Desktop ISO or from the
Ubuntu Mate ISO. It was more than a year back.
In any case they both run the same desktop (not Cinnamon or the new Ubuntu one).
What I suspect ia that one has been originally installed using the Ubuntu
installer and then a different desktop environment has also been installed.
This might play a role here in *where* to place the desktop file for it to
appear on the main menu.
Is there some other possible location than the ones listed above?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list