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/
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/
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.confecho “All done. Enjoy!”
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
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
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)
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!
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!
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.
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!
Recent Comments