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

Add falkon browser profile #1794

Closed
HotelBellaMuerte opened this issue Mar 2, 2018 · 5 comments
Closed

Add falkon browser profile #1794

HotelBellaMuerte opened this issue Mar 2, 2018 · 5 comments
Labels
enhancement New feature request

Comments

@HotelBellaMuerte
Copy link
Contributor

HotelBellaMuerte commented Mar 2, 2018

Falkon its the update of qupzilla

we can consider qupzilla as abandonware

@smitsohu
Copy link
Collaborator

smitsohu commented Mar 2, 2018

Hi @bn0785ac, do you know by chance if there is a migration tool from Qupzilla to Falkon? Or in other words: Does it make sense to give Falkon access to old Qupzilla folders?

@Fred-Barclay Fred-Barclay added the enhancement New feature request label Mar 3, 2018
@Kishore96in
Copy link
Contributor

Kishore96in commented Mar 5, 2018

I have been using this profile for falkon for some time, and I haven't faced any issues.

# Firejail profile for falkon
# Persistent global definitions
include /etc/firejail/globals.local

noblacklist ${HOME}/.cache/falkon
noblacklist ${HOME}/.config/falkon

noblacklist ~/.cache/fish

noblacklist ~/Documents
noblacklist ~/Pictures
noblacklist ~/Appimages
noblacklist ~/logs
noblacklist ~/Scripts/stylesheets

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

whitelist ${DOWNLOADS}
whitelist ~/.cache/falkon
whitelist ~/.config/falkon
include /etc/firejail/whitelist-common.inc

whitelist ~/.cache/fish #needed to launch fish shell's browser based config tool

#Bunch of miscellaneous directories I've whitelisted
whitelist ~/Documents
whitelist ~/Pictures
whitelist ~/Appimages
whitelist ~/logs
whitelist ~/Scripts/stylesheets

caps.drop all
netfilter
nodvd
noroot
notv
protocol unix,inet,inet6,netlink
seccomp
tracelog
nogroups
nonewprivs

private-dev
#private-tmp # Okular cannot open temporarily downloaded PDFs if this is set.
noexec ${HOME}
noexec /tmp

I do not see any option to directly import configs from Qupzilla, and Falkon uses a different config directory, so AFAIK, there would be no need to give falkon access to the Qupzilla config folders. However, there seems to be support to import bookmarks from Firefox, Chrome, and Opera, so perhaps the relevant directories would need to be accessible.

Edit: So I confirmed with the Falkon dev on IRC, and he says there's no tool to directly import configuration from Qupzilla.

Fred-Barclay added a commit that referenced this issue Mar 5, 2018
@Fred-Barclay
Copy link
Collaborator

@Kishore96in can you test the profile in 45e044c ?

@Kishore96in
Copy link
Contributor

@Fred-Barclay Most of the common stuff seems to work alright on the profile in the commit you mentioned. I tested launching falkon, playing audio, opening files, and saving files. However, one issue is that the private-tmp option interferes with the feature to download a file to /tmp and open it with some program, instead of saving it to disk (i.e., the program chosen to open the given file complains it can't access the file). It should probably not be enabled in the falkon profile provided with firejail.

@smitsohu
Copy link
Collaborator

Thank you everyone!

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

No branches or pull requests

4 participants