This page is mainly for Putte posting notes an things to remember when on the fly.
Mostly hints and other good to have stuff.
This page is mainly for Putte posting notes an things to remember when on the fly.
Mostly hints and other good to have stuff.
No working keyboard on Asus Zenbook 14, Ryzen 7, (BX425QA) with Linux
When installing Linux on a new Asus Zenbook 14 with Ryzen 7, (BX425QA), the keyboard did not work.
It worked after the first reboot after a fresh install, and also after running an upgrade with apt update/upgrade.
But after a cold boot the keyboard stopped working again.
I have experienced the problem with Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and Linux Mint Cinnamon 20.3
Error code during boot:
i8042: Can’t read CTR while initializing i8042
i8042 is the keyboard controller on this laptop and that device does not always seem to work correct on Unix/Linux systems.
Following fix solved my problem and now the keyboard works after a reboot or a cold boot.
Use a Terminal and do the following:
– Edit the the grub configuration file with the command:
sudo nano /etc/default/grub
-Change this line:
GRUB_CMDLINE_LINUX=””
– to this:
GRUB_CMDLINE_LINUX=”i8042.reset i8042.nomux i8042.nopnp i8042.noloop”
If you want to keep both the old line and the new line, just add a # in the beginning of the old line and add the new line below, like this:
#GRUB_CMDLINE_LINUX=””
GRUB_CMDLINE_LINUX=”i8042.reset i8042.nomux i8042.nopnp i8042.noloop”
I prefer to do like this to make it easier to revert
– Save the change you did with the command:
ctrl s
– Exit the editor with the command:
ctrl x
– Update bootloader with the command:
sudo update-grub
– Reboot the computer with the command:
sudo reboot
– Congratulations, you’re done!
How to install Ubuntu from an USB-stick
For those who want to install and run Ubuntu from an USB stick:
https://linuxhint.com/install_an_entire_ubuntu_on_a_usb_flash_drive/
Wrong time in windows with dual boot (Ubuntu-Windows11)
Windows showing the wrong time when using dual boot between Windows 11 and Ubuntu 22.04.
The problem occurred for me when booting to windows after using Ubuntu, (dual boot).
The time was not correct and “Set the time automatically” needed to be turned off and on to adjust the time again.
Solution number two solved the problem for me.
https://ubuntuhandbook.org/index.php/2021/06/incorrect-time-windows-11-dual-boot-ubuntu/
Show trash can on desktop Ubuntu 22.04
How to Show or hide the trash can on the desktop in Ubuntu 22.04
To show the trash can run this command:
gsettings set org.gnome.shell.extensions.ding show-trash true
To hide the trash can run this command:
gsettings reset org.gnome.shell.extensions.ding show-trash
You can remove the trash can from the dock in settings/Appearance/Configure dock behavior/Show Trash
Or run this command:
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
LAMP Web Server with WordPress on Raspberry Pi
https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress
BMW Navigator IV, V and VI with Touratech handlebar mounting V2.0 BMW
Some links regarding how to connect the cable to different motorcycles.
https://www.ukgser.com/forums/showthread.php/520829-Nav-6-cradle-wiring-to-non-BMW-bike
https://www.advrider.com/f/threads/installing-bmw-navigator-v-gps-on-ktm-1190.947084
https://www.online-parts.co.uk/bmw-spare-parts/83300413586_Repair-Plug-3-Pin.html
And the cradle from Touratech
https://se.touratech-nordic.com/handlebar-mounting-v2-0-bmw-navigator-iv-v-and-vi-lockable-black.html
No audio over HDMI Mac Mini 2012 with Linux
https://askubuntu.com/questions/1222600/sound-not-working-on-ubuntu/1223922#1223922
Check Linux version and OS name:
cat /etc/os-release
lsb_release -a
hostnamectl
Check Linux Kernel version:
uname -r
Check Linux architecture:
uname -a
dpkg –print-architecture
getconf LONG_BIT
arch
Linux info command
cat /etc/linuxmint/info
cat /etc/issue
Disable internal Wi-Fi on Raspberry Pi OS
How to disable internal Wi-Fi on Raspberry Pi OS and only use external Wi-Fi dongle connected via USB:
sudo nano /boot/config.txt
Add following text at the end of file:
#Added by Putte to disable internal Wi-Fi
dtoverlay=disable-wifi
Feel free to change the name Putte to your own name 😉
FYI, this only disables Wi-Fi, Bluetooth will continue to work
Trek Rail 9.5 (231103)
Framdrev:
Sram Eagle DM Bosch Drev
Sort, 11/12-delt, For Bosch Gen4
https://bikeshop.se/sram/006218013001/sram-eagle-dm-bosch-drev-sort-11-12-delt-for-bosch-gen4
Kassett:
Shimano SLX CS-M7100 12s Kassett
12-växlar, 10T-51T
https://bikeshop.se/shimano/nyshimano118/shimano-slx-cs-m7100-12s-kassett-12-v%c3%a4xlar-10t-45t-51t
Kedja:
Shimano CN-M8100 12s 126L Kedja
12-växlad, 126 Länkar, MTB/Racer
https://bikeshop.se/shimano/icnm8100126q/shimano-cn-m8100-12s-126l-kedja-12-v%c3%a4xlad-126-l%c3%a4nkar-mtb-racer
Use Ghostscript to compress a PDF-file
Install ghostscript:
sudo apt install ghostscript poppler-utils
Usage:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
-dPDFSETTINGS sets the compression, some alternatives: screen, ebook, default
Date and time in bash scripts
https://www.howtogeek.com/410442/how-to-display-the-date-and-time-in-the-linux-terminal-and-use-it-in-bash-scripts/#options-to-display-the-month
To install a .deb package, use the dpkg command with the -i flag along with the package name as shown.
$ sudo dpkg -i application.deb
https://bygg.se/slipa-betonggolv-sa-gor-du/
https://recoverit.wondershare.com/memorycard-recovery/linux-sd-card-recovery.html
https://www.google.com/search?sca_esv=a7dd94b2e88221ce&sca_upv=1&rlz=1C9BKJA_enUS590US590&hl=en-GB&sxsrf=ADLYWIKzT6NaIatF87r2jYtE4uyzpHGX9A:1717428989260&q=z900rs+engine+runs+jerky+when+releasing+throttle&source=lnms&uds=ADvngMg-vSAU9ZjXznbWRcQjOWK7kID7hmSM3Egn6SsAEqCiXtbLYdszu0cwN2uLGcvfLHcn_NQPYXX8Jc84BlZKox2ZeyIuRHWgcBmOkW81sbVI5IW_K4ggEUt2MDYQUDNPXr2Atr2H4j6Kl-SQBWB1xJ9a9zr_B5U_b6FhilowiXRG6QvAvogMwrUhqigbFgneOGPT7EoUoeL-sX8Zb7TjuFZemsiI_arPt6MRgFL4tRhmwNIfdnll5R9ksTHE3y3u26xEjUg9JnJQYx5xrb6iXWMpDqs4I0yZurrAEYVqph0hLWE-nAQ&sa=X&ved=2ahUKEwiju9PG4b-GAxXnHRAIHTLJA3UQ0pQJegQIChAB&biw=1024&bih=653&dpr=2
https://www.z900rs.co.uk/index.php?topic=3118.0
https://www.reddit.com/r/Kawasaki/comments/mf4mc9/z900_steady_speed_issues/
https://www.google.com/search?q=z900rs+runs+jerky+at+steady+speed&sca_esv=30c453807a2cab8d&sca_upv=1&rlz=1C9BKJA_enSE956SE956&hl=sv&sxsrf=ADLYWIItO6iTmJiN80e4_OvTtj8xkGryAw%3A1717574554865&ei=mhtgZvC-NLybwPAPrbDDeQ&oq=z900rs+runs+jerky+at+steady+speed&gs_lp=EhNtb2JpbGUtZ3dzLXdpei1zZXJwIiF6OTAwcnMgcnVucyBqZXJreSBhdCBzdGVhZHkgc3BlZWQyBRAhGKABMgUQIRigAUiNflC5EFiAfXAAeACQAQCYAaMBoAG2HKoBBDM1Lje4AQPIAQD4AQGYAiagAroYwgIHECEYoAEYCsICBBAhGBXCAgUQIRifBZgDAIgGAZIHBDM1LjOgB5B6&sclient=mobile-gws-wiz-serp
https://www.google.com/search?q=z900rs+runs+jerky+with+non+stock+exhaust+system&sca_esv=30c453807a2cab8d&sca_upv=1&rlz=1C9BKJA_enSE956SE956&hl=sv&sxsrf=ADLYWIK6W3UJnfvSEIM9ZnBTtl0j6AUkPw%3A1717574958742&ei=Lh1gZvb0LPWrwPAPy7P00Qs&oq=z900rs+runs+jerky+with+non+stock+exh&gs_lp=EhNtb2JpbGUtZ3dzLXdpei1zZXJwIiR6OTAwcnMgcnVucyBqZXJreSB3aXRoIG5vbiBzdG9jayBleGgqAggBMgUQIRigATIFECEYoAEyBRAhGKABMgUQIRigATIFECEYnwVIu7EBUJQMWPiYAXAAeACQAQGYAYoBoAG1GKoBBDI5Lje4AQHIAQD4AQGYAh6gAvoUwgIHECEYoAEYCsICBBAhGBXCAggQABiABBiiBJgDAIgGAZIHBDIzLjegB-px&sclient=mobile-gws-wiz-serp#ip=1
https://www.bruksanvisni.ng/kawasaki/z900-rs-2018/bruksanvisning
https://www.kawasakininja1000.com/threads/how-do-i-delete-a-fault-code.25640/