systemctl --user restart plasma-powerdevil.service
Tankar om teknik
Problem solving, mostly Linux
lördag 18 juli 2026
KDE brightness app doesn't show all monitors.
Often the brightness app would stop detecting a monitor if it was turned off and then turned on a gain.
Restarting the plasma-powerdevil service makes the brightness app reread the currently connected monitors.
lördag 4 november 2023
Ubuntu missing web fonts.
After upgrading from Ubuntu 23.04 to 23.10 fonts on the web started looking weird. The solution was to install the microsofts fonts.
sudo apt-get install ttf-mscorefonts-installersource: stackoverflow.com
tisdag 13 december 2022
Steam Deck missing stdio.h
I tried to compile an application for the steam deck when I ran into missing header files. Weirdly the correct packages seemed to be installed, so why was I missing headers?
A reddit post explained that Valve had deleted some files belonging to installed packages and the resolution was to reinstall them.
So I ran the following command and surely, my compile worked afterwards.
A reddit post explained that Valve had deleted some files belonging to installed packages and the resolution was to reinstall them.
So I ran the following command and surely, my compile worked afterwards.
sudo pacman -S glibc linux-api-headers
söndag 14 mars 2021
Get full path for a file.
Time for another oneliner. I often need to get the full path of a file.
This can be done using the following command:
readlink -f myfile
Via stackoverflow.com
This can be done using the following command:
readlink -f myfile
Via stackoverflow.com
onsdag 3 mars 2021
Text disappearing from context menus in Gnome
I'm having an issue where most text in Gnome disappears or gets corrupted. I'm yet to find the root cause.
In the meantime the best quickfix is to restart Gnome.
To do so, press alt + F2, type r and press enter.
Via linuxconfig.org
In the meantime the best quickfix is to restart Gnome.
To do so, press alt + F2, type r and press enter.
Via linuxconfig.org
lördag 27 februari 2021
måndag 15 februari 2021
Can't init device hci0: Connection timed out (110)
Bluetooth stopped working on my raspberry pi running raspbian. The first I tried was to reset the interface by running hciconfig hci0 down/up, but that gave me "Can't init device hci0: Connection timed out (110)".
I found that by removing the btusb module and then adding it back, I was able to get bluetooth working again. Next time bluetooth gives up, I will run this:
sudo hciconfig hci0 down
sudo rmmod btusb
sudo modprobe btusb
sudo hciconfig hci0 up
Via unix.stackexchange.com
I found that by removing the btusb module and then adding it back, I was able to get bluetooth working again. Next time bluetooth gives up, I will run this:
sudo hciconfig hci0 down
sudo rmmod btusb
sudo modprobe btusb
sudo hciconfig hci0 up
Via unix.stackexchange.com
Prenumerera på:
Inlägg (Atom)