From 631353bcdbf3819517e909ec12e1161ea6c27923 Mon Sep 17 00:00:00 2001 From: Aleksey Manevich Date: Fri, 2 Sep 2016 14:32:36 +0300 Subject: firecfg: update man --- src/man/firecfg.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/man') diff --git a/src/man/firecfg.txt b/src/man/firecfg.txt index 9458c4b67..c647acc14 100644 --- a/src/man/firecfg.txt +++ b/src/man/firecfg.txt @@ -26,6 +26,9 @@ Print options end exit. \fB\-\-list List all firejail symbolic links .TP +\fB\-\-fix +Fix .desktop files. Some .desktop files use full path to executable. Firecfg will check .desktop files in /usr/share/applications/, replace full path by name if it is in PATH, and write result to $HOME/.local/share/applications/. +.TP \fB\-\-version Print program version and exit. -- cgit v1.2.3-70-g09d2 From 5bfd5dc5d1dc4e36a70dec33bf97a380367ace26 Mon Sep 17 00:00:00 2001 From: Aleksey Manevich Date: Fri, 2 Sep 2016 15:25:16 +0300 Subject: firecfg: small fixes --- src/firecfg/main.c | 2 +- src/man/firecfg.txt | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'src/man') diff --git a/src/firecfg/main.c b/src/firecfg/main.c index 8ca56a2ff..3f9285776 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c @@ -408,7 +408,7 @@ static void fix_desktop_files(void) { // check if basename in PATH if (!which(bname)) { - fprintf(stderr, "/usr/share/applications/%s - unable to fix: executable not in PATH\n", filename); + fprintf(stderr, "/usr/share/applications/%s - skipped, %s not in PATH\n", filename, bname); continue; } diff --git a/src/man/firecfg.txt b/src/man/firecfg.txt index c647acc14..4acacb071 100644 --- a/src/man/firecfg.txt +++ b/src/man/firecfg.txt @@ -61,6 +61,15 @@ $ sudo firecfg --clean /usr/local/bin/vlc removed .br [...] +.br +$ firecfg --fix +.br +/home/user/.local/share/applications/chromium.desktop created +.br +/home/user/.local/share/applications/vlc.desktop created +.br +[...] + .SH LICENSE This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. -- cgit v1.2.3-70-g09d2