K3b Version: 2.0.3 KDE Version: 4.14.24 QT Version: 4.8.6 Kernel: 4.8.12amu-kernel Used versions ———————– mkisofs: 3.2a06 cdrecord: 3.2a06 cdrecord ———————– cdrecord: Insufficient ‘file read’ privileges. You will not be able to open all needed devices. cdrecord: Insufficient ‘file write’ privileges. You will not be able to open all needed devices. cdrecord: Insufficient ‘device’ privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems. cdrecord: Insufficient ‘memlock’ privileges. You may get buffer underruns. cdrecord: Insufficient ‘priocntl’ privileges. You may get buffer underruns. cdrecord: Insufficient ‘network’ privileges. You will not be able to do remote SCSI. scsidev: ‘/dev/sr0’ devname: ‘/dev/sr0’ scsibus: -2 target: -2 lun: -2 Warning: Open by ‘devname’ is unintentional and not supported. Linux sg driver version: 3.5.27 SCSI buffer size: 64512 cdrecord: Warning: Cannot read drive buffer. cdrecord: Warning: The DMA speed test has been skipped. Cdrecord-ProDVD-ProBD-Clone 3.02a06 (x86_64-pc-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling TOC Type: 1 = CD-ROM Using libscg version ‘schily-0.9’. Driveropts: ‘burnfree’ atapi: 1 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : ‘HL-DT-ST’ Identifikation : ‘DVDRAM GH24NSB0 ‘ Revision : ‘LM00’ Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: DVD+R/DL Profile: DVD-R/DL sequential recording Profile: DVD-R/DL layer jump recording Profile: DVD+R/DL (current) Profile: DVD+R Profile: DVD+RW Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD-RAM Profile: DVD-R sequential recording Profile: DVD-ROM Profile: CD-RW Profile: CD-R Profile: CD-ROM Profile: Removable Disk Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr). Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 360448 = 352 KB FIFO size : 4194304 = 4096 KB Track 01: data 7869 MB Total size: 7869 MB = 4029292 sectors Current Secsize: 2048 Blocks total: 4173824 Blocks current: 4173824 Blocks remaining: 144532 Reducing transfer size from 64512 to 32768 bytes. Starting to write CD/DVD/BD at speed 4 in real SAO mode for single session. Last chance to quit, starting real write in 3 seconds. 2 seconds. 1 seconds. 0 seconds. Operation starts.Happy New Year!!!
Gentoo december issues
Dear diary, today I booted up my computer with Gentoo as I wanted to update the kernel and others packages; however when I wanted to update the kernel source code there was a lot of dependencies for only the Linux kernel —It is kinda surprisingly—:
As usual, ICU was blocking my updates and tries of packages installations, also it seemed that ncurses was blocking the update too (I hadn’t seen this before)
However, because I updated my mesa drivers, Gentoo was luckily unlocked as it upgraded 108 packages.
Finally I had another problem with Ruby and Python because Gentoo was using the old versions, so I removed them as this topic suggested:Link
Also I learned a very useful trick about the console, how to avoid that the shell logs an specific command, just add this to your ~/.bashrc file and that’s all.
So when you do not want Linux to log a command just type an space before the command and after the prompt, and ready!
Recoloring icons to pink
I am still using Linux Deepin, I found it interesting that Linux Deepin includes the Flattr icons by default, however the folder icons are green and It didn’t combined at all, I wanted them to be pink, and so for the first time I achieved to automatically change the colors using a command:
cd /usr/share/icons/flattr/places/64/ sudo for p in folder* ; do convert "$p" +level-colors red, "$p" ; done cd /usr/share/icons/flattr/places/16 sudo for p in folder* ; do convert "$p" +level-colors red, "$p" ; done
The system icons location is /usr/share/icons/flattr , in the places subfolder is located all folders icons wich are available in two different sizes: 16×16 and 64×64. Thus /usr/share/icons/flattr/places/64/ stands for 64×64 sized icons and /usr/share/icons/flattr/places/16 stands for 16×16 icons.
As them are system locations we need to use sudo; in the second and forth line the color of icons are changed from green to pink with the execution of a loop, i.e. using the for command. The for command syntax is similar to this: for a variable in a string ; do something, done ; our variable of course is the letter p and our string is the regex folder* ; our something are the special commands for transform the pictures:
Convert is the cli of the well-know image-magick, the following is the command used for transform each picture:
Trying Linux Deeping
Today was a very funny and exhausting day. I deleted my Arch Linux installation and :c it brought me back nostalgic memories:
To tell you the truth I wanted a simpler Linux distribution so that I could be focused on Gentoo because Arch is also a complex Linux distro.
I tried to install Ubuntu with debootstrap but surprisingly I failed :c , you could say it is surprisingly since I am able to install Gentoo but not so Ubuntu. I was able to install the core system and make chroot, also I was able to install everything with no problems.
The issue was that Ubuntu booted into emergency mode, despite of realizing I had forgotten to add the file system in fstab, fixing it didn’t solved the problem.
The most important thing is that I learned that we have to be careful when using bootstrap to install a distribution and make a list of steps or diagram.
And my main mistake was to forgot the fact that Ubuntu have several repositories D: I was indeed overconfident, it it hard to me to understand how was I able to flawlessly install Debian Sid in the same fashion, Arch and of course Gentoo and failed with Ubuntu :c
Maybe systemd is not enough stable in Ubuntu yet, by the other hand I learned a new concept UTMP, is a kind of special file where every login is recorded. It depends in the symlink in /var/run of /run
Possibly it had to do the improperly unmounting of LVM partitions in Gentoo, now I remember once Arch did not let me boot into until I runned fsck, well, never mind.
What a troublesome init system is this systemd. It seems that getting back to Openrc right in Gentoo was a very wise decision ^o^
After failing to install Ubuntu I tried to install Deepin and it was perfect, it is gorgeous, my dream Linux distroimage
And now guess what, I also installed deepin in the cli way, to tell you the truth I wanted to do it using a usb flash but I wonder where my pen drive is :c , anyway.
The most challenging thing was to set up the root password, I didn’t know what I was not able to set the root password within chroot, I had to boot with a kernel parameter (init=/bin/bash) in order to set up the root password and so my local user password.
I think it is perfectionimage
And finally I did a backup of my root file-system using the following command:
This will create a tar.7z highly compressed file, I choosed the 7z method since it supports multi-thread compressing -I have 8 threads-, and for the sake of time saving
Public backup of blog
Today I learned how to connect via ftp with my remote hosting and wget ended being perfect while curlftpfs was really bad :c
Today I installed Apache, PHP and set up a WordPress local server to have a backup of my Linux website, also to be able to make this kind of backups.
I think it is very important to make different kinds of backups because it is possible that even the most reasonable and useful backup can fail at the moment.
Portable version (3.2MB) (format: tar.gz)