Search

atkdinosaurus

How to start xorg apps from root account to your user account’s xorg session?

# env DISPLAY=:0.0 XAUTHORITY=/home/username/.Xauthority xterm -e su - username
Advertisements

How to create custom udev rules for usb devices?

See the usb device path on insert/remove:

$ sudo udevadm monitor --udev --subsystem-match=usb
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV  [2575.915449] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
UDEV  [2575.930220] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV  [2625.506972] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV  [2625.513461] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)

Continue reading “How to create custom udev rules for usb devices?”

How to configure a new wireless connection through the CLI? (Ubuntu)

$ nmcli device wifi connect wlan_ssid password your_password

How to use sudo under Wayland to open graphical applications?

Wayland’s security model is different from Xorg.

https://fedoraproject.org/wiki/Common_F25_bugs#wayland-root-apps

Continue reading “How to use sudo under Wayland to open graphical applications?”

How to make Gnome graphics elements smaller? (Ubuntu 17.10)

By default on a 1366×768 display, the graphics elements were too big for my liking.

Continue reading “How to make Gnome graphics elements smaller? (Ubuntu 17.10)”

How to fix Xorg multi-touch issue with a finger resting on the clickpad? (Ubuntu 16.04)

By default Ubuntu 16.04 ships with a Xorg configuration which is using the Synaptics driver.

Continue reading “How to fix Xorg multi-touch issue with a finger resting on the clickpad? (Ubuntu 16.04)”

How to activate a previously defined wireless connection through cli?

$ nmcli --ask conn up id wlan_ssid

How to set pulseaudio volume during login? (KDE/pulseaudio)

The default volume level is 100%. This method automatically lowers the volume to 35%.

Continue reading “How to set pulseaudio volume during login? (KDE/pulseaudio)”

How to configure the Windows NTP client?

Set your time zone in Control panel/Date and time

Continue reading “How to configure the Windows NTP client?”

Create a free website or blog at WordPress.com.

Up ↑