0

I understand from Kdesu Not Working? that using kdesu with GUI programs is not recommended and that usually one might not need it (at least not with kate and konqueror or dolphin). However, when I compare my current hard drive with the backup of my hard drive I need to run free file sync as root (and do so with kdesu). For some reason it is possible to do so from within the KDE MenĂ¼, while "kdesu" cannot be found from the command line.

However, I need to start konqueror (and in this case obviously as root) also from within free file sync, so that I can compare some directories manually. How can I achieve that?

Make42
  • 439

2 Answers2

0

Kdesudo depends on Qt4 which is absent in Ubuntu 20.04 LTS. This package was last available in Ubuntu 16.04 LTS.

So I would recommend to use pkexec instead in the way shown below:

pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY FreeFileSync

I have just tested it - FreeFileSync launches normally.

N0rbert
  • 103,263
0

kdesu is "hidden" in /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu

tfry
  • 1