Skip to content

Instantly share code, notes, and snippets.

View andersonmmendes's full-sized avatar

Anderson Mendes andersonmmendes

  • São José do Rio Preto - SP, Brasil
View GitHub Profile
@andersonmmendes
andersonmmendes / disable-touchscreen
Last active September 7, 2022 14:18
Disable touchscreen on Ubuntu with Wayland
Find vendor and product id of the device using cat /proc/bus/input/devices - In the output try to find your touchscreen device and use its Vendor=<VendorID> Product=<ProductID> value to create an udev rule.
Create a file /etc/udev/rules.d/70-no-touchscreen.conf with the following content (replace VendorID and ProductID with according values):
SUBSYSTEM=="usb", ATTRS{idVendor}=="VendorID", ATTRS{idProduct}=="ProductID", ATTR{authorized}="0"
You can restart after that or reload rules: udevadm control --reload-rules && udevadm trigger
{
// Define o tema do VSCode
"workbench.colorTheme": "Shades of Purple",
// Configura tamanho e família da fonte
"editor.fontSize": 18,
"editor.lineHeight": 24,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"explorer.compactFolders": false,