Tuesday, February 28, 2017

Music (GNOME application) Review

Music should use tracker. It plays music fine. It downloads covers well. It sucks when discovering music files. My music files are all neatly saved in /home/user/Music. The only way to check if I have a particular song or album or music artist is if 1) I open Rhythmbox, which "discovers" music well (manually) 2) if I search in nautilus, the file browser in GNOME and 3) if I use tracker CLI in the terminal.

There's a ton of music files not showing up in Music.

I like that it has last.fm in gnome-accounts. It gave me a smile when I discovered that songs I played in Music shows up in my last.fm recently played list. Yes I remember that I allowed last.fm in the accounts.


Friday, February 24, 2017

Systemd Status Output

Here's the very first time that a systemd status check yields ok across the board.

[donato@archdesktop ~]$ systemctl status
● archdesktop
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Fri 2017-02-24 08:42:27 PHT; 31min ago
   CGroup: /
           ├─user.slice
           │ ├─user-120.slice
           │ │ ├─user@120.service
           │ │ │ ├─pulseaudio.service
           │ │ │ │ └─764 /usr/bin/pulseaudio --daemonize=no
           │ │ │ ├─at-spi-dbus-bus.service
           │ │ │ │ ├─753 /usr/lib/at-spi2-core/at-spi-bus-launcher
           │ │ │ │ ├─758 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           │ │ │ │ └─760 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
           │ │ │ ├─dbus.service
           │ │ │ │ └─691 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
           │ │ │ ├─xdg-permission-store.service
           │ │ │ │ └─774 /usr/lib/flatpak/xdg-permission-store
           │ │ │ └─init.scope
           │ │ │   ├─672 /usr/lib/systemd/systemd --user
           │ │ │   └─675 (sd-pam)
           │ │ └─session-c1.scope
           │ │   ├─635 gdm-session-worker [pam/gdm-launch-environment]
           │ │   ├─689 /usr/lib/gdm/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
           │ │   ├─702 /usr/lib/gnome-session/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
           │ │   ├─738 /usr/bin/gnome-shell
           │ │   ├─747 /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6
           │ │   ├─783 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
           │ │   └─798 xbrlapi -q
           │ └─user-1000.slice
           │   ├─user@1000.service
           │   │ ├─gnome-terminal-server.service
           │   │ │ ├─2542 /usr/lib/gnome-terminal/gnome-terminal-server
           │   │ │ ├─2548 bash
           │   │ │ ├─2561 systemctl status
           │   │ │ └─2562 less
           │   │ ├─obex.service
           │   │ │ └─1469 /usr/lib/bluetooth/obexd
           │   │ ├─pulseaudio.service
           │   │ │ └─1027 /usr/bin/pulseaudio --daemonize=no
           │   │ ├─gvfs-gphoto2-volume-monitor.service
           │   │ │ └─1100 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
           │   │ ├─at-spi-dbus-bus.service
           │   │ │ ├─1016 /usr/lib/at-spi2-core/at-spi-bus-launcher
           │   │ │ ├─1021 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           │   │ │ └─1023 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
           │   │ ├─dbus.service
           │   │ │ ├─ 954 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
           │   │ │ ├─1035 /usr/lib/gnome-shell/gnome-shell-calendar-server
           │   │ │ ├─1046 /usr/lib/gnome-online-accounts/goa-daemon
           │   │ │ ├─1048 /usr/lib/dconf/dconf-service
           │   │ │ ├─1074 /usr/lib/gnome-online-accounts/goa-identity-service
           │   │ │ ├─1076 /usr/lib/telepathy/mission-control-5
           │   │ │ ├─1674 gpg-agent --homedir /home/donato/.gnupg --use-standard-socket --daemon
           │   │ │ └─2242 /usr/lib/GConf/gconfd-2
           │   │ ├─gvfs-udisks2-volume-monitor.service
           │   │ │ └─1083 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
           │   │ ├─evolution-calendar-factory.service
           │   │ │ ├─1127 /usr/lib/evolution-data-server/evolution-calendar-factory
           │   │ │ ├─1135 /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory contacts --bus-name org.gnome.evolution.dataserver.Subprocess.Ba
           │   │ │ ├─1148 /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory caldav --bus-name org.gnome.evolution.dataserver.Subprocess.Back
           │   │ │ ├─1190 /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory local --bus-name org.gnome.evolution.dataserver.Subprocess.Backe
           │   │ │ └─1224 /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory gtasks --bus-name org.gnome.evolution.dataserver.Subprocess.Back
           │   │ ├─gnome-user-share-webdav.service
           │   │ │ ├─1193 /usr/lib/gnome-user-share/gnome-user-share-webdav
           │   │ │ ├─1271 /usr/bin/httpd -f /usr/share/gnome-user-share/dav_user_2.4.conf -C Listen 42661 -D RequirePasswordAlways
           │   │ │ ├─1272 /usr/bin/httpd -f /usr/share/gnome-user-share/dav_user_2.4.conf -C Listen 42661 -D RequirePasswordAlways
           │   │ │ └─1273 /usr/bin/httpd -f /usr/share/gnome-user-share/dav_user_2.4.conf -C Listen 42661 -D RequirePasswordAlways
           │   │ ├─xdg-permission-store.service
           │   │ │ └─1059 /usr/lib/flatpak/xdg-permission-store
           │   │ ├─evolution-source-registry.service
           │   │ │ └─1039 /usr/lib/evolution-data-server/evolution-source-registry
           │   │ ├─gvfs-metadata.service
           │   │ │ └─1051 /usr/lib/gvfs/gvfsd-metadata
           │   │ ├─gvfs-mtp-volume-monitor.service
           │   │ │ └─1113 /usr/lib/gvfs/gvfs-mtp-volume-monitor
           │   │ ├─gvfs-goa-volume-monitor.service
           │   │ │ └─1104 /usr/lib/gvfs/gvfs-goa-volume-monitor
           │   │ ├─gvfs-afc-volume-monitor.service
           │   │ │ └─1108 /usr/lib/gvfs/gvfs-afc-volume-monitor
           │   │ ├─glib-pacrunner.service
           │   │ │ └─1096 /usr/lib/glib-networking/glib-pacrunner
           │   │ ├─init.scope
           │   │ │ ├─939 /usr/lib/systemd/systemd --user
           │   │ │ └─940 (sd-pam)
           │   │ ├─evolution-addressbook-factory.service
           │   │ │ ├─1149 /usr/lib/evolution-data-server/evolution-addressbook-factory
           │   │ │ └─1163 /usr/lib/evolution-data-server/evolution-addressbook-factory-subprocess --factory local --bus-name org.gnome.evolution.dataserver.Subprocess.Ba
           │   │ ├─rygel.service
           │   │ │ └─1192 /usr/bin/rygel
           │   │ ├─tracker-store.service
           │   │ │ └─1194 /usr/lib/tracker/tracker-store
           │   │ └─gvfs-daemon.service
           │   │   ├─ 983 /usr/lib/gvfs/gvfsd
           │   │   ├─ 988 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
           │   │   ├─1548 /usr/lib/gvfs/gvfsd-trash --spawner :1.14 /org/gtk/gvfs/exec_spaw/0
           │   │   ├─1701 /usr/lib/gvfs/gvfsd-http --spawner :1.14 /org/gtk/gvfs/exec_spaw/1
           │   │   └─1767 /usr/lib/gvfs/gvfsd-burn --spawner :1.14 /org/gtk/gvfs/exec_spaw/2
           │   └─session-c2.scope
           │     ├─ 815 gdm-session-worker [pam/gdm-password]
           │     ├─ 948 /usr/bin/gnome-keyring-daemon --daemonize --login
           │     ├─ 952 /usr/lib/gdm/gdm-wayland-session gnome-session
           │     ├─ 956 /usr/lib/gnome-session/gnome-session-binary
           │     ├─1005 /usr/bin/gnome-shell
           │     ├─1010 /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
           │     ├─1119 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
           │     ├─1164 megasync
           │     ├─1167 /usr/lib/tracker/tracker-extract
           │     ├─1172 /usr/lib/evolution/evolution-alarm-notify
           │     ├─1174 /usr/lib/tracker/tracker-miner-fs
           │     ├─1183 /usr/bin/gnome-software --gapplication-service
           │     ├─1205 /usr/lib/gnome-settings-daemon/gsd-printer
           │     └─1206 /usr/lib/tracker/tracker-miner-apps
           ├─init.scope
           │ └─1 /sbin/init
           └─system.slice
             ├─lvm2-lvmetad.service
             │ └─250 /usr/bin/lvmetad -f
             ├─gdm.service
             │ └─627 /usr/bin/gdm
             ├─vnstat.service
             │ └─616 /usr/sbin/vnstatd -n
             ├─colord.service
             │ └─799 /usr/lib/colord/colord
             ├─nmbd.service
             │ └─671 /usr/bin/nmbd -D
             ├─avahi-dnsconfd.service
             │ └─556 /usr/bin/avahi-dnsconfd -s
             ├─upower.service
             │ └─553 /usr/lib/upower/upowerd
             ├─ftpd.service
             │ └─629 /usr/bin/ftpd -D
             ├─NetworkManager.service
             │ └─565 /usr/bin/NetworkManager --no-daemon
             ├─dbus.service
             │ └─533 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
             ├─accounts-daemon.service
             │ └─551 /usr/lib/accountsservice/accounts-daemon
             ├─postfix.service
             │ ├─731 /usr/lib/postfix/bin/master -w
             │ ├─732 pickup -l -t unix -u
             │ └─733 qmgr -l -t unix -u
             ├─smbd.service
             │ ├─695 /usr/bin/smbd -D
             │ ├─696 /usr/bin/smbd -D
             │ ├─697 /usr/bin/smbd -D
             │ └─699 /usr/bin/smbd -D
             ├─udisks2.service
             │ └─527 /usr/lib/udisks2/udisksd --no-debug
             ├─debug-shell.service
             │ └─247 /bin/sh
             ├─avahi-daemon.service
             │ ├─557 avahi-daemon: running [archdesktop.local]
             │ └─568 avahi-daemon: chroot helper
             ├─wpa_supplicant.service
             │ └─558 /usr/bin/wpa_supplicant -u
             ├─snmptrapd.service
             │ └─647 /usr/bin/snmptrapd -p /run/snmptrapd.pid
             ├─smartd.service
             │ └─2475 /usr/bin/smartd -n
             ├─nscd.service
             │ └─921 /usr/sbin/nscd
             ├─systemd-logind.service
             │ └─555 /usr/lib/systemd/systemd-logind
             ├─rtkit-daemon.service
             │ └─552 /usr/lib/rtkit/rtkit-daemon
             ├─systemd-resolved.service
             │ └─620 /usr/lib/systemd/systemd-resolved
             ├─packagekit.service
             │ └─782 /usr/lib/PackageKit/packagekitd
             ├─polkit.service
             │ └─564 /usr/lib/polkit-1/polkitd --no-debug
             ├─dm-event.service
             │ └─251 /usr/bin/dmeventd -f
             ├─systemd-udevd.service
             │ └─290 /usr/lib/systemd/systemd-udevd
             ├─bluetooth.service
             │ └─532 /usr/lib/bluetooth/bluetoothd
             ├─snmpd.service
             │ └─646 /usr/bin/snmpd -p /run/snmpd.pid
             ├─systemd-journald.service
             │ └─249 /usr/lib/systemd/systemd-journald
             ├─dhcpcd.service
             │ └─570 /usr/bin/dhcpcd -q -b
             └─systemd-networkd.service
               └─566 /usr/lib/systemd/systemd-networkd


BlueTooth Disconnecting Solved

Since the Arch linux installation I have this problem with my bluetooth devices. Yes I have successfully paired them and all devices appears in all the bluetooth monitor of each device. But the bluetooth service in Arch disconnects immediately after I try to turn it on. The logs says:

"bluetoothd[2668]: a2dp-source profile connect failed for 1C:B7:2C:55:A8:80: Protocol not available"

I found my answer in the Arch Wiki here. But please read the whole article about bluetooth since your issues might not be completely the same. So the short story is I'm missing a package there. After downloading with pacman and restarting pulseaudio, I tried connecting the devices. I'm using gnome by the way so the graphical front-end is where I went. I also got these from the logs. It confirms the devices are now connected.


logfile: Feb 24 06:15:14 archdesktop bluetoothd[535]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2DPSource
logfile: Feb 24 06:15:14 archdesktop bluetoothd[535]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2DPSink
logfile: Feb 24 06:15:26 archdesktop bluetoothd[535]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSource
logfile: Feb 24 06:15:26 archdesktop bluetoothd[535]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSink



Thursday, February 23, 2017

Work Load Averages For Archlinux GNOME


top - look at load averages

I haven't seen these work load stats ever. I haven't changed my habits at all.

The Peripheries of My Arch linux GNOME Desktop

Adding Google's DNS resolver in your Network Manager will surely save you a lot of headaches. So just click on the network icon in the upper right hand corner and click (if you have more than one interface, choose your interface) the settings tab.


google's dns server number added

Google's DNS servers owns the internet. It helps you find the destinations for your convenient browsing. Of course you're also telling Google where you want to go. 

I can't get xdo-tool to work with Web / Epiphany. I can't use my password manager to fill in these important personal login pages in the Internet. I downloaded Mozilla Firefox browser for it. Bummer. AND in this subject also, I can't use my password manager to fill in gnome-online-accounts. Why not make it happen? Security issue here??


Wednesday, February 22, 2017

Allow Samba Services To Connect

Previously, I installed samba in my desktop to allow it to share files among other devices in the local network. I could not make my android tablet and smartphone connect or make it see the desktop. I forgot to allow the samba service in my firewall. So to do that I have to open a terminal and get root priveleges.

# ip addr
##to get my ip address

# ufw allow from 192.168.15.0/24
##to allow any connections from the LAN, local network

# ufw status verbose
##to check the status of the firewall


Tuesday, February 21, 2017

Like An Archlinux User

Hi Reese

Within a week of using Archlinux, some unique problems came into my attention. I have a full and increasing directory in /var and /usr. It seems pacman cache is already 3 GB and the core dump file is also 3 GB. The core dump is important if you're looking into application crashes. I decided to trash the core dump. I'm not going into application crash reporting now. I don't need the pacman cache but in second thought I might want to leave the last instance of that upgraded package.

I am fighting with samba right now. I have followed two instruction threads out there but I can't make it work in my android device. I can see my shares in my linux machine but not in android.

I finished my first maintenance cycle of my Archlinux life - cleaning out the pacman cache. This link to Archlinux Wiki on the topic will explain it a lot. The default here for me is to leave at least a way to go back if things get out of control. So I am going to be using this:

# paccache -rk 1
##this command will remove all package cache, installed or not, but leave the most recent version just in case.

Of course there's the trusted pacman command to remove all pacman cache with:

# pacman -Sc [or] # pacman -Scc

I had to manually examine any *pacman.new and *pacman.save files in my system. I used the

$ locate {pacman.new}
##to list all the files with the suffixes

Others suggest an application called 'meld' to help with the file comparison. I just copy and paste for now then save the file.

Friday, February 17, 2017

Sending Mail From Archlinux To Gmail (relay)

I did this in Ubuntu 16.04 LTS. Configure Postfix to send mail from desktop to gmail. I wrote a post here.

Now that I'm using Archlinux, I want the same set up.

I installed postfix.

#pacman -Syu postfix

The config file for postfix is /etc/postfix/master.cf and /etc/postfix/main.cf.
Follow the steps in the link above.
Don't forget to restart postfix. Don't forget to protect the authentication file. Don't forget the postmap command.

Send a test mail.

$echo test | mail -s "test email setup" emailaddr



Thursday, February 16, 2017

NetworkManager Pkg Installed

Hi Reese

I had Internet connection during the live media install then I don't have it after the initial boot. Then I thought I fixed it when I checked systemd, or more accurately 'systemctl list-unit-files'. After 3 days, I started having problems with my browsing. I can go to Twitter, Google Mail but not to Reddit, Archlinux and some other sites.

