5

Bodhi Linux Review: The Good, the bad, and the really bad

by

I am looking for a replacement for Ubuntu 10.04. It reaches end-of-life, in April, 2013. I just could not get used to the Unity Desktop Environment, simply because there is no guide on how to use it. (HINT!)

The Good

A friend suggested Bodhi Linux, which is Ubuntu 12.04 based, with the enlightenment window manager.. Enlightenment is small, compact, and very fast.

Windows 98 Floppy

The installation of 2.1 Bodhi was quick and somewhat painless. But I will admit the grub_divmod64_full grub boot error had me in a tailspin. I had to drop back to Windows 98 Floppy to fix the problem. (fdisk /mbr) After nuking the master boot record, I tried a second time, all was well.

bodhi desktop

The Bad

Creating a desktop icon, is NOT straightforward. For example, if you are used to using the gnome-terminal, it is called “Terminology” in Enlightenment.

If you try to create a symlink to this in the Desktop folder, that won’t work! Instead, you have to copy the .desktop to your home Desktop folder. So:


cp /usr/share/applications/terminology.desktop ~/Desktop

Thanks to conspiritech and deepspeed on the #bodhilinux irc.freenode.net for solving that mystery, and the file manager mystery (below.)

Trying to put an Enlightenment File Manager (EFM) desktop icon, proved impossible. They suggested using Thunar or Pcmanfm

And the above code snippet (substituting Thunar.desktop or pcmanfm.desktop) works!

When I tried to install boinc, things got ugly quick!

Here is what I did, and the explanation below:

w@H:~$ ssh w@p
w@p's password: 
Welcome to Bodhi Linux 2.0.0

 * Documentation:  https://wiki.bodhilinux.com/
Last login: Sat Jan 26 08:02:16 2013 from 192.168.1.101
w@P:~$ sudo apt-get install boinc
[sudo] password for w: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 boinc : Depends: boinc-client (>= 7.0.27+dfsg-5ubuntu0.12.04.1) but it is 
not going to be installed
         Depends: boinc-manager (>= 7.0.27+dfsg-5ubuntu0.12.04.1) but it is
 not going to be installed
 libc6-dev : Depends: linux-libc-dev but it is not going to be installed
 nvidia-173 : Depends: linux-libc-dev but it is not going to be installed
              Recommends: nvidia-settings but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
 solution).
w@P:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-appindicator3-0.1 9menu gir1.2-json-1.0 gstreamer0.10-x pkg-config
  gir1.2-javascriptcoregtk-3.0 ratpoison libiec61883-0 gir1.2-timezonemap-1.0
  gir1.2-gstreamer-0.10 gir1.2-soup-2.4 libraw1394-11
  gstreamer0.10-plugins-good gir1.2-webkit-3.0 libtag1-vanilla libavc1394-0
  libtimezonemap1 libshout3 libdv4 gir1.2-xkl-1.0 screen-resolution-extra
  libtag1c2a libxklavier16 python-xkit
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-libc-dev
The following NEW packages will be installed:
  linux-libc-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 948 kB of archives.
After this operation, 3,177 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://packages.bodhilinux.com/bodhi/ 
precise/stable linux-libc-dev i386 3.5.0-11.11
  404  Not Found
Failed to fetch http://packages.bodhilinux.com/bodhi/pool/stable
/l/linux/linux-libc-dev_3.5.0-11.11_i386.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
w@P:~$ 

The Really Bad

I tried to install boinc, as shown above. But it complained that the libc6-dev was actually a later version than it needed. I tried to “fix” the broken packages, but I got a 404 error. The needed file, was NOT found in the Bodhi 2.1 repository. FAIL.

While I could probably get around this, by adding the correct Ubuntu repository, this is NOT something a n00b (novice/new) user would know how to fix. The combination of the repository failure, and the methodology of adding desktop icons, gives bodhi Linux a grade of: D-. Not ready for primetime.

Another review, called it a square peg in a round hole.

When I tried to install the nvidia-173 legacy mode drivers for my graphics card, it completely broke Bodhi, so much that it would not boot. Went into recovery mode, purged the nvidia driver, and then rebooted back into Bodhi.

Kubuntu is starting to look pretty good.

Wayno

1

Comcast live chat fails Turing Test

by

A Turing Test is used to distinguish whether or not I am you are talking to a machine or a human. If the responses would be generally considered that of what a real life person would give, then it is said, to have passed the Turing Test.

One of the first machine based artificial intelligence programmes was Eliza. It was primitive by today’s standards, but none-the-less was the first machine based AI programme I encountered in college.

This recent chat with Comcast would seem to indicate a Turing Test failure. To wit:

analyst Arthur has entered room

Arthur: Hello Wayno, Thank you for contacting Comcast Live Chat Support. My name is Arthur. Please give me one moment to review your information.

Wayno: My Issue: Life Line service

Arthur: I am here to provide you with excellent customer service today. Please be assured I will do my best to help you with your concern.

Arthur: Can you please elaborate your issue?

Wayno: hi arthur. I have a question about life line services.

Wayno: qualifications, cost mostly.

Arthur: I understand your concern is about life line services, am I correct?

Wayno: correct

Arthur: May I have 2 minutes to check on that?

Wayno: absolutely

Arthur: Thank you.

Arthur: Thank you for waiting, Wayno.

Arthur: XFINITY Voice service is compatible with personal emergency alert response systems provided by Philips Lifeline and Linear LLC. XFINITY Voice service doesn’t guarantee compatibility with other systems. To check compatibility, contact the agency that provided you with the personal emergency alert response system.

Wayno: no that does not answer my question. what are the qualifications and cost of life line service?

Arthur: Contact your alarm company before your XFINTITY Voice installation. Provide the date and time of your installation so the alarm company can check the status of your alarm on installation day. If your alarm system needs to be reactivated after XFINITY Voice is installed, you will not be compensated for the cost of reactivation.

Wayno: okay I am not talking to a human being.

Arthur: I am a live agent, Wayno.

Arthur: I just gave you the information about Life Line service. It is for free.

Arthur: You just need to have a Comcast phone service.

Wayno: how does contacting my alarm company have any thing to remotely do with lifeline?

Arthur: I can see here that you don’t have Comcast phone service.

Wayno: okay you failed the Turing Test.

=========

Actually I was able to find the information on-line for lifeline phone eligibility.

Wayno

1

What Windows program to use to erase a hard drive before donating the computer?

by

This was a question I posed to my friend Matt. He suggested:

the best is dban

Darick’s Boot and Nuke

You burn dban to a cd and boot the computer with it. This eliminates EVERYTHING from the hard drive, including the operating system.

If you are more comfortable running a program from Windows itself i recommend eraser.

Both are free. I’m always glad to help a friend.


\m/

0

How to change the language on an HP PSC Printer

by

Oh brother! (No! NOT the printer)

Talk about obscure information.

It’s easy. Once you know how. On the printer do the following:

1. Hit the setup key.

2. Enter “5” for maintenance.

3. Enter “5” again to set “Country/Language/Region”

4. Enter “11” for English.

5. Enter “1” for yes.

6. Enter “10” for USA

7. Enter “1” for yes.

Done!

Who knew?

Wayno

0

Getting gtalk to work in Pidgin

by

Sometime ago, gtalk quit working in Pidgin.

This assumes you have Pidgin and the facebook chat module installed:


sudo apt-get install pidgin

If you add an account. It just never connects. At least not for me. This was the work around I found.

This is an OLD SCHOOL fix. This was straightforward for me, but it may not be for you

Here’s the word explanation:

1. Hit the advanced tab.

2. Change the port to 443.

3. Change the connect server to talk.google.com

4. Hit save.

And what it should look like when you are done!

Old School Gtalk Configuration for Pidgin

0

How to: Easily block access to a website in Windows

by

There is an old Linux trick, that works superbly in Windows as well.

1. It is necessary to run notepad or your Windows editor of choice as the Administrator. Right click on notepad in the start menu, and choose: Run as Administrator.

Once you do that, navigate to the Windows host file. Don’t know where that is? I will tell you!


c:\windows\system32\drivers\etc\hosts

2, Once you have that open, click on file, and then save as hosts.org. That makes a copy of the intact original file.

Your file needs to look like:


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.

# define local host GU 09/26/2012

127.0.0.1 localhost
::1 localhost

# add sites to be blocked GU 09/26/2012

127.0.0.1 facebook.com
127.0.0.1 twitter.com
127.0.0.1 youtube.com
127.0.0.1 pandora.com

Notice the the definition for 127.0.0.1 (localhost) was UNCOMMENTED. Very important. Also ::1.

Now you just tell it what sites you want to block, (as seen here, facebook, twitter, youtube, pandora) — whatever you want blocked.

3. Now hit file, and SAVE AS as hosts. Overwrite the file. I rebooted Windows and guess what? No more access to those sites!

4. To check:


ping youtube.com

PING youtube.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.027 ms

You can do the same thing in Linux, by editing /etc/hosts.

Wayno

0

Congratulations, Loni!

by

Loni and the Kitty

Loni and the Kitty

A welcome contributor to this site, and personal friend Loni, is leaving soon for a new job in the big city.

Thank you for all your assistance, tutoring, and mentoring. Loni always made me work to find the right answer. Sometimes it was RTFM. But she always pointed me in the right direction.

On behalf of all the followers and subscribers to pkill-9, I think you.

Yes, it was Loni after all, who came up for the name of this website!

Thanks old friend,

Wayno

2

How to easily remove comments from a file (or why does squid.conf look like War and Peace?)

by

Oh brother. I am trying to configure the squid proxy server on my Linux box. At over 4,900 lines of code, it reads more like Tolstoy’s epic novel: War and Peace.

While I appreciate that every blessed thing I would ever need to know about squid is contained in this configuration file, it makes it hard to read the code through the comments. I had some fancy way of doing it, but Joe came up with a simpler method:


grep -v '^#' squid.conf

and I improved on that:


grep -v '^#' squid.conf | uniq | sort >squid.nocomment

so let’s break that down.

grep looks for a regular expression.

the -v option tells it to look for lines which DO NOT match to pattern. In this case we are looking for lines that do NOT match a comment: # in the first character of the line. So we just took the “War and Peace” sized squid.conf, to a handful of lines.

uniq – filters out adjacent lines, so if we have multiple blank lines, it eliminates them.

and sort? Well it sorts the output, and writes the file.

Notice the | ? It is piping. What’s that? It means the input to the next programme (following the pipe) is the output of the previous programme.

So what the command does is, looks for lines that do NOT start with a comment, eliminates any adjacent duplicate lines, then sorts the output.

So our 4,900 configuration file, is now, 50 lines! About 2% of the total. Who knew? Thanks Joe for getting me started with the grep trick. Here is the squid.conf file, with the comment lines removed:

access_log /var/log/squid/access.log squid
acl all src all
acl apache rep_header Server ^Apache
acl CONNECT method CONNECT
acl localhost src 127.0.0.1/32
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl manager proto cache_object
acl purge method PURGE
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 210 # wais
acl Safe_ports port 21 # ftp
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 443 # https
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 631 # cups
acl Safe_ports port 70 # gopher
acl Safe_ports port 777 # multiling http
acl Safe_ports port 80 # http
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
broken_vary_encoding allow apache
coredump_dir /var/spool/squid
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hierarchy_stoplist cgi-bin ?
hosts_file /etc/hosts
http_access allow localhost
http_access allow manager localhost
http_access allow purge localhost
http_access deny all
http_access deny CONNECT !SSL_ports
http_access deny manager
http_access deny purge
http_access deny !Safe_ports
http_port 3128
icp_access allow localnet
icp_access deny all
refresh_pattern . 0 20% 4320
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
upgrade_http0.9 deny shoutcast

Wayno

0

How to fix audio cd in Linux (unable to open mrl)

by

When I tried to play an audio cd I recently got from the library in vlc, I got the error:

VLC is unable to open the MRL

And it told me to see the logs. So I tried dmesg, and niente. Nothing. Yeah that helps!

So I went into vlc tools/preferences/Audio and changed the output module to pulse audio output. So it looks like:

VLC Audio Output Options

Who knew?

Wayno

1 2 3 4 5 6 7 8 18 19