How to run a gksu command clicking directly on the shortcut to application icon saved on the desktop (I'm running KDE Plasma)

Hello.

I'm on FreeBSD 13R,where I have installed KDE 5. I've created a shortcut to an application,pointing to the command that you see below and I would like to run it while clicking on the icon saved on my desktop. Actually it does not work ; What's wrong ? I'm using the csh shell.

Code:
[Desktop Entry]
Comment[it_IT]=
Comment=
Exec=gksu /usr/sbin/chroot /compat/ubuntu /bin/bash
GenericName[it_IT]=
GenericName=
Icon=system-run
MimeType=
Name[it_IT]=Ubuntu-Chroot
Name=Ubuntu-Chroot
Path=/usr/sbin/
StartupNotify=true
Terminal=true
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

I've just installed gnome-keyring and gtk-arc-themes... with that script I can login inside the chroot by clicking on the desktop icon. But when,inside the chroot, I write some kind of command,it freezes...
 
Back
Top