ubuntu

Ubuntu: disable automatic screen blanking

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0 gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 gsettings set org.gnome.desktop.screensaver idle-activation-enabled false gsettings set org.gnome.settings-daemon.plugins.power idle-brightness 100

Reducing SAMBA Server / smbd load when transferring large files

We have a 4 core Intel i3 machine running ubuntu set up in our office, responsible for two jobs: recording 5 security cameras to disk (ffmpeg) being a general purpose fileserver. The machine has a single, 3TB SATA disk and no RAID. The data on the machine doesn’t matter, and doesn’t need to be 100% …

Reducing SAMBA Server / smbd load when transferring large files Weiterlesen »

Compiling and running ethminer 0.19.0 on Ubuntu 21.04

git clone https://github.com/ethereum-mining/ethminer.git cd ethminer git checkout tags/v0.19.0 git submodule update –init –recursive rm -rfv build && mkdir build && cd build export CC=/usr/bin/gcc-8 export CXX=/usr/bin/g++-8 cmake .. && make . && sudo make install ethminer -P stratum://0x2a9d3072a8feb1578c2f10069010480b8742c39c@eu1.ethermine.org:4444 Notes to self: use gcc-8 have at least 4GB Memory on the GPU use a CUDA-10 compatible …

Compiling and running ethminer 0.19.0 on Ubuntu 21.04 Weiterlesen »

How to hibernate and resume from swap file in Ubuntu 20.04 using full disk encryption

On my laptop, I am running full disk encryption (LUKS with a single encrypted ext4 partition), and a single, large swap file as large as my system RAM (16GB). Here’s how to make it work: Make your swapfile have at least the size of your systems RAM: Note the UUID of the partiton containing your …

How to hibernate and resume from swap file in Ubuntu 20.04 using full disk encryption Weiterlesen »

Clean default sources.list file for Ubuntu 20.04 focal

deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe …

Clean default sources.list file for Ubuntu 20.04 focal Weiterlesen »

Fix IcedTea „cannot grant permissions to unsigned JARs“ error

In case you are a Linux user unsuccessfully trying to connect to your IPMI/LOM Console using IcedTea / OpenJDK 8 or newer, you will likely run into this error. You know, because if you’re a major hardware vendor selling expensive enterprise class servers, you don’t care about your IPMI hardware once you sold it. Here’s …

Fix IcedTea „cannot grant permissions to unsigned JARs“ error Weiterlesen »

Installing Brother DCP Scanner Drivers in Ubuntu

Start a Terminal using CTRL+ALT+T. Install some depencencies and frontend scanner tools using sudo apt-get install xsane sane-utils simple-scan lib32stdc++6 Now download the drivers. In case brother loses them, I mirrored them here. Alternatively use the wget commands down below. wget http://download.brother.com/welcome/dlf006646/brscan4-0.4.4-4.i386.deb -O brscan4-0.4.4-4.i386.debwget http://download.brother.com/welcome/dlf006651/brscan-skey-0.2.4-1.i386.deb -O brscan-skey-0.2.4-1.i386.debwget http://download.brother.com/welcome/dlf006654/brother-udev-rule-type1-1.0.2-0.all.deb -O brother-udev-rule-type1-1.0.2-0.all.deb Now install the drivers you just …

Installing Brother DCP Scanner Drivers in Ubuntu Weiterlesen »

Asus ZenBook 13 (UX331UN) with Ubuntu: Battery drain while in suspend

When i got my shiny new ZenBook 13 UX331UN in July, i immediately wiped it and installed Ubuntu 18.04 (Bionic Beaver). But I soon realized something was wrong with suspend: The laptop would go to sleep and over night the battery would either almost (10-ish percent) or completely drain, leaving the laptop completely powered off. …

Asus ZenBook 13 (UX331UN) with Ubuntu: Battery drain while in suspend Weiterlesen »

Nach oben scrollen