Friday, 5 February 2016

Unattended updates on Linux MINT

Updates in MINT have been quite reliable within the last years. Thus having a little more comfort is from my perspective preferable. The MINT forum offers first steps to have unattended updates.

/etc/apt/apt.conf.d/10periodic
  • APT::Periodic::Update-Package-Lists "1";
  • APT::Periodic::Download-Upgradeable-Packages "0";
  • APT::Periodic::AutocleanInterval "30";
  • APT::Periodic::Unattended-Upgrade "1";
/etc/apt/apt.conf.d/50unattended-upgrades
    • "Ubuntu trusty-security";
    • "Ubuntu trusty-updates";
    • "linuxmint rosa";
    • "LP-PPA-webupd8team-java trusty"; //Oracle Java
    •  LP-PPA-peterlevi trusty"; //Variety
    • "liveusb.info all"; //MultiSystem
    • "Canonical trusty"; //Adobe & more
    • "LP-PPA-gencfsm trusty" //gnome-encfs-manager
    These are the sources that I need to cover all my applications. Andrew gives advice, how to identify these sources at least roughly. Keep in mind! The sources need to be partially updated after an upgrade.
    sudo unattended-upgrade --dry-run --debug | awk -F "\'" '/Origin component/{print $11,$9}' | sort | uniq
    /var/log/unattended-upgrades

    Here you find the regular created log files. Worth watching when starting with the unattended upgrades.

    Monochrome Dropbbox icon

    Having a NVIDIA graphic card the Dropbox icon can have an ugly black background. This is annoying when using e.g. Linux Mint with Cinnamon or MATE.

    However I found a reddit post with the solution:
    1. Quit Dropbox
    2. Go into ~/.dropbox-dist/dropbox-lnx[VERSION] 
    3. Backup libGL.so.1
    4. Delete libGL.so.1
    5. ln -s /usr/lib/nvidia-[VERSION]/libGL.so.1 /home/[ACCOUNT]/.dropbox-dist/dropbox-lnx[VERSION]/
    6. Start Dropbox
    Now the Dropbox icon should have a transparent background again.

    Tuesday, 12 January 2016

    Asus UX305CA and Mint 17.3 Rosa

    While my old Asus notebook has been almost five years old, it was time for a new one. Mostly because of heat issues the notebook had the past month.

    Looking at the Asus Zenbook series I really felt in love with the UX305 platform. The UX305FA is a fan-less and light notebook, however the CPU performance could have been more powerful. So I bought the successor UX305CA, knowing that the new Intel Skylake chipset has not a full Linux support yet. Nevertheless it is a great piece of hardware!

    Known issues however are:
    • Touchpad is not working, but workaround available
    • Brightness keys are not working, but softkey configuration possible
    In addition I faced some challenges before everything worked fine. Here my journey so far:
    • Using a MultiSystem USB Stick I had to disable "Secure Boot" in the BIOS to be able to boot from the stick
    • Loading the Live CD with Mint 17.3 Rosa the touchpad was not working. Connect a mouse
    • Upgrade the kernel after installation to 4.4.0 
    • Compile your own 4.4.0 kernel with touchpad support
    • Configure grub or use Grub Customizer to start from your customized kernel
      • Restore grub, if something went wrong by doing it manually


    Dropbox encryption: cryptkeeper alternative

    Using cryptkeeper has been often very frustrating, because of "segmentation fault" issues. The tool often didn't start at start-up and had to be started manually. Even this took sometimes several attempts due to "segmentation fault" messages.

    However there are other solutions out. Just make your life easier and use Gnome Encfs Manager.