My personal website https://etiennebaque.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

77 lines
2.7 KiB

  1. ---
  2. title: Debian Xfce - Setup notes
  3. layout: default
  4. ---
  5. <section id="deb_table">
  6. <div class="container">
  7. <div class="content">
  8. <h2>Debian Xfce - Notes</h2>
  9. <div>
  10. Here's some help to troubleshoot a few issues that may occur after a fresh install of Debian Xfce:
  11. <ul>
  12. <li><a href="#video_fix">Videos shows horizontal tears, and the quality is not great</a></li>
  13. <li><a href="#touchpad_fix">Middle tap on touchpad is not working</a></li>
  14. <li><a href="#dark_theme">How to make Qt apps match dark themes on Xfce?</a></li>
  15. <li><a href="#caps_lock">Map Caps-lock key to Ctrl</a></li>
  16. </ul>
  17. </div>
  18. </div>
  19. </div>
  20. </section>
  21. <section id="deb_answers">
  22. <div class="container">
  23. <div class="content">
  24. <h3 id='video_fix'>Videos show horizontal tears and their quality is not great</h3>
  25. <p>
  26. Create <code>/etc/X11/xorg.conf.d/20-intel.conf</code> (if your have an Intel graphic card) and add the following content in it:
  27. <pre>
  28. Section "Device"
  29. Identifier "Intel Graphics"
  30. Driver "Intel"
  31. Option "TearFree" "true"
  32. EndSection</pre>
  33. You may need to turn off compositing ('Window manager tweaks' > 'Compositor').
  34. </p>
  35. <h3 id='touchpad_fix'>Middle tap on touchpad is not working</h3>
  36. <p>
  37. Create <code>/etc/X11/xorg.conf.d/40-libinput.conf</code> and add the following content in it:
  38. <pre>
  39. Section "InputClass"
  40. Identifier "libinput touchpad catchall"
  41. MatchIsTouchpad "on"
  42. MatchDevicePath "/dev/input/event*"
  43. Driver "libinput"
  44. Option "Tapping" "on"
  45. EndSection</pre>
  46. </p>
  47. <h3 id="dark_theme">How to make Qt apps match dark themes on Xfce?</h3>
  48. <p>
  49. Open <code>~/.config/Trolltech.conf</code> and add the following lines
  50. <pre>
  51. [Qt]
  52. style=GTK+</pre>
  53. Save and exit the file. Then run the following:
  54. <pre>sudo apt-get install qt5-style-plugins</pre>
  55. Finally, open <code>/etc/environment</code> and add this line:
  56. <pre>QT_QPA_PLATFORMTHEME=gtk2</pre>
  57. </p>
  58. <p> (Source: <a href="https://www.youtube.com/watch?v=rP4DWu24ff0" target="_blank">https://www.youtube.com/watch?v=rP4DWu24ff0)</a></p>
  59. <h3 id="caps_lock">Map Caps-lock key to Ctrl</h3>
  60. <ul>
  61. <li>Open <code>Session and Startup</code> (via the Whisker menu, for example), click on the <code>Application Autostart</code> tab.</li>
  62. <li>Click on <code>Add</code>.</li>
  63. <li>In the small window, enter a name and add this command: <code>/usr/bin/setxkbmap -option 'ctrl:nocaps'</code>. OK and leave.</li>
  64. <li>Restart your computer.</li>
  65. </ul>
  66. </div>
  67. </div>
  68. </section>