Tuesday, September 26, 2023
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1379  / 4 Months ago, fri, may 26, 2023, 6:59:09

By default, "Log File Viewer" is not launched from Unity as root in Ubuntu 11.04. This is pretty useless, as most of the log files are only readable by root.



How can I change this behavior so that it launches as root?


More From » 11.04

 Answers
4

Backup and modify /usr/share/applications/gnome-system-log.desktop; change line:



Exec=gnome-system-log


to:



Exec=gksu --description /usr/share/applications/gnome-system-log.desktop /usr/bin/gnome-system-log


Downside is that it will now always ask for a password.


[#43478] Saturday, May 27, 2023, 4 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atchcommo

Total Points: 114
Total Questions: 130
Total Answers: 101

Location: Cook Islands
Member since Sat, Oct 16, 2021
2 Years ago
atchcommo questions
Fri, May 13, 22, 08:22, 1 Year ago
Wed, Mar 9, 22, 20:14, 2 Years ago
;