Jan 15

On January 18th, 2012, the TLLTS website will participate in the SOPA protest as will freelinuxbox.org, lincware,
lincolnblogs, linuxplanet blogs and linuxplanet casts. Normal activity will resume on the 19th.

http://www.nosopa.org/

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Dec 20

I wrote a little script to help me quickly set up a new Mint 12 install the way I like it and to fix a couple random annoying issues. Enjoy:

Script name is fixmint.sh

#!/bin/bash

clear

# Test for UID=0
if [ "$(echo $UID)" != "0" ]
then
echo “You must be superuser to run this program. Try ‘sudo ./fixmint.sh’”
exit
fi

# Add packages you need
echo “install some good packages to have handy.”
apt-get -y install sshfs smbfs irssi vpnc screen vlc mencoder vim moc openssh-server subversion git twinkle curl php5-cli mutt clusterssh html2text autofs vncviewer &> /dev/null

# Turn off guest login
echo “Turning off guest login.”
grep -q “allow-guest=false” /etc/lightdm/lightdm.conf || echo “allow-guest=false” >> /etc/lightdm/lightdm.conf

# Fix dual monitors
echo “Fixing dual monitor mode so that both monitors reflect changing virtual desktops.”
gconftool-2 –set /desktop/gnome/shell/windows/workspaces_only_on_primary –type bool false

# Fix broken login chime
echo “Fixing broken login chime.”
for user in $(ls /home)
do
mv /home/$user/.config/autostart/libcanberra-login-sound.desktop /home/$user/.config/autostart/libcanberra-login-sound.desktop.orig
echo -e “[Desktop Entry]\nType=Application\nName=GNOME Login Sound\nComment=Plays a sound whenever you log in\nExec=/usr/bin/canberra-gtk-play -f /usr/share/sounds/linuxmint-login.wav\nOnlyShowIn=GNOME;Unity;\nAutostartCondition=GSettings org.gnome.desktop.sound event-sounds\nX-GNOME-Autostart-Phase=Application\nX-GNOME-Provides=login-sound” >> /home/$user/.config/autostart/libcanberra-login-sound.desktop
done

# Set the login page wallpaper
echo “Setting the login background to /usr/share/backgrounds/mint.jpg. Copy any background you wish to be the login wallpaper to that file.”
sed -i -e ‘s/^background.*/background=\/usr\/share\/backgrounds\/mint.jpg/g’ /etc/lightdm/unity-greeter.conf

echo “All done. Enjoy!”

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Dec 19

Found out a couple days ago that there is a problem with the PPA for handbrake with MINT 12 and Ubuntu 11.10 (and probably others as well). There is an easy workaround for it though. That is to use the snapshots ppa instead:

apt-add-repository ppa:stebbins/handbrake-snapshots
apt-get update
apt-get install handbrake-gtk handbrake-cli

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Dec 07

I had a friend a few weeks ago who asked me for help getting the Transmission bittorrent client working on CentOS 6. I took these notes then and am sharing them now.

cd /etc/yum.repos.d/
wget http://geekery.altervista.org/geekery-el6.repo
NOTE: RHEL/CentOS 6 x86_64 users have to replace $arch with $basearch in the repo file
yum install transmission transmission-gtk

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Dec 07

CentOS 6


I love love RHEL and CentOS on servers but surprisingly, CentOS 6 makes a nice desktop as well! Here are some notes I took getting things going the way I like on my CentOS laptop.

Where I work, if you push your machine name to DHCP, it will register with DNS as well. This is a nice feature if you are in the habbit of ssh-ing to your boxes like I am. In order to accomplish this task, you change a setting in the dhclient.conf file, which for a long time has been found in /etc/dhcp or /etc/dhcp3. Well, things have been moved around a bit and it’s now located in /etc and the filename is dhclient-eth0.conf where eth0 is the interface you are using. My suspicion is that this was done to frustrate the 5 people in the world like myself who actually use this :)

I really have no need for SELinux on this machine and therefor turn it off to keep it out of my way. This is easily accomplished by editing the /etc/selinux/config file and setting SELINUX=disabled. (then performing a reboot)

I also have no use for the default firewall ruleset. I normally do a chkconfig iptables off && service iptables stop and just address my firewall concerns later on.

What I *DO* need, often, if not always, are the development tools. Things like compilers and make, etc.. Get them by doing yum -y groupinstall “Development tools”.

Install the EPEL repo:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
or
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
depending on your archetecture.

Gotta have clusterssh. If you don’t use it you should!
yum -y install clusterssh

I also must have my chrome web browser:
Install chrome from website https://www.google.com/chrome?&brand=CHMB&utm_campaign=en&utm_source=en-ha-na-us-sk&utm_medium=ha

And Thunderbird too!
install thunderbird from website http://www.mozilla.org/en-US/thunderbird/

Add the RPMForge repository:
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
or
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
depending on your archectecture.

And, lastly, if you are somewhere where this is legal, you can install all the codecs that make using your computer nice!
yum -y install compat-libstdc++-33 libdvdcss libdvdread libdvdplay libdvdnav lsdvd libquicktime flash-plugin mplayerplug-in mplayer mplayer-gui gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rpm (or x86_64)
rpm -ivh mplayer-codecs-20061022-1.i386.rpm (or x86_64)
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm (or x86_64)
rpm -ivh mplayer-codecs-extra-20061022-1.i386.rpm (or x86_64)

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Dec 06

Linux Mint


OK, so it’s no secret I am a Mint addict. I just *had* to install Mint 12 as soon as I could, so I grabbed and installed the RC as soon as I could. What I would like to review here are my impressions after using Mint 12 for a while.

First, let me say that I am using the default desktop, so to speak. By that I mean I am using the Gnome 3 desktop that comes along with Mint 12 as the default. It is quite nice. Nicer than my previous encounters with Gnome 3 on Fedora a couple months ago. Mint did some of their smart decision making and included sane things like the shutdown menu and icons on the desktop, etc. These are all extensions to the standard Gnome 3 desktop, but are included by default in Mint 12 to help improve the desktop UI experience and, I gotta say, they hit the nail on the head once again. These improvements definitely make the desktop more pleasant and “normal” to use.

There were a couple things I tweaked for my personal preferences, and good thing too, cause what would I write about if there weren’t?

I removed the bottom taskbar. While this may be there to help folks make the Gnome 3 adjustment, the fact is that these days everything has one of those annoying widescreen displays with limited virtical resolution. Having a second taskbar eat that precious screen realestate up just doesn’t seem like a good idea to me, no matter how knoble the reasoning behind it. Removing this is pretty simple. Hit your windows (meta) key and select the “Advanced Settings” icon, go to “Shell Extensions” and disable the “Menu” extension and the “Bottom Panel” extension. I promise you won’t miss them, especially if you have a widescreen display.

I made xterm my terminal that launched with the ctrl-alt-t command. I am not entirely sure why gnome-terminal seems so prevalent everywhere, but I, personally, find it ugly, bulky and slow. I do a *LOT* of work at the command line and I get easily annoyed when I request a terminal and have to wait for it to pop up. You may not have this problem, but try xterm, you might just like it :) To do this, click your name in the upper right hand corner and select “System Settings”, then “Keyboard”, then “Shortcuts”. Under “Launchers” you will see a “Launch Terminal” setting. Click on the “ctrl-alt-t” text at the right and hit the backspace key. It should now say “Disabled”. Now head to the “Custom Shortcuts” and hit the + to add a new one. Type xterm in both boxes then apply. Click the “Disabled” text and it should say “New Shortcut”. Hit ctrl-alt-t, which should show up where it said “New Shortcut” and from there on in, you should be able to use that key combo to get your xterm open (quickly I might add).

The other thing I really like to have handy quick is my file browser. For Gnome 3 this is nautilus. Using the same process as xterm I added nautilus as a custom shortcut and assigned it to ctrl-alt-f (for files). Obviously, you can use this method to add all manner of goodies as shortcuts.

That brings me to my “issues” with Mint 12. There are so few they are barely worth mentioning, but in the interest of giving a somewhat impartial review, here goes.

Up in the top task bar you will see your network connection icon. If I go there and disable my wired connection, it works as it should, shutting off that connection and marking it so in that menu. The problem is turning it back on. I can click all day and that little “off” indicator never changes back to on. My connection will come back on, but it doesn’t say so there.

Bluetooth. This is not really a Mint issue – I see it everywhere, but I want a way to start my computer with Bluetooth *OFF*. If you have a laptop and don’t use your bluetooth, it eats the battery and it annoys me to have to turn it off after each startup. It would be great if I could somehow default it the other way around and start with it off and turn it on when I want it.

I really love Google Chrome. It’s a fantastic and fast web browser and I have become attached and accustomed to it. Getting it on Mint 12 is slightly problematic though. If you go to google’s website and download the package, you cannot use the gui package management tool to install it. You get permission errors. To install, open up your trusty xterm and run “sudo dpkg -i packagename.deb” on it. Then immediately afterward, “apt-get update && apt-get upgrade” which will install a couple dependencies you need.

