Moving from Slackware 14 to 14.2 I forgot one or two details about how to get mplayer to display Japanese srt subtitles. At this time an essential bit is that mplayer needs to be explicitly pointed to a suitable font. I used the -fontconfig -font [fontname] solution, and put it in my .mplayer/config file.

Some options seem superfluous by now. I simply stopped experimenting when I got it to work.

subfont-encoding=unicode 
unicode=yes 
utf8=yes 
subcp=utf-8  
fontconfig=yes 
font='さざなみ明朝' 

Here is a copy of my mplayer config file

It seems I can't just paste a IPv6 address in Firefox's address bar. I need to put it between square brackets.  

http://[2a02:2770:17:0:21a:4aff:fedb:7f9b] 

I needed to change specific owners and groups for files that I copied (with tar cf) from one server to another with (some) different owners and groups. I used the syntax below:

chown -R --from=:currentgroup newuser:newgroup /some/directory 
chown -R --from=:currentgroup :newgroup /some/directory 

The solution, as so often, came from the Stack Exchange Network:

https://superuser.com/questions/312616/how-can-i-change-all-files-belonging-to-one-user-to-another-user

Import export Kasumi's dictionary. Wednesday 13 September 2017

Kasumi allows you to add words to scim. When you migrate to a new system, you can save your private dictionary. Simply copy ~/.anthy/private_words_default to the same spot in your new system.

tune2fs -l /dev/sdb1 | grep 'Filesystem created:'

Filesystem created: Sun Jan 22 15:40:46 2017

Below a list of packages that I've installed in Slackware 14.2 so far. I not always use Slackware's package manager, so the list is not complete.

Jan 23  2017 docutils-0.12-x86_64-1_SBo
Jan 23  2017 arandr-0.1.9-x86_64-1_SBo
Feb 19  2017 xf86-video-nouveau-blacklist-noarch-1
Feb 19  2017 openbox-3.6.1-x86_64-1_SBo
Feb 19  2017 obconf-2.0.4-x86_64-1_SBo
Feb 20  2017 imlib2-1.4.9-x86_64-1_SBo
Feb 20  2017 feh-2.14-x86_64-1_SBo
Mar 26 08:39 rxvt-unicode-9.22-x86_64-2_SBo
Apr 17 16:42 flashplayer-plugin-25.0.0.148-x86_64-1_SBo
Jun  8 13:50 giblib-1.2.4-x86_64-3_SBo
Jun  8 13:51 scrot-0.8-x86_64-4_SBo
Sep  7 09:11 jack-audio-connection-kit-0.124.1-x86_64-2_SBo
Sep  7 09:16 SDL2-2.0.5-x86_64-1_SBo
Sep  7 09:20 lame-3.99.5-x86_64-1_SBo
Sep  7 09:39 ffmpeg-3.2.4-x86_64-1_SBo
Sep  7 09:39 wxGTK3-3.0.3.1-x86_64-1_SBo
Sep  7 09:42 libwacom-0.26-x86_64-1_SBo
Sep  7 09:43 libxkbcommon-0.7.1-x86_64-1_SBo
Sep  7 09:45 libinput-1.8.1-x86_64-1_SBo
Sep  7 10:11 audacity-2.1.3-x86_64-2_SBo
Sep  7 11:12 qt5-5.7.1-x86_64-1alien
Sep  7 11:34 qupzilla-2.0.1-x86_64-1_SBo
Sep 13 11:55 kasumi-2.5-x86_64-1_SBo
Sep 14 13:09 libwebp-0.5.2-x86_64-1_SBo
Sep 17 11:18 libetpan-1.8-x86_64-1_SBo
Sep 17 13:16 ffmpegthumbnailer-2.2.0-x86_64-1_SBo
Sep 19 13:27 bashrun2-0.2.2-x86_64-3_SBo
Sep 19 16:08 src2pkg-3.0-noarch-2
Sep 19 16:11 src2pkg-helpers-1.6-x86_64-1
Sep 19 16:13 cmark-master-x86_64-1
Sep 19 18:59 webkitgtk-2.4.11-x86_64-1_SBo
Sep 19 20:15 claws-mail-3.15.0-x86_64-1_SBo
Sep 21 14:08 tumbler-0.2.0-x86_64-1
Sep 21 15:29 potrace-1.15-x86_64-1_SBo

Perl modules:

  Tue Sep 12 13:40:33 2017: "Module" App::cpanminus
  Tue Sep 12 13:40:53 2017: "Module" Sort::Naturally
  Tue Sep 12 13:45:58 2017: "Module" String::ShellQuote
  Tue Sep 19 14:10:45 2017: "Module" Test::Deep
  Tue Sep 19 14:10:47 2017: "Module" Sub::Uplevel
  Tue Sep 19 14:10:51 2017: "Module" Test::Warn
  Tue Sep 19 14:10:53 2017: "Module" Test::NoWarnings
  Tue Sep 19 14:10:55 2017: "Module" HTML::Tagset
  Tue Sep 19 14:11:01 2017: "Module" HTML::Parser
  Tue Sep 19 14:11:07 2017: "Module" CGI
  Tue Sep 19 14:19:04 2017: "Module" LWP::MediaTypes
  Tue Sep 19 14:19:07 2017: "Module" Try::Tiny
  Tue Sep 19 14:19:09 2017: "Module" Encode::Locale
  Tue Sep 19 14:19:11 2017: "Module" IO::HTML
  Tue Sep 19 14:19:12 2017: "Module" HTTP::Date
  Tue Sep 19 14:19:16 2017: "Module" HTTP::Message
  Tue Sep 19 14:19:44 2017: "Module" Net::HTTP
  Tue Sep 19 14:19:51 2017: "Module" WWW::RobotRules
  Tue Sep 19 14:19:53 2017: "Module" Test::RequiresInternet
  Tue Sep 19 14:19:56 2017: "Module" HTTP::Cookies
  Tue Sep 19 14:20:02 2017: "Module" HTTP::Daemon
  Tue Sep 19 14:20:06 2017: "Module" File::Listing
  Tue Sep 19 14:20:08 2017: "Module" Test::Fatal
  Tue Sep 19 14:20:10 2017: "Module" HTTP::Negotiate
  Tue Sep 19 14:20:30 2017: "Module" libwww::perl
  Tue Sep 19 14:21:27 2017: "Module" Data::Kanji::Kanjidic
  Tue Sep 19 14:25:19 2017: "Module" Mock::Config
  Tue Sep 19 14:25:21 2017: "Module" IO::CaptureOutput
  Tue Sep 19 14:25:28 2017: "Module" Devel::CheckLib
  Tue Sep 19 16:14:44 2017: "Module" CommonMark
  Wed Sep 20 13:55:12 2017: "Module" File::Slurp
  Wed Sep 20 14:03:33 2017: "Module" Test::Exception
  Wed Sep 20 14:03:34 2017: "Module" Carp::Clan
  Wed Sep 20 14:03:48 2017: "Module" Bit::Vector
  Wed Sep 20 14:03:54 2017: "Module" Date::Calc

NB The command perldoc -Tt perllocal is not perfect for this, you still need to check if the module was installed into /usr/local. Sep 19 was the first day I tried to do some actual work in Slackware 14.2, but still had to spend time configuring stuff (looking for an error in httpd.conf, installing yet more software, other things).

These are only the programs and libraries that I installed using the Slackware install system. I do not actually use everything. For example, I tried to use pulseaudio, but I really prefer pure alsa. Perhaps I didn't uninstall it because otherwise steam complained about it (actually steam still gives an error for pulseaudio, but non-fatal). Still, I'm guessing that at least a third of the stuff listed below I really do need.

There are also a few standard Slackware packages among them that I upgraded or recompiled for some reason or other, but as can be seen from the _SBo extension, most if it came from slackbuilds.org.

-rw-r--r-- 1 root root   10086 Mar 17  2013 openbox-3.5.0-i486-1_SBo 
-rw-r--r-- 1 root root     952 Aug 10  2013 xf86-video-nouveau-blacklist-noarch-1 
-rw-r--r-- 1 root root    2688 Aug 10  2013 obconf-git_cc7a188076-i486-1_SBo 
-rw-r--r-- 1 root root    3139 Aug 10  2013 rxvt-unicode-9.18-i486-1_SBo 
-rw-r--r-- 1 root root    3319 Aug 10  2013 imlib2-1.4.5-i486-1_SBo 
-rw-r--r-- 1 root root    1241 Aug 10  2013 giblib-1.2.4-i486-2_SBo 
-rw-r--r-- 1 root root    1533 Aug 10  2013 feh-2.3-i486-1_SBo 
-rw-r--r-- 1 root root   12275 Aug 10  2013 exo-0.10.2-i486-1 
-rw-r--r-- 1 root root     883 Aug 11  2013 scrot-0.8-i486-2_SBo 
-rw-r--r-- 1 root root    9559 Aug 11  2013 src2pkg-2.8-noarch-1 
-rw-r--r-- 1 root root    1737 Aug 11  2013 src2pkg-helpers-1.6-i486-1 
-rw-r--r-- 1 root root    2203 Aug 11  2013 libevent-2.0.21-i486-1_SBo 
-rw-r--r-- 1 root root   16265 Aug 11  2013 transmission-2.77-i486-1_SBo 
-rw-r--r-- 1 root root    2079 Aug 12  2013 speex-1.2rc1-i486-3_SBo 
-rw-r--r-- 1 root root    3239 Aug 12  2013 json-c-0.10-i486-2_SBo 
-rw-r--r-- 1 root root     879 Aug 12  2013 OpenAL-1.13-i486-2_SBo 
-rw-r--r-- 1 root root    1136 Aug 12  2013 quesoglc-0.7.2-i486-2_SBo 
-rw-r--r-- 1 root root     871 Aug 12  2013 physfs-2.0.3-i486-2_SBo 
-rw-r--r-- 1 root root    1192 Aug 12  2013 xjdic_24-7_i386 
-rw-r--r-- 1 root root    3914 Aug 13  2013 libmspack-0.0.20060920alpha-i486-1_SBo 
-rw-r--r-- 1 root root  239606 Aug 13  2013 wxPython-2.8.12.1-i486-1_SBo 
-rw-r--r-- 1 root root   85917 Aug 14  2013 jdk-7u25-i586-1_SBo 
-rw-r--r-- 1 root root    1218 Aug 14  2013 par2cmdline-0.4-i486-1_SBo 
-rw-r--r-- 1 root root    4488 Aug 14  2013 unrar-4.2.4-i486-1_SBo 
-rw-r--r-- 1 root root     817 Aug 15  2013 acpica-20130214-i486-1_SBo 
-rw-r--r-- 1 root root    1738 Aug 15  2013 lame-3.99.5-i486-1_SBo 
-rw-r--r-- 1 root root    8239 Aug 18  2013 libetpan-1.1-i486-1_SBo 
-rw-r--r-- 1 root root   14554 Aug 18  2013 gdata-2.0.10-i486-1_SBo 
-rw-r--r-- 1 root root   45394 Aug 18  2013 webkitgtk-1.8.3-i486-1_SBo 
-rw-r--r-- 1 root root     977 Aug 19  2013 SDL_sound-1.0.3-i486-1_SBo 
-rw-r--r-- 1 root root    1015 Aug 19  2013 dosbox-0.74-i486-2_SBo 
-rw-r--r-- 1 root root    2244 Aug 19  2013 TiMidity++-2.14.0-i486-1_SBo 
-rw-r--r-- 1 root root    9044 Aug 19  2013 freepats-20060219-noarch-1_SBo 
-rw-r--r-- 1 root root   15938 Aug 19  2013 eawpats-12-noarch-1_SBo 
-rw-r--r-- 1 root root   27881 Aug 19  2013 tuxguitar-1.1-i486-1_SBo 
-rw-r--r-- 1 root root   13781 Aug 21  2013 google-earth-7.1.1.1580-i386-1_SBo 
-rw-r--r-- 1 root root    1016 Aug 25  2013 BeautifulSoup-3.2.0-i486-1_SBo 
-rw-r--r-- 1 root root    5337 Aug 25  2013 simplejson-3.1.0-i486-1_SBo 
-rw-r--r-- 1 root root     987 Aug 25  2013 six-1.3.0-i486-1_SBo 
-rw-r--r-- 1 root root    9405 Aug 25  2013 pysetuptools-0.8-i486-1_SBo 
-rw-r--r-- 1 root root    2484 Aug 25  2013 python-dateutil-2.1-i486-1_SBo 
-rw-r--r-- 1 root root   38955 Aug 25  2013 pytz-2012h-i486-1_SBo 
-rw-r--r-- 1 root root   50172 Aug 25  2013 numpy-1.6.2-i486-1_SBo 
-rw-r--r-- 1 root root  145196 Aug 25  2013 matplotlib-1.1.1-i486-1_SBo 
-rw-r--r-- 1 root root   30053 Aug 25  2013 SQLAlchemy-0.5.5-i486-1_SBo 
-rw-r--r-- 1 root root   11911 Aug 25  2013 xpdf-3.03-i486-1_slack14.0 
-rw-r--r-- 1 root root    9330 Aug 25  2013 poppler-0.20.2-i486-2_slack14.0 
-rw-r--r-- 1 root root   40400 Aug 25  2013 hplip-3.12.9-i486-2_slack14.0 
-rw-r--r-- 1 root root  273434 Aug 25  2013 seamonkey-2.20-i486-2_slack14.0 
-rw-r--r-- 1 root root    1659 Aug 25  2013 seamonkey-solibs-2.20-i486-2_slack14.0 
-rw-r--r-- 1 root root    1231 Aug 25  2013 libgcrypt-1.5.3-i486-1_slack14.0 
-rw-r--r-- 1 root root  913073 Aug 25  2013 ruby-1.9.3_p448-i486-1_slack14.0 
-rw-r--r-- 1 root root    8973 Aug 25  2013 curl-7.29.0-i486-3_slack14.0 
-rw-r--r-- 1 root root    1240 Aug 25  2013 libssh-0.5.4-i486-1_slack14.0 
-rw-r--r-- 1 root root   86662 Aug 25  2013 mozilla-thunderbird-17.0.8-i486-1_slack14.0 
-rw-r--r-- 1 root root 1727860 Aug 26  2013 firestorm-opensim-4.4.2.34167-i686-1_SBo 
-rw-r--r-- 1 root root   20614 Aug 30  2013 adobe-reader-9.5.5_enu-i486-1_SBo 
-rw-r--r-- 1 root root    1187 Sep  4  2013 x264-20120804-i486-1_SBo 
-rw-r--r-- 1 root root     893 Sep  4  2013 libass-0.10.1-i486-1_SBo 
-rw-r--r-- 1 root root    4043 Sep  4  2013 frei0r-1.3-i486-2_SBo 
-rw-r--r-- 1 root root    1371 Sep  4  2013 openjpeg-1.5.1-i486-1_SBo 
-rw-r--r-- 1 root root    6340 Sep  4  2013 libvpx-1.1.0-i486-1_SBo 
-rw-r--r-- 1 root root    1161 Sep  4  2013 xvidcore-1.3.2-i486-1_SBo 
-rw-r--r-- 1 root root   13258 Sep  4  2013 imagination-3.0-i486-2_SBo 
-rw-r--r-- 1 root root    2031 Sep  5  2013 pyxdg-0.18-i486-1_SBo 
-rw-r--r-- 1 root root    4794 Sep  5  2013 goocanvas-0.15-i486-1_SBo 
-rw-r--r-- 1 root root    3391 Sep  5  2013 pygoocanvas-0.14.1-i486-2_SBo 
-rw-r--r-- 1 root root    1438 Sep  5  2013 libdv-1.0.0-i486-1_SBo 
-rw-r--r-- 1 root root    6968 Sep  5  2013 libquicktime-1.2.4-i486-1_SBo 
-rw-r--r-- 1 root root  140887 Sep  5  2013 openshot-1.4.3-i486-1_SBo 
-rw-r--r-- 1 root root    1175 Sep  5  2013 faad2-2.7-i486-2_SBo 
-rw-r--r-- 1 root root    1427 Sep  5  2013 libavc1394-0.5.3-i486-2_SBo 
-rw-r--r-- 1 root root    1546 Sep  5  2013 libiec61883-1.2.0-i486-2_SBo 
-rw-r--r-- 1 root root    6013 Sep  5  2013 mjpegtools-2.0.0-i486-2_SBo 
-rw-r--r-- 1 root root    1066 Sep  5  2013 faac-1.28-i486-2_SBo 
-rw-r--r-- 1 root root     940 Sep  5  2013 mp3gain-1.5.2.r2-i486-1_SBo 
-rw-r--r-- 1 root root   11620 Sep  9  2013 subversion-1.7.13-i486-1_slack14.0 
-rw-r--r-- 1 root root   18282 Sep 15  2013 fontforge-20120731_b-i486-1_SBo 
-rw-r--r-- 1 root root   36707 Sep 19  2013 ocaml-3.12.1-i486-2_SBo 
-rw-r--r-- 1 root root   10676 Sep 19  2013 lablgtk-2.14.2-i486-1_SBo 
-rw-r--r-- 1 root root    1295 Sep 19  2013 unison-2.40.63-i486-1_SBo 
-rw-r--r-- 1 root root    1880 Oct 23  2013 djview4-4.9-i486-1_SBo 
-rw-r--r-- 1 root root    2498 Oct 24  2013 catfish-0.3.2-noarch-1_SBo 
-rw-r--r-- 1 root root   12021 Oct 25  2013 libmp3splt-0.8.2-i486-1_SBo 
-rw-r--r-- 1 root root    1475 Oct 25  2013 mp3splt-2.5.2-i486-1_SBo 
-rw-r--r-- 1 root root    1218 Oct 28  2013 kasumi-2.4-i486-2_SBo 
-rw-r--r-- 1 root root    1324 Oct 29  2013 skype4pidgin-r654-i486-1_SBo 
-rw-r--r-- 1 root root   19423 Oct 29  2013 CImg-1.4.6-noarch-1_SBo 
-rw-r--r-- 1 root root    1713 Oct 29  2013 wxcam-1.1-i486-1_SBo 
-rw-r--r-- 1 root root    1310 Nov  9  2013 xdotool-2.20110530.1-i486-1_SBo 
-rw-r--r-- 1 root root    1126 Nov  9  2013 xclip-0.12-i486-1_SBo 
-rw-r--r-- 1 root root    1162 Nov  9  2013 autocutsel-0.9.0-i486-1_SBo 
-rw-r--r-- 1 root root    3427 Nov 14  2013 webcore-fonts-3.0-noarch-3_SBo 
-rw-r--r-- 1 root root   77377 Nov 14  2013 mono-2.11.4-i486-1_SBo 
-rw-r--r-- 1 root root    1279 Nov 14  2013 cabextract-1.4-i486-1_SBo 
-rw-r--r-- 1 root root     854 Dec  1  2013 jhead-2.97-i486-1_SBo 
-rw-r--r-- 1 root root    1138 Dec 23  2013 gnugo-3.8-i486-1_SBo 
-rw-r--r-- 1 root root   14860 Dec 26  2013 wireshark-1.10.3-i486-1_SBo 
-rw-r--r-- 1 root root    1082 Jan  6  2014 qrencode-3.4.2-i486-1_SBo 
-rw-r--r-- 1 root root     884 Jan  7  2014 portaudio-V19-i486-2_SBo 
-rw-r--r-- 1 root root    4063 Jan  7  2014 guvcview-1.7.2-i486-1_SBo 
-rw-r--r-- 1 root root    7414 Jan 10  2014 MPlayer-1.1_20120701-i486-2 
-rw-r--r-- 1 root root    2862 Jan 12  2014 libdvdcss-1.2.13-i486-1_SBo 
-rw-r--r-- 1 root root    6141 Feb  3  2014 opus-1.1-i486-1_SBo 
-rw-r--r-- 1 root root    1336 Feb  3  2014 celt-0.11.3-i486-1_SBo 
-rw-r--r-- 1 root root    9835 Feb  3  2014 jack-audio-connection-kit-0.121.3-i486-2_SBo 
-rw-r--r-- 1 root root    1566 Feb  3  2014 qjackctl-0.3.9-i486-1_SBo 
-rw-r--r-- 1 root root    1133 Feb  3  2014 set_rlimits-1.3.0-i486-1_SBo 
-rw-r--r-- 1 root root    4320 Feb  3  2014 libsigc++-2.2.11-i486-1_SBo 
-rw-r--r-- 1 root root    2817 Feb  4  2014 lua-5.1.5-i486-1_SBo 
-rw-r--r-- 1 root root   56370 Feb  4  2014 wxGTK3-3.0.0-i486-2_SBo 
-rw-r--r-- 1 root root    3684 Feb  4  2014 p7zip-9.20.1-i486-1_SBo 
-rw-r--r-- 1 root root    1174 Feb  4  2014 libmodplug-0.8.8.4-i486-1_SBo 
-rw-r--r-- 1 root root    8052 Feb  4  2014 ffmpeg-2.1-i686_custom-1_SBo 
-rw-r--r-- 1 root root  556098 Feb  4  2014 boost-1.54.0-i486-3 
-rw-r--r-- 1 root root     913 Feb  4  2014 ffms2-2.19-i486-1_SBo 
-rw-r--r-- 1 root root   56303 Feb  4  2014 pidgin-2.10.9-i486-1_slack14.0 
-rw-r--r-- 1 root root    9270 Feb 10  2014 wxX11-2.8.7-i486-1_SBo 
-rw-r--r-- 1 root root    6228 Feb 10  2014 comix-4.0.4-noarch-1_SBo 
-rw-r--r-- 1 root root    1434 Apr 20  2014 libdca-0.0.5-i486-1_SBo 
-rw-r--r-- 1 root root   13914 Apr 20  2014 avidemux-2.5.6-i486-3_SBo 
-rw-r--r-- 1 root root   19387 Apr 21  2014 mlt-0.9.0-i486-2_SBo 
-rw-r--r-- 1 root root    1187 May  1  2014 itstool-1.2.0-i486-1_SBo 
-rw-r--r-- 1 root root   39317 May  1  2014 zenity-3.6.0-i486-1_SBo 
-rw-r--r-- 1 root root   10547 May  2  2014 cinelerra-cv_2.2-i486-2_SBo 
-rw-r--r-- 1 root root   38378 Jun  8  2014 gnutls-3.0.32-i486-1_slack14.0 
-rw-r--r-- 1 root root    2149 Jul  4  2014 steamclient-1.0.0.48-i386-1alien 
-rw-r--r-- 1 root root    4501 Jul 29  2014 gnupg-1.4.17-i486-1_slack14.0 
-rw-r--r-- 1 root root   13979 Jul 29  2014 gnupg2-2.0.24-i486-1_slack14.0 
-rw-r--r-- 1 root root    2290 Jul 30  2014 apr-1.5.0-i486-1 
-rw-r--r-- 1 root root    2066 Jul 30  2014 apr-util-1.5.3-i486-1 
-rw-r--r-- 1 root root    1801 Aug  1  2014 ffmpegthumbnailer-2.0.8-i486-1_SBo 
-rw-r--r-- 1 root root    2181 Aug  1  2014 thunar-thumbnailers-0.4.1-i486-1_SBo 
-rw-r--r-- 1 root root   11495 Aug  1  2014 Thunar-1.6.3-i486-2 
-rw-r--r-- 1 root root    9031 Aug  1  2014 tumbler-0.1.25-i486-4 
-rw-r--r-- 1 root root    6069 Aug  4  2014 skype-4.3.0.37-i486-1_SBo 
-rw-r--r-- 1 root root    2999 Aug  5  2014 alsa-plugins-1.0.26-i486-1_SBo 
-rw-r--r-- 1 root root   14960 Aug  5  2014 pulseaudio-5.0-i486-1_SBo 
-rw-r--r-- 1 root root   22391 Aug  5  2014 TeamSpeak3-3.0.15.1-i486-1_SBo 
-rw-r--r-- 1 root root    2078 Aug  6  2014 mm-common-0.9.5-noarch-1_SBo 
-rw-r--r-- 1 root root   97841 Aug  6  2014 glibmm-2.32.1-i486-1_SBo 
-rw-r--r-- 1 root root    4030 Aug  6  2014 pangomm-2.28.4-i486-1_SBo 
-rw-r--r-- 1 root root    9556 Aug  6  2014 atkmm-2.22.6-i486-1_SBo 
-rw-r--r-- 1 root root   69595 Aug  6  2014 gtkmm3-3.4.1-i486-1_SBo 
-rw-r--r-- 1 root root     973 Aug  6  2014 libasyncns-0.8-i486-1_SBo 
-rw-r--r-- 1 root root    4776 Aug  6  2014 pavucontrol-2.0-i486-1_SBo 
-rw-r--r-- 1 root root   10395 Aug  6  2014 google-talkplugin-4.4.2.0-i386-1_SBo 
-rw-r--r-- 1 root root    6813 Aug 19  2014 ptlib-2.10.10-i486-1_SBo 
-rw-r--r-- 1 root root    6451 Aug 19  2014 opal-3.10.10-i486-2_SBo 
-rw-r--r-- 1 root root   11172 Aug 19  2014 ekiga-4.0.1-i486-1_SBo 
-rw-r--r-- 1 root root  128010 Aug 20  2014 apache-ant-1.9.3-noarch-1_SBo 
-rw-r--r-- 1 root root   22937 Nov 19  2014 anki-2.0.31-i486-1 
-rw-r--r-- 1 root root    8442 Dec  7  2014 protobuf-2.5.0-i486-1_SBo 
-rw-r--r-- 1 root root    1464 Dec  7  2014 miniupnpc-1.9-i486-1_SBo 
-rw-r--r-- 1 root root     867 Dec 10  2014 db53-5.1.29-i486-1wsr 
-rw-r--r-- 1 root root     781 Dec 11  2014 telegram-0.6.15-i486-1_SBo 
-rw-r--r-- 1 root root   18181 Dec 30  2014 claws-mail-3.11.1-i486-1_SBo 
-rw-r--r-- 1 root root  114382 Feb  6  2015 assaultcube-1.1.0.4-i486-3_SBo 
-rw-r--r-- 1 root root    9176 Mar 22  2015 gsl-1.16-i486-1_SBo 
-rw-r--r-- 1 root root    6722 Mar 22  2015 lxml-3.4.2-i486-1_SBo 
-rw-r--r-- 1 root root  119212 Mar 22  2015 gtkmm-2.24.4-i486-1_SBo 
-rw-r--r-- 1 root root    9674 Mar 22  2015 libwpg-0.2.2-i486-1_SBo 
-rw-r--r-- 1 root root   68138 Apr 10  2015 wine-1.6.2-i486-1_SBo 
-rw-r--r-- 1 root root     787 Apr 10  2015 winetricks-20141130-noarch-1_SBo 
-rw-r--r-- 1 root root    2105 May 12  2015 flashplayer-plugin-11.2.202.457-i386-1_SBo 
-rw-r--r-- 1 root root    1297 May 28  2015 potrace-1.12-i486-1_SBo 
-rw-r--r-- 1 root root  353709 Jun 21  2015 python3-3.4.3-i486-1_SBo 
-rw-r--r-- 1 root root    1141 Jun 24  2015 virtualbox-kernel-4.3.24_3.2.29_smp-i486-1_SBo 
-rw-r--r-- 1 root root   90723 Jun 24  2015 virtualbox-4.3.24-i486-1_SBo 
-rw-r--r-- 1 root root    2976 Jun 24  2015 virtualbox-extension-pack-4.3.24-i486-1_SBo 
-rw-r--r-- 1 root root    3510 Jun 24  2015 perl-x11-protocol-0.56-i486-1_SBo 
-rw-r--r-- 1 root root   22301 Jul  9  2015 ntp-4.2.8p3-i486-1_slack14.0 
-rw-r--r-- 1 root root   49101 Jul  9  2015 cups-1.5.4-i486-3_slack14.0 
-rw-r--r-- 1 root root    4718 Jul 14  2015 blas-3.5.0-i486-2_SBo 
-rw-r--r-- 1 root root   45977 Jul 14  2015 lapack-3.5.0-i486-2_SBo 
-rw-r--r-- 1 root root   40569 Jul 14  2015 numpy-1.9.1-i486-1_SBo 
-rw-r--r-- 1 root root   90563 Jul 14  2015 scipy-0.14.0-i486-1_SBo 
-rw-r--r-- 1 root root     845 Jul 14  2015 bdfedit-1.3-noarch-1_SBo 
-rw-r--r-- 1 root root     802 Jul 14  2015 gbdfed-1.6-i486-1_SBo 
-rw-r--r-- 1 root root   30734 Jul 22  2015 httpd-2.4.16-i486-1_slack14.0 
-rw-r--r-- 1 root root  564170 Aug  2  2015 libreoffice-4.4.5-i586-1_SBo 
-rw-r--r-- 1 root root    1821 Aug  7  2015 testdisk-7.0-i486-1_SBo 
-rw-r--r-- 1 root root   12498 Aug 19  2015 chromium-37.0.2062.94-i486-1alien 
-rw-r--r-- 1 root root    1391 Aug 19  2015 chromium-pepperflash-plugin-18.0.0.233-i386-1alien 
-rw-r--r-- 1 root root    4360 Aug 19  2015 google-chrome-44.0.2403.155-i386-1 
-rw-r--r-- 1 root root   88511 Sep 29  2015 vlc-2.1.4-i486-1alien 
-rw-r--r-- 1 root root     612 Oct 18  2015 pitivi-0.94_beta-i486-1_SBo 
-rw-r--r-- 1 root root   10529 Dec 11  2015 audacity-2.1.0-i486-2_SBo 
-rw-r--r-- 1 root root   18029 Dec 11  2015 fltk-1.1.10-i486-2_SBo 
-rw-r--r-- 1 root root    2055 Jan 25  2016 openssh-7.1p2-i486-1_slack14.0 
-rw-r--r-- 1 root root   33878 Feb  4  2016 openssl-1.0.1r-i486-1_slack14.0 
-rw-r--r-- 1 root root    1608 Feb  4  2016 openssl-solibs-1.0.1r-i486-1_slack14.0 
-rw-r--r-- 1 root root     794 Feb  8  2016 bchunk-1.2.0-i486-1_SBo 
-rw-r--r-- 1 root root    2166 Feb 17  2016 bashrun2-0.2.2-i486-3_SBo 
-rw-r--r-- 1 root root   18254 Feb 22  2016 opera-12.16-i686-1_SBo 
-rw-r--r-- 1 root root    2761 Feb 22  2016 arora-20120612_e310d63-i486-1_SBo 
-rw-r--r-- 1 root root   20448 Feb 22  2016 palemoon-25.8.1-i686-1_SBo 
-rw-r--r-- 1 root root   16856 Feb 22  2016 qupzilla-1.8.6-i486-1_SBo 
-rw-r--r-- 1 root root     607 Mar  1  2016 aspell-nl-0.50-i486-1 
-rw-r--r-- 1 root root    1249 Mar  6  2016 ding-1.7-noarch-1_SBo 
-rw-r--r-- 1 root root   18852 Mar  9  2016 texi2html-5.0-i486-1_SBo 
-rw-r--r-- 1 root root    1060 Mar  9  2016 libsigsegv-2.10-i486-1_SBo 
-rw-r--r-- 1 root root   15670 Mar  9  2016 cairomm-1.10.0-i486-1_SBo 
-rw-r--r-- 1 root root    5013 Mar  9  2016 cairo-1.10.2-i486-2 
-rw-r--r-- 1 root root    1200 Mar 13  2016 t1utils-1.39-i486-1_SBo 
-rw-r--r-- 1 root root   20674 Apr 14  2016 libxml++-2.36.0-i486-1_SBo 
-rw-r--r-- 1 root root    4033 Apr 14  2016 orc-0.4.23-i486-1_SBo 
-rw-r--r-- 1 root root   22033 Apr 14  2016 gstreamer1-1.4.5-i486-1_SBo 
-rw-r--r-- 1 root root   31729 Apr 14  2016 gst1-plugins-base-1.4.5-i486-1_SBo 
-rw-r--r-- 1 root root   94043 Apr 14  2016 gstreamermm-0.10.10.2-i486-1_SBo 
-rw-r--r-- 1 root root   34528 Apr 14  2016 gst1-plugins-good-1.4.5-i486-1_SBo 
-rw-r--r-- 1 root root   20175 Apr 14  2016 subtitleeditor-0.40.0-i486-1_SBo 
-rw-r--r-- 1 root root   12243 May 29  2016 SpiderOakONE-6.1.4-i686-1 
-rw-r--r-- 1 root root     980 Jun  6  2016 colordiff-1.0.15-noarch-1_SBo 
-rw-r--r-- 1 root root   96023 Jun  9  2016 dia-0.97.3-i486-2_SBo 
-rw-r--r-- 1 root root    1067 Aug  3  2016 yajl-2.1.0-i486-2_SBo 
-rw-r--r-- 1 root root    1875 Aug  3  2016 urlgrabber-3.10-i486-1_SBo 
-rw-r--r-- 1 root root   22295 Aug  3  2016 libvirt-1.3.5-i486-1_SBo 
-rw-r--r-- 1 root root    1062 Aug  3  2016 jemalloc-3.2.0-i486-1_SBo 
-rw-r--r-- 1 root root    6739 Aug  3  2016 qemu-2.6.0-i486-1_SBo 
-rw-r--r-- 1 root root    5602 Aug  7  2016 python-chardet-2.3.0-i486-1_SBo 
-rw-r--r-- 1 root root  120157 Aug  7  2016 python-twisted-15.2.1-i486-1_SBo 
-rw-r--r-- 1 root root    6082 Aug  7  2016 Mako-1.0.0-i486-1_SBo 
-rw-r--r-- 1 root root    2947 Aug  7  2016 pyOpenSSL-0.15.1-i486-1_SBo 
-rw-r--r-- 1 root root   12680 Aug  7  2016 libtorrent-rasterbar-0.16.19-i486-1_SBo 
-rw-r--r-- 1 root root  102458 Aug  7  2016 deluge-1.3.12-i486-1_SBo 
-rw-r--r-- 1 root root    7896 Aug  7  2016 zope.interface-4.1.2-i486-1_SBo 
-rw-r--r-- 1 root root    1039 Aug  9  2016 sxiv-1.3.1-i486-1_SBo 
-rw-r--r-- 1 root root    2252 Sep  1  2016 catdoc-0.94.2-i486-1 
-rw-r--r-- 1 root root   60503 Oct 30  2016 mozilla-firefox-49.0-i586-1 
-rw-r--r-- 1 root root    4848 Feb  6 13:28 pinball-0.3.1-i586-2_SBo 
-rw-r--r-- 1 root root    8848 Feb 22 16:27 tagainijisho-1.0.1-i486-1_SBo 
-rw-r--r-- 1 root root   37348 Mar  5 12:36 cmake-2.8.12-i486-1 
-rw-r--r-- 1 root root   12539 Mar 20 08:32 fltk-1.3.3-i486-2_SBo 
-rw-r--r-- 1 root root    3022 Mar 26 11:08 parcellite-1.1.9-i486-1_SBo 
-rw-r--r-- 1 root root    3052 Apr 27 17:03 libdvdcss-1.4.0-i586-2_SBo 
-rw-r--r-- 1 root root    1389 Apr 27 17:06 opencore-amr-0.1.5-i586-1_SBo 
-rw-r--r-- 1 root root    1380 Apr 27 17:06 libmpeg2-0.5.1-i486-1_SBo 
-rw-r--r-- 1 root root    1404 Apr 27 17:17 a52dec-0.7.4-i486-1_SBo 
-rw-r--r-- 1 root root    9043 Jun  5 16:44 ftgl-2.1.3_rc5-i486-2_SBo 
-rw-r--r-- 1 root root   19904 Jun  5 16:47 projectM-2.0.1-i486-2_SBo 
Disable caps lock. Monday 21 March 2016

I finally gave up. I disabled caps lock. I made it an extra shift key, using this line:

 xmodmap -e "keycode 66 = Shift_L NoSymbol Shift_L" 

It can be executed manually in a terminal in X, or executed when X starts by putting the line in .xinitrc. In Slackware the system version of .xinitrc lives in /etc/X11/xinit/xinitrc (a symlink to the startup script of the active window manager) from which the content can be copied to ~/.xinitrc for editing. The xmodmap line should come before the code that starts the window manager, starting the window manager should be done lastly.

In the past I used to have perfect screen resolution with a Slackware guest in virtualbox, but for a while now (Slackware 14.2, virtualbox 4.3.24), compiling Guest Additions fails. It ends with:

/tmp/vbox.0/lnkops.c:58:23: note: (near initialization for 'sf_lnk_iops.put_link') 
cc1: some warnings being treated as errors 
scripts/Makefile.build:258: recipe for target '/tmp/vbox.0/lnkops.o' failed 
make[2]: *** [/tmp/vbox.0/lnkops.o] Error 1 
Makefile:1384: recipe for target '_module_/tmp/vbox.0' failed 
make[1]: *** [_module_/tmp/vbox.0] Error 2 
/tmp/vbox.0/Makefile.include.footer:79: recipe for target 'vboxsf' failed 
make: *** [vboxsf] Error 2 
Creating user for the Guest Additions. 
Creating udev rule for the Guest Additions kernel module. 

Unsurprisingly, when I boot the guest, modprobe fails as well:

Starting the VirtualBox Guest Additions ...fail! 
(modprobe vboxsf failed) 
Starting VirtualBox Guest Addition service ...done.  

Therefore I’m stuck on a tiny screen resolution. After almost two hours of searching, I had to conclude that no official solution exists. I did find a less perfect experimental solution:

https://www.whonix.org/wiki/Higher_Screen_Resolution

Following the instructions there gives me a maximum resolution of 1600x1200. Not quite the size of my screen, but I think I can live with it. (If the site is down or page is gone, I saved the relevant bit here).

Notes:

(1) xrandr gives now:

Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1200 
default connected 1600x1200+0+0 0mm x 0mm 
   1600x1200     86.00*  
   1280x1024     86.00   
   1152x864      76.00   
   1024x768      85.00   
   800x600       86.00   
   640x480       86.00   
   640x400       86.00   
   320x200        0.00   

(2) I had to uninstall the Guest Additions, which turned out to be unintuitive. Google gave a somewhat unhelpful page: Re: How to uninstall Guest Additions in Ubuntu guest? until someone added to it:

Postby TheBigKahoona » 27. May 2011, 13:58 
for everyone how ends up here by googleing this matter: 
/opt/[VboxAddonsFolder]/uninstall.sh 

That was nice.

Claws mail depends on enchant, which ships with Slackware. If your language is another than a variant of English, you need to install language dictionaries in Slackware. Using enchant, there are two ways. The first one I’ll describe below. The second is explained in enchant’s man file under DIRECTORIES IMPORTANT TO ENCHANT (something like: place dictionaries for specific back-ends in ~/.enchant/[name backend]).

The method I used is adding the appropriate dictionary to aspell, one of the back-ends that enchant uses. An archive with extra languages for aspell is here.

Download the tarball and create a Slackware package with src2pkg:

src2pkg -CWD [name tarball]  

Install the newly created package as root. Done.

If enchant somehow does not use aspell, putting a file called enchant.ordering in ~/.enchant might help. In the file, you need to put the line:

*:aspell,myspell,ispell 
Play Mechwarrior 2 in dosbox Sunday 31 January 2016

I couldn’t get Mechwarrior 2 to play in dosbox, because it kept complaining that it couldn’t find its CD. Solution, mount instead an image. Caveat: certain old games used mixed media CDs. You need to make an image that contains both music and data, and then create an cue file. Mount that.

In dosbox, execute something like:

IMGMOUNT d /home/[user]/[folder with images]/image.cue -t iso 

Reference for makeing an image and a cue file:

http://www.dosbox.com/wiki/Cuesheet

Note: the bin file contains the data, it needs to be present alongside the cue file.

get a tarbal from git for slackbuild Sunday 31 January 2016

I know nothing about git.

However, this is how I managed to download the most recent version of openbox from git, and make it ready for the slackbuild script.

  1. git clone git://git.openbox.org/mikachu/openbox
  2. cd openbox and run bootstrap
  3. cd .. and rename openbox to the correct version, e.g. openbox-6.2.
  4. tar cf openbox-6.2.tar openbox-6.2
  5. gzip openbox-6.2.tar
  6. cp openbox-6.2.tar.gz to slackbuilds builddir and open the slackbuild script and change the VERSION variable.

※ This text assumes you already know how to partition and format a hard disk.

On a Slackware 14 box (using a light window manager like fluxbox or openbox, upgraded Thunar to version 1.6.3), when starting an external hard disk, a message will show in /var/log/messages but otherwise nothing else may happen. When you are in a terminal, you can do tail /var/log/messages to see what device your hard disk is, and mount its partitions by hand. For example, if sdg is announced, you can mount a partition from it using mount /dev/sdg1 /dev/mnt/tmp (depending on the permissions you may have to do su first).

If the filemanager Thunar happens to be open, it might automount stuff from the external disk, or it may not. It should however always show the newly available partitions in the tree view left (if not, fstab may be to blame). Click on a partition, and Thunar will try to mount it.

If the partitions on the external disk don’t have labels, Thunar will label it according its size (e.g. 1.0 TB Volume or something like that). Identical names are certainly possible.

This default behavior can be modified in several ways. One way is by assigning labels to the partitions and adding lines to /etc/fstab.

Earlier I had partitioned and formatted my external hard disks and had given them ext4 filesystems. I forgot to assign labels to the partitions. I fixed that with this (unmount the partitions first, in Thunar that’s a right-click option):

 e2label /dev/sdg3 myfancylabel

When the partitions have a label, Thunar will show the labels instead of the volume labels. It will however mount the partitions somewhere like /run/media/[username]/[label] (if the partition has no label, instead it will show the UUID, a long string of letters and numbers). Also, you don’t control the options with which it is mounted (funny side note: my version of Thunar mounts external partitions with uhelper=udisks2 but umount.udisks2 doesn’t even exist in Slackware 14; it doesn’t seem to hurt unmount however...).

Adding lines to /etc/fstab will allow you to choose the options for mounting, and the place where to mount (obviously, you’ve got to create the mount point if it doesn’t exist). Example:

UUID=f6d5911a-922b-425f-9ed7-b92ca4d0502c       /home/[myhomedir]/mnt/[mymountpoint] ext4   nodev,nosuid,noexec,rw,user,noauto,noatime  0       2

If you don’t know the UUID, do ls -l /dev/disk/by-uuid. In the past you could use the device name (like /dev/sda1 etc.) but that method doesn’t seem to be entirely reliable anymore, use UUID instead.

Some other notes:

  • You can see/view the options that have been used to mount a partition (other than defaults) by executing mount on itself, even as user.
  • Thunar seems to ignore the noauto in /etc/fstab. You can disable automount through its preferences (Edit::Prefereces::Advanced::Configure). It should still show devices like external USB hard disks in the tree, but unmounted.
  • If you’ve configured your hard disk partitions in /etc/fstab like I have (see above), when you’re in a termianal you can, as user, cd to the directory below your mount point, and type mount [mount point] to mount your stuff.
  • Sometimes Thunar doesn’t show a partition all all (or stops showing it randomly). Sometimes removing the line in fstab will help. Bugs, I guess. However, you can always mount partitions by hand, and then navigate to the mount point. The command line still rules!

This is my way of creating a new scim table. It’s a simplified version of the description by Janusz Prusaczyk (you can find a recent copy of his description here and an older one here).

  1. Get the source from git for examples: git clone https://github.com/scim-im/scim-tables.git
  2. cd scim-tables/tables/[lang]/ and look for a table (file ending in txt.in) that has a simple structure, but that you like when you use it (obviously, try and compare using scim).
  3. copy the table you like somewhere, and change:
    • the UUID (create a new one using uuidgen)
    • the SERIAL_NUMBER
    • ICON (don’t use a source path but the real path: ICON = /usr/share/scim/icons/[your_filename].png - create an icon using the others in that folder as examples)
    • NAME
    • NAME.[lang_LANG] (check with locale -a)
    • LANGUAGES [lang_LANG]
  4. change the part between BEGIN_TABLE and AND_TABLE. Simple structures have [input] [output] [(optional) frequency_number]
  5. check that the first line has SCIM_Generic_Table_Phrase_Library_TEXT (and not binary bla)
  6. save and copy as root the file to /usr/share/scim/tables/[your_filename].bin. Note, that while the filename pretends to be a binary, it’s just plain text, easy to maintain.
  7. restart scim somehow (the only way that works for me is restarting X)

Your table should be in scim’s menu under the language you used, and work the same as the table you copied it from. To be clear: the only thing you do is edit a txt.in source file, rename it to bin, put it in /usr/share/scim/tables, put an icon in /usr/share/scim/icons/ and restart scim. You don’t compile. The bin file begins with SCIM_Generic_Table_Phrase_Library_TEXT and contains a regular path to the icon.

I find this much easier than compiling the source after each edit. Currently it works for me (on Slackware 14), but I don’t know that future versions will allow this too.

I’m working on tables to be able to make notes on Classical Chinese or modern Mandarin (from the perspective of someone who knows Japanese). It currently uses pinyin in a-z only (tones in -x -h suffixes). I’m going to add other input (example sono 其). If you want to you can try it out (I couldn’t find a regular table for pinyin input myself), see below. The table contains all the words in Cedict (113,230 words). Work in progress.

  • for in /usr/share/scim/tables/ download kpb2.bin updated 2015年 7月 7日 火曜日 23:42:18 CEST (113,230 words).
  • for in /usr/share/scim/icons/ download kpb2.png
  • restart scim, find KPB-2 in Chinese Traditional
  • screenshot
  • note: KPB-2 includes both pinyin no-tone-spelling and alternate tone spelling: pin2→pinx pin3→pinn (pi3→pii etc.) pin4→pinh; examples zhehge 這個, zhongguox 中國.
  • feedback
Edits to be expected.

Installing myougiden (a command-line interface to Edict, the Japanese-English dictionary that has an online interface at wwwjdic) in Slackware is possible. This is one way (tested in Slackware 14.0 and 14.1):

  1. Get python3.4 from Slackbuilds and install that
  2. cd to your git folder (or make one)
  3. git clone https://github.com/leoboiko/myougiden.git
  4. su
  5. pip3.4 install romkan
  6. pip3.4 install termcolor
  7. cd [your git folder]/myougiden
  8. python3.4 setup.py install
  9. updatedb-myougiden -f
  10. exit and start using myougiden

(Your version of pip may be different; do ls -l /usr/bin/pip* to check.)

Lots of options, see myougiden -h.
BTW I put this in ~/.bashrc:

alias m='/usr/bin/myougiden' 

Typing m instead of myougiden is somewhat more convenient (so far I haven’t found a nice way to keep it open/make it interactive).

Lots of things to like, for example:

  • many options
  • nice colours and formatting
  • highlighting search words
  • internal option for updating the dictionaries
  • screenshot

Update (2016年 10月 24日 月曜日 09:56:14 CEST)

It is possible to update the dictionary files with updatedb-myougiden -f, which is cool. It is also possible to update myougiden itself, with sudo pip install --upgrade myougiden. I did that and got a broken version (SyntaxError: Non-ASCII character '\xc5' in file /usr/bin/myougiden on line 28, but no encoding declared;) I edited a few lines of the file myougiden, but gut stuck not knowing any python). So how to downgrade? My solution:

pip uninstall myougiden 
git clone git://github.com/leoboiko/myougiden.git 
cd myougiden 
git log 
[choose an earlier commit, I chose da1ffa2956ee0c8efc64567bd248b6ff352be600] 
git checkout da1ffa2956ee0c8efc64567bd248b6ff352be600 
sudo python3 setup.py install 
sudo updatedb-myougiden -f 

Update: Sun Aug 20 12:04:35 CEST 2017

I installed the latest version of myougiden at this date without problems on my laptop, under Slackware 14.2 (following the instructions at the top, only with pip3.6).


I still long for a bugfree version of xjdic...

sendmail: DSN: Data format error Sunday 21 December 2014

I wanted to send emails from my Slackware box, directly with sendmail (no smart program or script in between to catch problems). Sendmail gave this error:

Dec 21 12:28:51 slackware14 sm-mta[3813]: sBLBSnif003811: sBLBSpif003813: DSN: Data format error 

I resolved it using the info on this page: sendmail dsn=5.6.0, stat=Data format error by Dmitry Zayats and an additional hint from the poster on this forum page.

cp the file /usr/share/sendmail/cf/cf/sendmail-slackware.mc to /usr/share/sendmail/cf/config.mc
cd /usr/share/sendmail/cf
open config.mc in your favourite editor
add these lines

    MASQUERADE_AS(`myshortdomain.com')dnl 
    MASQUERADE_DOMAIN(very.long.domain.com)dnl 
    FEATURE(`masquerade_entire_domain')dnl 
    FEATURE(`masquerade_envelope')dnl 

I don’t know what the very.long.domain.com should be other than myshortdomain.com, I used the identical From address for a valid mail server (localhost won’t work) for both the first and second line. (Leave the last two lines unchanged. And yes, the file uses opening and closing quote marks, that look asymmetrical in a lot of modern fonts.)

The Slackware mc file contains two apparent errors: it says one should do sh Build config.cf but that doesn’t work.

Also, the path in include(\`../m4/cf.m4') is wrong, change it to include(`m4/cf.m4'). Then, execute (while you’re still in /usr/share/sendmail/cf):


m4 /usr/share/sendmail/cf/m4/cf.m4 config.mc > /etc/mail/sendmail.cf 

restart sendmail as root: /etc/rc.d/rc.sendmail restart

With this, the error was resolved on my box.

Note: unresolved at this point: Google's gmail servers might refuse mail (claiming it looks like spam) from a box that has no valid dns entry (I think). (In other words, from behind a router. I'm sure there's a solution to that, but don't know what it is yet.)

Ubuntu: show all active windows. Wednesday 1 October 2014

On my laptop I currently have Ubuntu 12.04. When I open a second window of a terminal and minimize it using the control button on top (with the - sign), it seems to disappear. Left clicking on the task bar icon simply shows the one that is active. Alt Tab idem ditto. (Middle click opens a new one, right click shows nothing useful).

In Openbox I simply rightclick on the Desktop to see all active programs, but in Ubunbu that only shows a useless menu (align icons and such).

Turns out you need to learn a new key combination: Command Key + w (or Windows Key + w) to see all active windows. (At least for now, don't hold your breath.)

I wanted to see thumbnails for videos in Thunar. I’ve got Thunar 1.6.3, compiled from source from Slackware current some time ago. SlackBuilds.org has a package for the project thunar-thumbnailers, but for video it depends on ffmpegthumbnailer.

The README says uncomment the line --enable-ffmpeg in the SlackBuild script, but if you only do that you get: --enable-ffmpeg: command not found. Turns out, an earlier line was missing its trailing backslash.

O wait, first I got the error configure: error: Install tetex before enabling latex thumbnailing. That was caused by me simply using su to be root, instead of su - (the second way forces root to really log in, and that has an effect on the content of the $PATH variable, which was missing tetex).

Subsequently I deleted the content of ~/.thumbnails/normal. At this point I should probably have restarted not only Thunar but also tumbler, but I got distracted by the advice in the README to:

execute the following command: /usr/libexec/thunar-vfs-update-thumbnailers-cache-1 

That was not on my system however (Slackware 14). Also, I didn’t have /usr/lib/thunar-thumbnailers (probably confusion from Ubuntu configurations). In any case, for good order, I upgraded Thunar and tumbler from Slackware current, but that didn’t change anything. Maybe just restarting tumbler might have worked, instead I rebooted the entire system. Opened Thunar and yes, thumbnails for videos!

Pages that helped me:

My minimal setup for Firefox Thursday 31 July 2014

Update in progress

  1. add-on Classic Theme Restorer
    ▤ > Customize > Preferences > Tabs not on top.
  2. few local modifications in chrome, place in profile folder
    chrome.zip
  3. ▤ > sync
  4. Install ProfileSwitcher{1.6.2}.xpi (not verified).
  5. ...

  1. add-on Classic Theme Restorer (and choose tabs not on top in its preferences)
  2. log in to sync and sync bookmarks
  3. add-on Last tab close button
  4. add-on Locationbar2
  5. add-on ProfileSwitcher (may be on external site; I saved it)
  6. add languages for the spell check
  7. add-on ViewSourceWith
  8. add-on Firebug

For unrestricted web browsing, I also need:

  • add-on NoScript
  • add-on Flashblock
  • add-on Adblock Plus

Comments:

  1. (Classic Theme Restorer)
    • I really dislike the deep menu, prefer the (easy access to the) top menu bar.
    • I use the Bookmarks toolbar a lot (saved with sync) and want quick access to it.
    • I guess I’m simply used to this order: Top menu, Address bar, Bookmarks toolbar, Tabs. As long as I can revert, I’ll revert.
  2. Convenient.
  3. I don’t want Firefox to close when I close the last tab. Never!
  4. Locationbar2 gives linkification when moving over the address with the mouse (so you go up in the address). As a bonus, it looks cool (choose domain color #3366FF, choose on top in its preferences)
  5. I use different profiles with different properties. (The addon bar, restored with Classic Theme Restorer, shows which profile I’m dealing with.) Last time I checked ProfileSwitcher still gave me much more control over my different profiles than Firefox’s own profile options.
  6. Obviously.
  7. Allows you to edit input fields with your own editor (choose your editor in its preferences)
  8. Currently I use Firebug a bit less often, because it doesn’t play well with responsive css (unlike Firefox’s own Inspector). I guess it’ll catch up.
  • Without NoScript annoying JavaScript ‘features’ pop up all the time. Also, I feel unsafe with JavaScript enabled all the time.
  • Flashblock, mostly because I don’t want video (and flash audio) to start automatically.
  • Adblock: if you want to keep your brain moderately uncontaminated, you need to avoid advertisements and commercials etc. like the plague. Adblock also declutters a lot of websites.

Using grep, I wanted to skip lines that contained a certain string. I fired up man grep and searched for exclude and skip. No result. Then I hit Google and found instantly: regex - GREP - how could I exclude one word.

So why didn't I find this info in the man file? Because it says:

      -v, --invert-match 
            Invert the sense of matching, to select non-matching lines. 

I came across a thread and an article1 about systemd, which made me feel grateful that Slackware is unaffected by this apparent madness. The article gives a nice point by point overview (it may be a bit biased, it's called ‘boycott systemd’).

  1. Update: I think found the article on http://boycottsystemd.org/, but I can’t locate it there anymore.

Note:

I read that Gnome depends on it. I've actually never used Gnome, ever. I remember using KDE 1.0 in the beginning, dropping KDE when it got to version 2.0 (which I hated) for Fluxbox, dropped that for Openbox after about a year and have been using Openbox ever since. Whenever I took a peek into KDE, I fled. This idea of a ‘desktop environment’ doesn't appeal to me at all. Just use the programs you like, no need for all the other stuff using up resources.