I went to check GNOME network manager and it's not installed. I 'pacman -Sy NetworkManager'. Solved.

I got my Google Calendar back in Evolution, which I blamed on Evolution. I still want to fix the Archlinux.org site. :(


Monday, February 13, 2017

How To Remove A PV

The Archlinux boot isn't going smoothly. The #2 volume group (as well as the logical volumes attached to it) is activated read-only. The temporary fix I did was to comment the problem LV's in fstab, just so I can finish the boot and log to my desktop.

The kernel is doing the partial activation of the LV's because it is detecting a missing PV. The PV in question I thought I had deleted and converted to a new PV using fdisk. The problem is LVM partition table still 'remembers' the PV. I had to finish reading my refresher course in LVM from the ArchWiki pages.

So I did some checking and the partition is indeed non-existent, deleted but LVM is still looking for it but reporting it as missing or somehow filtered.

[donato@archdesktop ~]$ sudo vgscan
  Reading volume groups from cache.
  Found volume group "vol1" using metadata type lvm2
  WARNING: Device for PV DLkZz4-D3rH-dODr-eaO3-h1Oa-MLe2-9OVQMz not found or rejected by a filter.
  Found volume group "ubuntu-vg" using metadata type lvm2
[donato@archdesktop ~]$ sudo vgchange -ay
  3 logical volume(s) in volume group "vol1" now active
  WARNING: Device for PV DLkZz4-D3rH-dODr-eaO3-h1Oa-MLe2-9OVQMz not found or rejected by a filter.
  2 logical volume(s) in volume group "ubuntu-vg" now active
[donato@archdesktop ~]$ sudo vgreduce --all ubuntu-vg
  WARNING: Device for PV DLkZz4-D3rH-dODr-eaO3-h1Oa-MLe2-9OVQMz not found or rejected by a filter.
  Cannot change VG ubuntu-vg while PVs are missing.
  Consider vgreduce --removemissing.
  Cannot process volume group ubuntu-vg
  WARNING: Device for PV DLkZz4-D3rH-dODr-eaO3-h1Oa-MLe2-9OVQMz not found or rejected by a filter.
  Cannot change VG ubuntu-vg while PVs are missing.
  Consider vgreduce --removemissing.
  Cannot process volume group ubuntu-vg
[donato@archdesktop ~]$ sudo vgreduce --removemissing ubuntu-vg
  WARNING: Device for PV DLkZz4-D3rH-dODr-eaO3-h1Oa-MLe2-9OVQMz not found or rejected by a filter.
  Wrote out consistent volume group ubuntu-vg.
[donato@archdesktop ~]$ sudo vgs
  VG        #PV #LV #SN Attr   VSize   VFree  
  ubuntu-vg   1   2   0 wz--n-   1.82t 104.65g
  vol1        2   3   0 wz--n- 223.56g 496.00m
[donato@archdesktop ~]$ sudo pvs
  PV         VG        Fmt  Attr PSize   PFree  
  /dev/md127 ubuntu-vg lvm2 a--    1.82t 104.65g
  /dev/sde1  vol1      lvm2 a--  496.00m 496.00m
  /dev/sde2  vol1      lvm2 a--  223.08g      0 
[donato@archdesktop ~]$ sudo lvs
  LV        VG        Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  Music-lv  ubuntu-vg -wi-ao---- 300.00g                                                    
  Videos-lv ubuntu-vg -wi-ao----   1.42t                                                    
  home      vol1      -wi-ao---- 177.08g                                                    
  root      vol1      -wi-ao----  30.00g                                                    
  swap      vol1      -wi-ao----  16.00g                                                    

I used vgreduce with the --removemissing flag to straighten out the volume group.

Then reboot. Smooth this time.

Sunday, February 12, 2017

My GNOME Archlinux Desktop


gnome-arch-view

Gnome is showing some polish with this current version. gnome-3.22.2
I downloaded a number of ttf fonts for more customizations later. I had to use the AUR for megasync, my synchronization application of choice.

GNOME is using Wayland now by default. The user can choose Xorg when they log in to the desktop though. If you have applications that do not play well with Wayland yet, you can tick that.

So far GNOME in Wayland is zero glitches.

Saturday, February 11, 2017

Installing Archlinux Today 2017

Archlinux has a reputation for a difficult installation among the linux distros. I have installed Arch back three years ago and no it doesn't mean it will be easier now. I remember the general structure of the install but beyond that, I'm a newbie. The Arch website has excellent Wiki and Installation Guide. Prepare to read it and a lot more. Before anything else this post is NOT a how-to of installing Archlinux, so be warned. You want an excellent guide, then the two links above should be your best bet.


​installing Arch 

This post is about what I did wrong. It's about where I tripped. My stupidity enumerated. Maybe it's worth a few laughs that's all. The first intense moment must be partitioning. I have data in 3 hard drives that I don't want to lose. The fourth drive ( an SSD) is the boot device. This device is going to be erased because I have to install an operating system on it. Duh. I decided to use LVM, logical volume management. Once bitten by LVM you can't come back to metal. It's easier to handle resizing in LVM. I decided to have three logical volumes - root, home and swap. The resizing took 3 tries, trial and error. When I finally executed it, I completely forgot I still have an extra 500MB partition for /boot. I don't have a separate /boot but it didn't matter. I tried activating the existing lvm. The command which succeeded is:

#lvchange -ay       

then I checked the status of the lv's with:

#lvdisplay

Also since I'm going to install Arch on LVM, I have to make sure that I place the proper hook in the mkinitcpio file. Otherwise, the system won't boot.

I remember I configured the locale and generated it. When I got into the GNOME desktop I can't start/open the terminal. Reason: the locale isn't set. So I went GUI and set it in GNOME Region & Language settings. 

The first thing that I checked when I boot into the Arch live media is the Internet connection. I could ping google and archlinux. After reboot into the fresh install, I can't use pacman. The error is Network unrecognize. Service not available. In an Archlinux install, you lose Internet connection, it's a deal breaker. So luckily, I have my trusty tablet and I googled the problem. It seems like a lot of people reported this and a long thread in the Arch forum did not help me. Troubleshooting network connection is like fishing. I can ping my hostname. My interface name is enp3s0 and I got that from ifconfig. I also tried lspci -v, to check my device and to see if the firmware is available to it. So I checked the logs with:

#dmesg | grep <device>

All the pieces of the machine is there, but they're not starting. Something is not enabled. To check the services:

#systemctl list-unit-files

Why is the dhcpcd daemon disabled? It's not just that. Online-accounts, etc. It's disabled. Users have to start them manually. 

#systemctl enable dhcpcd.service

I created two users during the installation. Root and User. Before downloading a desktop environment I installed sudo. So far so good. I reboot into the GNOME desktop. I login as User with my User password. I open the terminal to continue with post-installation and when I try commands I am being required to show my privelege. I use sudo for that, except USER isn't in sudo yet. I have to add USER in the sudoer file and in order to do that I have to have root priveleges. 

Ok now, step back. I log out of the session. I am presented with the gdm screen. I log in as root. I could not go to any tty, I swear I don't know why. So now I'm logged in as root and I then modify sudoers with visudo. 




Thursday, February 9, 2017

Jumper, Forgotten Password And Arch

Late this afternoon I found time to start solving my little problem. When I installed my operating system I neglected to put my home directory in a separate partition. So after all this months and time configuring it, my data needs a more secure home.

The problem is that I forgot my bios password. I forgot my mobo password and I can't change the boot sequence for the live media. I need the live media to handle the root filesystem, otherwise any effort at changing the root partition is useless. Luckily i can use the jumper or I can just remove the battery long enough to put it back to its defaults. No but I tried. So instead I bought myself just enough time to get into the bios settings to input new passwords. Then saved it. Reboot. Entered my new password and that did it.

I need to make room for the home partition on lvm. I reduced the filesystem first.  I reduced the root-lv freeing some space for the home-lv. Then I make the filesystem for the new logical volume. I then edited fstab. I need to mount /home to the home-lv. All these within an encrypted device.

I'm wondering if I'm better off just installing Archlinux.

Tuesday, February 7, 2017

The Find Command And the Apple Lossless Audio Codec

This began when I was listening to Rhythmbox over night. I listened to
music to sleep last night. I do it sometimes. But Rhythmbox stopped on a
particular album. I was listening Slowdive's Souvlaki and it would not
play any of the tracks. They're in .m4a format, otherwise referred to as
ALAC - Apple Lossless Audio Codec. Now there are other tracks in .m4a
format but Rhythmbox can play them. No problem.

A-P-P-L-E--damn you and DRM!

So like those people trooping to airports because of Trumps executive
orders, I just can't sleep. Not after reading about the 5 year old boy
separated from his mother at the airport for hours.

I opened the terminal and I want to list all the music tracks I have
that are in .m4a format. Most of what i listen to nowadays are in mp3's
or in ogg.

$find ~/Music -name *.m4a

There's about three artists and their albums in there that are in .m4a
format that refuses to play. No I won't surrender that quickly. So I
opened the tracks one by one in Audacity. I then exported the track from
ALAC to ogg, one click per track. This fight is worth it.

Sunday, February 5, 2017

Andrew Postman's Post On The Guardian

What Orwell feared were those who would ban books. What Huxley feared was that there would be no reason to ban a book, for there would be no one who wanted to read one. Orwell feared those who would deprive us of information. Huxley feared those who would give us so much that we would be reduced to passivity and egoism. Orwell feared that the truth would be concealed from us. Huxley feared the truth would be drowned in a sea of irrelevance. Orwell feared we would become a captive culture. Huxley feared we would become a trivial culture.
From The Guardian by Andrew Postman


Which one got it right? Is it Orwell or Huxley? Read 1984 and Brave New World.

Saturday, February 4, 2017

Midpoint / Tipping Point In Storage

I have been downloading my stuff from the Internet since September 2016.

donato@desktop:~$ vnstat -m

enp3s0 / monthly

month rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
September'2016 187.92 GiB | 78.07 GiB | 265.99 GiB | 860.83 kbit/s
October'2016 249.89 GiB | 93.71 GiB | 343.61 GiB | 1.08 Mbit/s
November'2016 214.09 GiB | 77.53 GiB | 291.62 GiB | 943.78 kbit/s
December'2016 215.75 GiB | 70.38 GiB | 286.12 GiB | 896.13 kbit/s
January'2017 242.56 GiB | 106.19 GiB | 348.75 GiB | 1.09 Mbit/s
February'2017 25.68 GiB | 9.39 GiB | 35.08 GiB | 929.90 kbit/s
------------------------+-------------+-------------+---------------
estimated 196.34 GiB | 71.82 GiB | 268.16 GiB |
donato@desktop:~$

I have downloaded in excess of 1.05 TB since installing Ubuntu 16.04. I
have now reached a midpoint from the numbers that I got now.

donato@desktop:~$ df -t ext4
Filesystem 1K-blocks Used Available Use%
Mounted on
/dev/mapper/ubuntu--vg-root 213694696 25684708 177131832 13% /
/dev/mapper/ubuntu--vg-Music--lv 309506048 181710072 112050952 62%
/home/donato/Music
/dev/mapper/ubuntu--vg-Videos--lv 1504833500 719708096 719736652 50%
/home/donato/Videos
donato@desktop:~$

700 GB for videos constitutes 50% of the biggest logical volume
allocated so far. Music has 180 GB used so far.

Friday, February 3, 2017

Mina Left Behind This Sony

Over the head Earphones.


A 3 TB HGST Hard Drive Waiting In The Wings


Lino Sent a D-link Router



What Happened In The Fifth?

Lino my brother in Vancouver sent his big Box of Surprises, :), four months ago. It arrived before January finished. We were "surprised" but everyone is excited. I replenished my BDO account with a transfer from wallet to bank transfer. Previous deposit was last September 2016.


Part of Lino's Box 2017.

This week is cold and rain. In some parts of the country it's worse, there's flooding.
Mom is up and doing stuff again. Her right hand is still swollen due to gout.