32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
|
--- a/misc/apparmor/usr.bin.qutebrowser
|
||
|
+++ b/misc/apparmor/usr.bin.qutebrowser
|
||
|
@@ -33,12 +33,12 @@ profile qutebrowser /usr/{local/,}bin/qu
|
||
|
/usr/bin/ldconfig ix,
|
||
|
/usr/bin/uname ix,
|
||
|
/usr/bin/qutebrowser rix,
|
||
|
- /usr/lib/qt/libexec/QtWebEngineProcess mrix,
|
||
|
+ /usr/lib/qt6/libexec/QtWebEngineProcess mrix,
|
||
|
/usr/share/pdf.js/** r,
|
||
|
- /usr/share/qt/translations/qtwebengine_locales/* r,
|
||
|
- /usr/share/qt/qtwebengine_dictionaries r,
|
||
|
- /usr/share/qt/qtwebengine_dictionaries/* r,
|
||
|
- /usr/share/qt/resources/* r,
|
||
|
+ /usr/share/qt6/translations/qtwebengine_locales/* r,
|
||
|
+ /usr/share/qt6/qtwebengine_dictionaries r,
|
||
|
+ /usr/share/qt6/qtwebengine_dictionaries/* r,
|
||
|
+ /usr/share/qt6/resources/* r,
|
||
|
|
||
|
owner @{HOME}/ r,
|
||
|
owner /dev/shm/.org.chromium* rw,
|
||
|
--- a/qutebrowser/browser/webengine/spell.py
|
||
|
+++ b/qutebrowser/browser/webengine/spell.py
|
||
|
@@ -28,7 +28,7 @@ def version(filename):
|
||
|
|
||
|
def dictionary_dir():
|
||
|
"""Return the path (str) to the QtWebEngine's dictionaries directory."""
|
||
|
- return os.path.join(standarddir.data(), 'qtwebengine_dictionaries')
|
||
|
+ return '/usr/share/qt6/qtwebengine_dictionaries'
|
||
|
|
||
|
|
||
|
def local_files(code):
|