- make sure to configure the udev rule first
- prepare Node.js on your Linux system either by installing it from your system repositories or by downloading it from https://nodejs.org/en and adding it to your
PATH
variable - clone the VIA app git repository from https://github.com/the-via/app, e.g.
git clone https://github.com/the-via/app.git
- enter the directory of the cloned git repository in a terminal
- execute
npm install
to install the required node modules for the app (you only need to do that once) - execute
npm run start
(this will start the app server on your local machine in the background) - open the displayed
localhost
URL in your browser, for example http://localhost:5173/ - use the VIA app as usual (for NuPhy keebs remember to enable the design tab and load the JSON first)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this as a .qss file to "Style Sheets" in qt5ct | |
// | |
// Notes: | |
// PathBar is within the Fm C++ namespace, see: | |
// https://github.com/lxqt/libfm-qt/blob/abd4aaa91c44d8141cdcc04972b906e10285a52f/src/pathbar.cpp#L36 | |
// https://doc.qt.io/qt-5/stylesheet-syntax.html#widgets-inside-c-namespaces | |
Fm--PathBar QScrollArea, Fm--PathBar .QWidget { | |
background: transparent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/folderview.cpp.orig 2023-02-02 22:54:09.780036423 +0100 | |
+++ src/folderview.cpp 2023-02-02 22:50:06.284034359 +0100 | |
@@ -1592,9 +1592,6 @@ | |
return true; | |
} | |
} | |
- // row-by-row scrolling when Shift is pressed | |
- if((QApplication::keyboardModifiers() & Qt::ShiftModifier) | |
- && (mode == CompactMode || mode == DetailedListMode)) // other modes have smooth scroling | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""EWMH A-B desktop switcher (aka switch to the previously selected desktop) | |
A Python script for X11 that listens to changes of the current virtual desktop | |
and remembers the previously selected virtual desktop based on the | |
_NET_CURRENT_DESKTOP EWMH extension in X11. | |
It also listens on a UNIX socket, which if sent to, will switch back to the | |
remembered previous desktop. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/folderview.cpp.orig 2022-10-19 15:22:15.688067732 +0200 | |
+++ src/folderview.cpp 2022-10-19 15:10:59.396065442 +0200 | |
@@ -1592,8 +1592,8 @@ | |
return true; | |
} | |
} | |
- // row-by-row scrolling when Shift is pressed | |
- if((QApplication::keyboardModifiers() & Qt::ShiftModifier) | |
+ // row-by-row scrolling when Shift is NOT pressed | |
+ if (!(QApplication::keyboardModifiers() & Qt::ShiftModifier) |
Here's how to set up a Windows 10 virtual machine in KVM with PCI passthrough. The VM will have access to an NVIDIA graphics card while the host machine (running Debian Buster) uses Intel integrated graphics. This is mostly for my own reference so I don't forget how I did it.
- Intel i5 (an old one) with integrated graphics: this will be used as the graphics card for the host machine running Debian Buster
- NVIDIA Geforce 1070: this will be used as the graphics card for the Windows 10 VM
In order to do hardware passthrough with KVM at all, you need to enable the Intel Vt-d virtualization extensions. Edit /etc/default/grub
and edit the GRUB_CMDLINE_LINUX_DEFAULT
line so that it reads like: