Notes and hints from Putte

This page is mainly for Putte posting notes an things to remember when on the fly.
Mostly hints and other good to have stuff.

22 thoughts on “Notes and hints from Putte

  1. Putte

    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!

    Reply
  2. Putte

    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/

    Reply
  3. Putte

    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

    Reply
  4. Putte

    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

    Reply
  5. Putte

    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

    Reply
  6. Putte

    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

    Reply
  7. Putte

    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

    Reply
  8. Patric Brånhede

    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

    Reply
  9. Putte

    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

    Reply
  10. Putte

    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

    Reply
  11. Putte

    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

    Reply
  12. Putte

    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

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *