mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1257] How do I allow qutebrowser to access its external editor (URxvt with Vim)? #857
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#857
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hund on GitHub (Apr 29, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1257
How do I allow qutebrowser to access its external editor (URxvt with Vim)? Is it possible?
@cryzed commented on GitHub (Apr 30, 2017):
Unless you are using some custom profile accessing/executing other executables should "just work". What is the problem exactly?
@Hund commented on GitHub (Apr 30, 2017):
With qutebrowser you can either just input text in the regular inputbox on the website, but you can also launch your favourite editor and edit the text there. And when you save and exit the editor, the text get put here.
But when I try to launch my editor (via qutebrowser) I only get the error message
Editor exited with status 127.. Which I guess is because the browser is not allowed to execute the binary file for URxvt?@SYN-cook commented on GitHub (Apr 30, 2017):
Could you try to run
firejail --noblacklist=${PATH}/urxvtc qutebrowserand let us know if it worked?@Hund commented on GitHub (May 1, 2017):
That didn't work.
@SYN-cook commented on GitHub (May 1, 2017):
Ok, I am sorry, but that output is helpful indeed. Could you then try the following?
and in ~/.config/firejail/qutebrowser.profile you comment out
include /etc/firejail/disable-devel.inc. If that is not enough to get everything running, you can insert at the beginning of the file:@Hund commented on GitHub (May 1, 2017):
It works with commenting that line out. :) Thanks!
@Hund commented on GitHub (May 2, 2017):
I just noticed that I can't use aspell via Vim when I launch Vim via qutebrowser. :/
@SYN-cook commented on GitHub (May 3, 2017):
You could go back to ~/.config/firejail/qutebrowser.profile and append
whitelist ~/.vimrc(or whatever the path to your vimrc is) at the end, assuming you have set up automatic spell checking through this file.If that does not work, however, I guess it will be best to open a new issue here.
@Hund commented on GitHub (May 3, 2017):
That worked! Didn't think of that. :)
@Hi-Angel commented on GitHub (Oct 6, 2017):
So, how do I run an external editor anyway? E.g. in pentadactyl it's Control-i for Insert mode.
This thread is the first result on Google, and the rest results are also issues, so I suspect it's an undocumented hotkey, yet everyone here seem to know it…
@Hi-Angel commented on GitHub (Oct 6, 2017):
Yay, I occasionally found it on this page. The hotkey is Ctrl-e. Dunno why isn't this page in Google results.