Where the heck are the virtual desktops? I am SOOO used to pressing ctrl-alt left/right and getting to a new one I was monstrously frustrated to find they didn’t work the same way any longer. Even more so when I looked at the keyboard shortcuts which *PLAINLY* say they should. Sure, you can get a new desktop by hitting the windows (meta) key and selecting it at the right side, but that is inefficient. After bumbling around for a while I discovered that they are keyboard accessible by hitting ctrl-alt up/down now. Who knew?

Last thing is the screensaver. Now don’t get me wrong, I like the plain black screensaver just fine, I just want it to shut down the backlight too. It simply makes no sense to backlight a black screen. Without attacking this problem programmatically, it seems you must set your backlight to turn off after a period of time under the “Screen” setting and just leave your screen blank until that happens. Programmatically, however, I found a bit of a workaround, although I am still not completely happy with it. I created a script called “lockit” and in that script is this:

#!/bin/sh
sleep 1 ; xset dpms force off ; gnome-screensaver-command -l

Put that somewhere you can run it, go to the keyboard shortcuts again and disable the “System”, “Lock Screen” shortcut. Add a new one to run your lockit program with the ctrl-alt-l keyboard shortcut and violla! When you hit the key combo, after 1 second your screen shuts off and your computer is locked. If you combine this with having your backlight turn off after a half hour or so (just in case you bump your mouse) it seems to work pretty well. What I really wanted to do, however, was run a background program (or daemon) that detected if the screensaver was active and just shut off the backlight, but, alas, there is no reliable way to do so that I have found.

That’s really it, folks, snigglets and all. I still love Mint and v12 is no exception. Great work once again Clem and team and if you all haven’t tried Mint yet, you sure are missing out!

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Nov 13

Mutt

Mutt


I really love text based email clients. They do a wonderful job of keeping distractions out of your way and letting you focus on what’s important – the message! I find that by using a text email client, I save myself probably 30 minutes or more each day (yes, I get a LOT of emails).
For years I advocated and used pine and alpine for my email. I really liked it and still do, however, it just doesn’t perform great with IMAP it seems, and especially multiple IMAP accounts, and that is what the email of today is like. I switched to a more efficient thunderbird email client for a long while, but then thunderbird started addding “features” like local indexing and such. Kind of a turn off.
Recently, I thought I would look around again and landed back on mutt. I had avoided mutt for many years because it used to require you run your own smtp server. That has always been pretty impractical for me. Now, however, I found that mutt does support using an external smtp server and handles IMAP email with ease. Well! It was time to give it a try and boy, I am glad I did. It’s fantastic! It’s very lightweight, fast, powerful and has that manly text based interface that makes you feel like a power user and makes you look like a unix genius.
The key to a good mutt setup is in the config file, and therein lies all the power as well. Here is a peek into my ~/.muttrc file to give you an idea on how to get things going:

set spoolfile=imap://youremailhostaddress.com/
set folder=imap://youremailhostaddress.com/
set record=”=Sent”
set postponed=”=Drafts”
set mark_old=no # does not mark your messages as old
set fast_reply=yes
set include=yes
set imap_user = “yourusername”
set imap_pass = “yourpassword”
set signature=”~/.signature”
set smtp_url=smtp://yoursmtpserver
auto_view text/html
set mail_check=30
set timeout=15
set realname=”your realname”
set from=”your from address”
set use_from=yes
set editor=vim #greatest editor around
unset markers # get rid of those pesky plusses
set ssl_starttls = no # dont use these on my internal srvr
set ssl_force_tls = no # same as above

Those are pretty self explanatory and I find that is a minimum config for me to work with. Now you might (if you are smart and use vim) want to enable a spellchecker in vim as well. That just takes these lines in your ~/.vimrc file:

set spell
set spelllang=en_gb

Once that is in there and you make a spelling error on an email it will be highlighted. Just cursor over the word and press z= for a spelling suggestion.

As for a few tips on actually using mutt, here are some that will get you started:
Cursor up/down and press enter or space to read a mail.
Once in the email space to page/scroll down and – to get back up.
Press v to view attachment list and enter on the one you want to open.
Press m to write a new email.
Press c then tab to change folders and press space to open that email folder.
Press s then ? to save an email to a different folder and select the folder with space.
Press d to delete an email, r to reply to the sender, g to reply to all.
Press a to take an address and save it into your address book. This will make an alias of sorts so that when you create a new mail to an alias of “person” it translates to person@domain.com automatically.
Press D (yes capital) to search for and delete all mail with a subject that matches your expression.
Press D then ~b and expression to do the same within the message bodies.
Press l then expression to filter/search emails.
Press l then ~b and expression to do the same within the message bodies.
Eventually you will want to sync your email and get rid of all the deleted stuff – press $ and enter to do that.
Probably the most helpful is to remember to press ? to get help! :)

I hops that helps getting you all started with using this great client! Enjoy!

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Nov 12

Mint 12

Mint 12


I just couldn’t wait any longer so I grabbed a copy of the gnome 64 bit cd iso image from http://ftp.heanet.ie/pub/linuxmint.com/testing/. Well, I also grabbed the DVD image as well, but I actually used the cd image to install. It’s a live cd/dvd so I set about checking out the live version first, of course, just to make sure things looked ok.
I figured I would just go for it and started installing to disk on my new laptop. I should mention here that while I like Mint 11, there are certain things on my new laptop that just do not work well with it. It has a new i5 sandybridge processor and the associated graphics which didn’t do well with acceleration and suspend and my trackpad only registered as a mouse, which was usable but a pain in my behind. Needless to say I have been chomping at the bit for a try at the next release to see which, if any, of these issues might have been addressed.
The installer was quick and efficient and I don’t recall anything in particular standing out from what has come to be a normal mint install. That being said, everything after that was fascinating and exciting.
On your first login you are greeted by the new desktop environment, a sort-of Gnome 3 mashup. It’s Gnome 3 but has some of the niceties that *I* believe are needed to make Gnome 3 usable and all the UI goodness that I have come to expect from Linux Mint (and why I keep returning to them). You have 2 taskbars (one would probably be enough though), icons on the desktop and a pretty looking new menu system, not to mention the interesting Gnome 3 new UI things. Previously I tried Gnome 3 on Fedora and absolutely hated it, but in this configuration, it is quite pleasant and completely comfortable and usable.
After the install you will see that Mint welcome screen, which, at the bottom, gives you the opportunity to ad all the multimedia codecs and also to upgrade to the DVD version. Nop matter what I did, those links did bupkis. Undaunted, I looked at the code behind this to see that the packages that should be installing are meta packages, so I popped open synaptic and after a quick search I found and installed mint-meta-codecs, mint-meta-gnome-dvd and mint-meta-mate, which, after installation seemed to get the welcome screen not to display those links anymore, so I am assuming that’s what was needed. I am sure this is something that’ll be fixed as days go along. After all, this isn’t even really an official RC at this point yet, really.
After doing all my software updates and installing the few packages I just have to have in order to function (sshfs smbfs irssi vpnc screen vlc mencoder vim moc openssh-server subversion git twinkle curl php5-cli mutt clusterssh) I set about checking things out thoroughly.
To my surprise, ALL MY LAPTOP ISSUES have been fixed, or at least seemingly. I now have nice screen acceleration, my laptop suspend works flawlessly, my trackpad has actually been detected as a trackpad and I even have 2 finger scrolling working now. WOOT!!! Of course the rest works too. I have sound, wireless internet, usb support, etc., etc..
This is very exciting for me and I, for one, cannot wait to see the full release coming in the future, but if you think I am uninstalling this in favor of something else while I wait, boy are you wrong. I am hooked! Go Mint!

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Oct 19

Almost everybody knows I have ferrets, and many of you have heard me talk about the phenomena of ferret math. The downside of this is when you have to say goodbye to one of your fuzzy friends. Today was just such a day for me.

Ferrets, for those of you not in the know, are not really a creature of nature. Having been bread in captivity for eons, they do not survive on their own. Their survival traits have been almost completely bread from them and they are not much like their ancestors any longer except in appearance. This also brings with it a horrible genetic disposition to certain cancers and diseases witch are all too common in modern day fuzzies.

Today, my friend Teddy was put to sleep. Teddy mysteriously contracted something resembling cancer in his mouth, which rapidly spread into his sinuses and eyes. I am glad to see him go only in the sense that I hated to see him suffering. Teddy came into our home about 3 years ago and was a little fluffy snuggler. He was literally a little teddy bear, which is how he got his name. It was only weeks later that we found his mischievous side that he also really enjoyed pinching my wife :) Hey, I do too!

Teddy is survived by his life long friend Puff, our only remaining ferret, and, of course, 2 cats, a dog, 2 rats and his beloved humans.

I am gonna miss you friend. Safe journey. I promise to keep pinching my wife for you until we meet again.

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
Oct 06

Fail

Fail


OOOF!

So today Dann sent me a message telling me that the LinuxPlanet.org sites hadn’t updated in like 20 days. Apparently he’s the only one that noticed.. :/

I fixed the feeds and we are all up and running now. At any rate, if you *do* actually use the service, whether ti is down or not, feel free to drop me a note and let me know how it’s doing now and again at linc dot fessenden at gmail dot com! :)

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • email
  • FSDaily
  • Identi.ca
  • LinkedIn
  • Twitter
  • Ping.fm
  • StumbleUpon
preload preload preload