aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r--src/man/firejail.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index f3c023aba..99a9429c7 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -1534,6 +1534,59 @@ Example:
1534.br 1534.br
1535$ firejail \-\-zsh 1535$ firejail \-\-zsh
1536 1536
1537.SH DESKTOP INTEGRATION
1538A symbolic link to /usr/bin/firejail under the name of a program, will start the program in Firejail sandbox.
1539The symbolic link should be placed in the first $PATH position. On most systems, a good place
1540is /usr/local/bin directory. Example:
1541.PP
1542.RS
1543.br
1544
1545.br
1546Make a firefox symlink to /usr/bin/firejail:
1547.br
1548
1549.br
1550$ ln -s /usr/bin/firejail /usr/local/bin/firefox
1551.br
1552
1553.br
1554Verify $PATH
1555.br
1556
1557.br
1558$ which -a firefox
1559.br
1560/usr/local/bin/firefox
1561.br
1562/usr/bin/firefox
1563.br
1564
1565.br
1566Starting firefox in this moment, automatically invokes “firejail firefox”.
1567.RE
1568.br
1569
1570.br
1571This works for clicking on desktop environment icons, menus etc. Use "firejail --tree"
1572to verify the program is sandboxed.
1573.PP
1574.RS
1575.br
1576
1577.br
1578.br
1579$ firejail --tree
1580.br
15811189:netblue:firejail firefox
1582.br
1583 1190:netblue:firejail firefox
1584.br
1585 1220:netblue:/bin/sh -c "/usr/lib/firefox/firefox"
1586.br
1587 1221:netblue:/usr/lib/firefox/firefox
1588.RE
1589
1537.SH FILE TRANSFER 1590.SH FILE TRANSFER
1538These features allow the user to inspect the filesystem container of an existing sandbox 1591These features allow the user to inspect the filesystem container of an existing sandbox
1539and transfer files from the container to the host filesystem. 1592and transfer files from the container to the host filesystem.