Kernel compilation (Debian Jessie)

Kernel compilation (Debian Jessie) http://www.tecmint.com/kernel-compilation-in-debian-linux/ You will need 8-10 GB of free disk space! apt-get install fakeroot kernel-package wget -c https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.20.tar.xz tar -xvJf linux-3.14.20.tar.xz cd linux-3.14.20 cp /boot/config-`uname -r` .config apt-get install libncurses5-dev make menuconfig make-kpkg clean export CONCURRENCY_LEVEL=3 fakeroot make-kpkg –append-to-version "-customkernel" –revision "1" –initrd kernel_image kernel_headers cd .. dpkg -i linux-image-3.14.20-customkernel_1_amd64.deb linux-headers-3.14.20-customkernel_1_amd64.deb Install … Read more

Install Sublime Text 3 in Debian via PPA

I like to have all software up to date using APT repositories. Sadly, there is no repository for my favorite Sublime Text editor for Debian. So first we gonna install add-apt-repository command: sudo apt-get install software-properties-common Let’s do some nasty hack, and install Ubuntu repository into Debian: sudo add-apt-repository ppa:webupd8team/sublime-text-3 Do not update repositories yet, … Read more

Xfce Print Screen key

https://wiki.archlinux.org/index.php/Xfce#Print_Screen_key XFCE Menu –> Settings –> Keyboard >>> Application Shortcuts Add the xfce4-screenshooter -f command to use the “PrintScreen” key in order to take fullscreen screenshots.

transmission-daemon: segfaults with systemd

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742626 When installing transmission-daemon from APT on a Jessie/Sid with systemd enabled, dpkg fails with: systemctl status transmission-daemon.service: ExecStart=/usr/bin/transmission-daemon -f –log-error (code=killed, signal=SEGV) process exited, code=killed, status=11/SEGV systemd[1]: Failed to start Transmission BitTorrent Daemon. systemd[1]: Unit transmission-daemon.service entered failed state. Solution is to add path to configuration directory “-g /etc/transmission-daemon” into following file: /lib/systemd/system/transmission-daemon.service ExecStart=/usr/bin/transmission-daemon … Read more

Backup data to remote SFTP server

http://grysz.com/2011/04/04/configure-amazon-s3-backup-with-backupninja-and-duplicity/ Data backup plan: * pick desired directories with your data you want to backup * you may backup system directories of your choice (in principle /etc /root /home /usr/local /srv etc.) * optionally you may backup MySQL database Used tools (tested on Debian Jessie and Ubuntu 12.04): * BackupNinja 0.9.10 – for MySQL database … Read more

XScreenSaver without keyboard layout indicator workaround

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644534 From: Ilya Sheershoff Subject: A workaround for keyboard layouts The following worked for me (Debian Jessie with XFCE 4.10 or Ubuntu 10.04 with GNOME 2.30): 1. Created folder: mkdir ~/.startup 2. And a file: touch ~/.startup/xscreensaver-reset-kbd-us.pl 3. Chmodded it: chmod 755 ~/.startup/xscreensaver-reset-kbd-us.pl 4. Edit (copy&paste the code below): nano ~/.startup/xscreensaver-reset-kbd-us.pl #!/usr/bin/perl my $blanked = 0; … Read more

Multisystem on Debian Jessie

If you receive strange error messages upon Multisystem installation on Debian Jessie: ./gui-detect.sh: line 432: /media/Multisystem/.multisystem-test: Permission denied cat: /media/Multisystem/.multisystem-test: No such file or directory cat: /tmp/multisystem/multisystem-laisserpasser-usb: No such file or directory cat: /tmp/multisystem/multisystem-laisserpasser-usb: No such file or directory than just edit your /etc/fstab and add following line: /dev/disk/by-label/Multisystem /media/Multisystem         auto … Read more

SSH RSA fingerprint

SSH RSA fingerprint (-l means “list” instead of create a new key, -f means “filename”): ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub