X.org 1.61 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
#+TITLE:      Toon's X configuration
#+AUTHOR:     Toon Claes
#+STARTUP:    showall
-----

* Xresources
:PROPERTIES:
:header-args: :tangle ~/.Xresources
:header-args+: :comments both :mkdirp yes
:END:

From https://dougie.io/linux/hidpi-retina-i3wm/

#+BEGIN_SRC conf
Xft.dpi: 192
#+END_SRC

Other possible sources:
 + https://www.valhalla.fr/2018/07/14/hidpi-on-gnome-desktop/
 + https://mike42.me/blog/2018-02-how-to-use-hidpi-displays-on-debian-9

* Profile
:PROPERTIES:
:header-args: :tangle ~/.profile
:header-args+: :comments both :mkdirp yes
:END:

#+BEGIN_SRC sh
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5
export QT_AUTO_SCREEN_SCALE_FACTOR=1
#+END_SRC

to1ne's avatar
to1ne committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
** Lolcommits

Tell lolcommits which device to use: HD Pro Webcam C920.

Check which devices are available with:

#+begin_src sh :tangle no :output results
v4l2-ctl --list-devices
#+end_src

#+RESULTS:
| Integrated | IR          | Camera:    | Integrate | (usb-0000:00:14.0-5):   |
|            | /dev/video0 |            |           |                         |
|            | /dev/video1 |            |           |                         |
| Integrated | Camera:     | Integrated | C         | (usb-0000:00:14.0-8):   |
|            | /dev/video2 |            |           |                         |
|            | /dev/video3 |            |           |                         |
| HD         | Pro         | Webcam     | C920      | (usb-0000:3c:00.0-1.3): |
|            | /dev/video4 |            |           |                         |
|            | /dev/video5 |            |           |                         |


56
#+BEGIN_SRC sh
to1ne's avatar
to1ne committed
57
export LOLCOMMITS_DEVICE=/dev/video4
58
#+END_SRC