qutebrowser.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. NOTE: config.py is intended for advanced users who are comfortable with manually
  2. migrating the config file on qutebrowser upgrades. If you prefer, you can also
  3. configure qutebrowser using the :set/:bind/:config-* commands without having to
  4. write a config.py file.
  5. Documentation:
  6. qute://help/configuring.html
  7. qute://help/settings.html
  8. cd qutebrowser/qutebrowser/config/configdiff.py
  9. ~/.config/qutebrowser/qutebrowser.conf # the configuration file
  10. ~/.config/qutebrowser/autoconfig.yml # the configuration file
  11. # in qutebrowser
  12. :config-write-py # write the current configuration to a config.py file
  13. [converts ~/.config/qutebrowser/autoconfig.yml to ~/.config/qutebrowser/config.py]
  14. source .venv/bin/activate
  15. .venv/bin/python3 -m qutebrowser
  16. The-Compiler saran: rerun ./qutebrowser/scripts/mkvenv.py (I'd actually recommend doing that every time you pull,
  17. or at least when you see changes to misc/requirements/)
  18. https://qutebrowser.org/doc/install.html
  19. # set the zoom level for the current tab
  20. :zoom 67
  21. # adblock
  22. :adblock-update
  23. # qutebrowser
  24. $ qutebrowser --temp-basedir
  25. $ qutebrowser -T --backend=webengine
  26. $ qutebrowser -R
  27. $ qutebrowser --temp-basedir -s qt.force_software_rendering chromium
  28. $ qutebrowser --temp-basedir -s qt.force_software_rendering qt-quick # set to default
  29. $ qutebrowser --temp-basedir -s qt.force_software_rendering software-opengl
  30. # qutebrowser logs/outpus
  31. $ qutebrowser -V # version info
  32. $ qutebrowser --temp-basedir --bebug
  33. $ gdb (readlink -f (which python3)) -ex 'run -m qutebrowser'
  34. # use a Firefox user agent for all accounts.google.com pages
  35. Note that setting the user agent to Firefox globally is a bad idea - it'll
  36. break qutebrowser on various other websites.
  37. Instead, call
  38. :set -u https://accounts.google.com/ServiceLogin content.headers.user_agent '..'