Showing posts with label Linux Mint 12. Show all posts
Showing posts with label Linux Mint 12. Show all posts

Saturday, May 19, 2012

Starting out in Cinnamon (w/Linux Mint 12)

[ Note added 2012-05-31: I no longer use Cinnamon. Here's why: http://martesmartes.blogspot.com/2012/05/why-im-not-using-cinnamon.html ]

I've been using Linux Mint 12 for awhile, and 11 briefly before that, ever since I got fed up with Gnome's decision that the user interface is unimportant.

Thursday a grad student asked me if I'd tried Cinnamon, which apparently he has liked on a few different platforms. This left me with a choice: work on the finals I would be delivering, or mess with Cinnamon. I chose Cinnamon, though I now must admit that my IS 247 exam suffered from insufficient proofreading.

I like Cinnamon, and recommended it to a friend, who didn't see much difference between it and what he had been running (probably Gnome Classic or Mate) on a Mint system.  I responded with a summary of my experiences with Cinnamon to date:

First, switching to Cinnamon on my recommendation should be worth some placebo effect. If not:

The panels are configurable, and it's okay to have just one.

TFM: the wrench & screwdriver  in the main menu leads to a different place from System Tools|System Settings wrench & screwdriver. If you select Menu|Wrench & Screwdriver, one of the options is Hot Corner. Make it visible, place it in a corner not otherwise critically used (it's translucent) and play with it.

I was using Gnome Classic with no effects, because with effects keyboard shortcuts didn't work. With Mate my volume controls (alt-up, alt-down) didn't work. This does everything Mate does without breaking keyboard shortcuts (big deal) and also allowing effects (not a big deal).

I really like Hot Corner.

Cinnamon has more themes than Gnome Classic, but still not one I really like. A little googling, though, led me to a page on creating themes, and it does look simple, except I'll be editing CSS and am unclear regarding what some of the tags are. I'll either find docs or experiment.

What I really want are larger fonts in the panel and top bars on windows that change colors noticeably between selected and not selected.

There is one clear-cut bug that I've seen: Under Cinnamon, Gnome Terminal 3.0.1 doesn't consistently switch its cursor to solid block (from outline) when the window has focus. A minor aggravation.

I have an old (ca. 12/2005) Dell laptop running Ubuntu 10.4 LTS. Ubuntu's LTS is rather short, and has expired, so I think I'll blow that away in favor of the Mint13 RC, Cinnamon, and Mate. If Mate is less buggy in the Mint 13 environment than Mint 12 (they use the word mature to describe it, but I have yet to see evidence of that) it might be a good choice. Anyhow, the new Mint 13, Cinnamon, and Mate on modest hardware seems worth learning about.

Thursday, May 10, 2012

NTP in Linux Mint 12

It appears my Mint system is using NTP, but the reason I'm even thinking of this is that my system clock seems to be drifting.

The Mint User's Guide (still Mint 11 at the main site) has no mention of NTP, nor of "Network Time," the vague label used in the Date and Time settings. Dumbing down the interface by labeling what I suspect is NTP as "Network Time" is not helpful, especially if it's not documented. Someone who understands networking is left wondering if this is NTP. Someone who doesn't understand networking will have no clue what the "Network Time" switch is for:


Now I have to dig into the configuration files if it turns out I care enough.

Thursday, December 29, 2011

Zeitgeist, Linux Spyware, the Last Word (for now)

To disable zeitgeist since it's hard to remove without damaging other system components, follow these steps (I've done these things but will take a few days to convince myself the monitoring has stopped and nothing else broke):

First kill any zeitgeist process that's running (ps -ef | grep zeitg should display any instances).

Then, from SilverWav:

# Delete previous logging.
rm ~/.local/share/zeitgeist/activity.sqlite

# Render Zeitgeist illiterate - cannot read or write
chmod -rw ~/.local/share/zeitgeist/activity.sqlite*

SilverWav also recommends running zeitgeist-daemon --replace, but I do not, since I just killed the damned thing. Note that SilverWav is talking about neutering zeitgeist on Ubuntu 11.10, so this hasn't infected Mint alone. One thing I did differently than SilverWav was to just delete the contents of activity.sqlite rather than deleting the file itself. 

The second order of business is to take zeitgeist out of the startup list. The startup seems messed up in Lint 12, since the startup list is pretty much empty (this is probably so neophytes won't disable things they need). Look at "Startup Applications" on the "Other" menu, which is a weird place to put it IMHO. To make the automatically started applications visible on the startup list, follow this suggestion from the Mint 12 Tips & Tricks Guide at linuxmint.com:

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

It might be worth having a look in that directory periodically for new applications or updates that surreptitiously add themselves to startup. Now the startup list should be fully-populated and you can get an idea of exactly how bloated Linux Mint 12 is. On my startup list, the last application was Zeitgeist Datahub. Uncheck the box next to it.

Package rhythmbox-plugins

It turns out that after removing rhythmbox-plugins, I lost keyboard control of play/pause. This is an inconvenience, so I looked into it a bit more. It appears the package contains:


- Cover art
 - Audio CD Player
 - Last.fm
 - Context Panel
 - DAAP Music Sharing
 - FM Radio
 - Portable Players
 - IM Status
 - Portable Players - iPod
 - Internet Radio
 - Jamendo
 - Song Lyrics
 - Magnatune Store
 - Media Player Keys
 - Portable Players - MTP
 - Power Manager
 - Python Console
 - LIRC
 - Status Icon
 - Visualization
 - Browser plugin to integrate Rhythmbox with itunes

In other words, it contains nothing important except "Media Player Keys". I attempted to re-install, and got this:

29:/home/bup> sudo apt-get install rhythmbox-plugins
[sudo] password for jdm: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gir1.2-rb-3.0 libdmapsharing-3.0-2 python-mako python-markupsafe
  zeitgeist-core
Suggested packages:
  python-beaker python-mako-doc zeitgeist-datahub
The following NEW packages will be installed:
  gir1.2-rb-3.0 libdmapsharing-3.0-2 python-mako python-markupsafe
  rhythmbox-plugins zeitgeist-core
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 264 kB/725 kB of archives.
After this operation, 4051 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

Why do I need zeitgeist to use the keyboard to control my audio player?

Zeitgeist: Spyware Delivered with Linux Mint12?

This afternoon I noticed something called zeitgeist in my top display, and was curious about what it is. I fired up the software manager, did a search for zeitgeist, and found this:

Zeitgeist is a service which logs the user's activities and events
(files opened, websites visited, conversations held with other people,
etc.) and makes the relevant information available to other
applications.


It serves as a comprehensive activity log and also makes it possible to
determine relationships between items based on usage patterns.


This metapackage depends on the Zeitgeist engine and a set of packages
(such as data providers) commonly used together with it.


http://zeitgeist-project.com/

In other words, spyware, or at least a framework to make life
comfortable for spyware. I visited the web site, and nothing there
seemed to suggest the contrary. So,

apt-get remove zeitgeist libzeitgeist-1.0.1 zeitgeist-extension-fts zeitgeist-core zeitgeist-datahub

Apt also wanted to remove rhythmbox-plugins and a couple other bogus
things. I decided to go ahead and try life without rhythmbox-plugins,
assuming I can reinstall later if need be. It's a little creepy to think
someone, or even just something in my system, was tracking the music I
play and the podcasts I download.

Friday, December 9, 2011

Google Chrome on Linux Mint 12

<Addition of December 23>
The below assumes the reader has just downloaded the .deb from Google. This is the file referred to below.
<End December 23 addition>


With my fresh Linux Mint 12 install, I was unable to simply click on the file, type my password, and see it install (yes, I can be lazy). The workaround is well-explained here: http://www.noobslab.com/2011/07/install-google-chrome-on-ubuntu-or.html

For 32b Mint, the drill was:

sudo dpkg -i google-chrome-stable_current_i386.deb
sudo apt-get -f install


For 64b Mint, replace 'i386' above with 'amd64'. Of course, either way, use the actual name of the file you downloaded.

Adiós Ubuntu, Hola Linux Mint 12

Today I got rid of my penultimate Ubuntu installation--Ubuntu completely abandoned usability and customization in favor of perceived glitz. I do, however, still have an old Dell laptop (bought at the end of 2005) running Ubuntu 10.4. Support for that drops in April, so some time around then I will likely do a fresh Mint install (and maybe insert a larger hard drive). For now I'm leaving well enough alone. I've thought about replacing this machine, but don't really need to, and so now I'm going to nurse as many years out of it as my primary portable as I can.

I have a Samsung netbook with 1MB RAM; it was running XP, but now it's Mint 12/Mate dual boot with XP. I plan to use it to play around with OpenBox. Also, it's getting a little old, was never expensive to begin with, and has  no files to speak of, so I feel comfortable travelling internationally with it and occasionally leaving it momentarily unattended in a classroom.

My main desktop at home is running Mint 11. This was because the machine would not automatically hibernate with Ubuntu 11.04, so I "upgraded" to Ubuntu 11.10, had a terrible experience--Ubuntu offers a number of user interfaces with 11.10, all of them bad. So, in time I performed what turned out to be an actual an upgrade, to Mint 11. This was amazingly trouble-free and very easy to configure--Mint made a great first impression on me. I'll probably upgrade this to Mint 12 sometime after finals.

My desktop at work would not wake up from hibernate with Ubuntu 11.04 (sense a familiar theme?), so I "upgraded" that to Ubuntu 11.10, hated Unity, hated Gnome 3, and lived with XFCE for a few weeks. XFCE is really clunky and, with Ubuntu 11.10, even with XFCE and as much junk as possible disabled and uninstalled, was very, very slow. This may have been an Ubuntu issue, or an XFCE issue. No matter; as of this afternoon the machine is running Mint 12 with Mate, and seems to be performing fine. The university gave me this machine in '06, and it has just 2GB RAM and is dual core, which seemed sweet then, but pedestrian now. Still, it should be plenty for software development and document typesetting. Anyhow, with Mate and Mint 12, things seem okay.

I'm in the process of removing a bunch of garbage as both Mint and Ubuntu seem to have this philosophy that bloat is good. I'll detail that later. Of course I have to install a lot of stuff as well, which I have started with tcsh, emacs, LaTeX, and GHC being first. Then Google Chrome, which wasn't as easy as I'd hoped. Details soon.