Skip to content

Commit 0f7e25b

Browse files
committed
docs: firecfg: note different .desktop naming schemes
Based on the discussion at #5063. Misc: The `\&` is used to escape the dot in `.desktop` (see roff(7)). Relates to #6153.
1 parent 9150c1e commit 0f7e25b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/man/firecfg.1.in

+14
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,20 @@ could be added to /etc/firejail/firecfg.d/10-my.conf:
186186
.br
187187
myprog
188188
.RE
189+
.PP
190+
Note that certain programs may use different naming schemes for their .desktop
191+
file compared to the main executable.
192+
To ensure that both files are handled in the same manner, it is recommended to
193+
list both names in the configuration.
194+
For example, if Spectacle has its main executable at /usr/bin/spectacle and its
195+
\&.desktop file at /usr/share/applications/org.kde.spectacle.desktop, then the
196+
following lines can to be used to ignore both:
197+
.PP
198+
.RS
199+
!org.kde.spectacle
200+
.br
201+
!spectacle
202+
.RE
189203
.SH LICENSE
190204
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.
191205
.PP

0 commit comments

Comments
 (0)