How to run program from root Ubuntu

Tested on Ubuntu 20.04

sudo vim /usr/share/applications/simple-scan.desktop
---
Exec=pkexec simple-scan
sudo desktop-file-install /usr/share/applications/simple-scan.desktop
0
Volodymyr Semeniuk profile picture
Oct 06, 2020
by Volodymyr Semeniuk
Did it help you?
Yes !
No