Using GParted via TigerVNC how to enable on LinuxMint?
Bo Berglund
bo.berglund at gmail.com
Sun Jan 5 16:32:00 UTC 2025
On Sun, 05 Jan 2025 16:21:29 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>Maybe Google sends me different hits so the number is different?
>Can you please post the URL to the respective pages you refer to?
>
>Mine are :
>1) https://forums.debian.net/viewtopic.php?t=151810
>2) https://debianforum.de/forum/viewtopic.php?t=176725
>3)
So the second hit led to this exact post:
https://debianforum.de/forum/viewtopic.php?t=176725#p1232529
And from that I did manage to display GParted but I needed to do this:
- Start a terminal window
- In the window do the following:
$ sudo su
# export XAUTHORITY=/home/BenutzerName/.Xauthority
# gparted
Now GParted appeared on screen, but this is really a very bad solution because I
am not likely to remeber it every time I need GParted...
Is there no way to automate this at least so it can be a desktop link or
something?
I created a script $HOME/bin/gpartedstart
which contains this:
#!/bin/bash
echo "Setting XAUTHORITY"
export XAUTHORITY="/home/bosse/.Xauthority"
echo "Starting gparted"
/usr/sbin/gparted
echo "ending run"
#exit
echo "Exiting in 3s"
sleep 3
exit
If I start this from the terminal like this it works:
---------------------------
$ sudo bin/gpartedstart
Setting XAUTHORITY
Starting gparted
GParted 1.0.0
configuration --enable-libparted-dmraid --enable-online-resize
libparted 3.3 (here it stays until I close GParted)
ending run
Exiting in 3s
---------------------------
What can I do to change the launch icon in the menu to do this?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list