Skip to content

Commit

Permalink
docs: firecfg: note different .desktop naming schemes
Browse files Browse the repository at this point in the history
Based on the discussion at netblue30#5063.

Misc: The `\&` is used to escape the dot in `.desktop` (see roff(7)).

This amends commit a9c851e ("firecfg: use ignorelist also for .desktop
files", 2024-01-08) / PR netblue30#6153.
  • Loading branch information
kmk3 committed Mar 11, 2024
1 parent 9150c1e commit f2b2e0e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/man/firecfg.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,20 @@ could be added to /etc/firejail/firecfg.d/10-my.conf:
.br
myprog
.RE
.PP
Note that certain programs may use different naming schemes for their .desktop
file compared to the main executable.
To ensure that both files are handled in the same manner, it is recommended to
list both names in the configuration.
For example, if Spectacle has its main executable at /usr/bin/spectacle and its
\&.desktop file at /usr/share/applications/org.kde.spectacle.desktop, then the
following lines can to be used to ignore both:
.PP
.RS
!org.kde.spectacle
.br
!spectacle
.RE
.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.
.PP
Expand Down

0 comments on commit f2b2e0e

Please sign in to comment.