Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"firejail --list" does not show hardlinked firefox #64

Open
shmu26 opened this issue Jun 10, 2022 · 5 comments
Open

"firejail --list" does not show hardlinked firefox #64

shmu26 opened this issue Jun 10, 2022 · 5 comments

Comments

@shmu26
Copy link

shmu26 commented Jun 10, 2022

I made a hard link to start firefox in firejail:
sudo ln -s /usr/bin/firejail /usr/local/bin/firefox
when I run firejail --list I don't get any results
but when I run which firefox I get /usr/local/bin/firefox

Manjaro, firejail 0.9.70-1

@rusty-snake
Copy link

Did you crate a hardlink or a softlink? (Your command creates a softlink.)
Hardlinks do not work because both links are the same file.

How did you start firefox? Was there an already running firefox instance?

@shmu26
Copy link
Author

shmu26 commented Jun 10, 2022

So it is a softlink, then, if that is what my command creates...
I started firefox by clicking on its icon in the applications menu.
There was no instance of firefox running.

Now I tried starting it by double-clicking in the icon in Firetools, and firejail --list shows it properly.

@shmu26
Copy link
Author

shmu26 commented Jun 10, 2022

I wonder if this has to do with wayland. I am running Gnome 42 with wayland.

@rusty-snake
Copy link

If manjaro uses the firefox packages from arch, you need to patch the .desktop file.

@shmu26
Copy link
Author

shmu26 commented Jun 10, 2022

Yes. patching .desktop files, as per the Arch Wiki, was the answer. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants