<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2297115191682412721</id><updated>2024-10-05T06:09:15.510+02:00</updated><category term="Ubuntu"/><category term="linux"/><category term="windows"/><category term="administration"/><category term="firefox"/><category term="video"/><category term="desktop"/><category term="internet"/><category term="mail"/><category term="update"/><category term="boot"/><category term="codec"/><category term="conversion"/><category term="office"/><category term="operating system"/><category term="disc"/><category term="viewer"/><category term="thunderbird"/><category term="configuration"/><category term="development"/><category term="management"/><category term="multimedia"/><category term="recover"/><category term="security"/><category term="source control"/><category term="communication"/><category term="decoder"/><category term="installer"/><category term="network"/><category term="tweak"/><category term="virtualization"/><category term="Cinnamon"/><category term="Mint"/><category term="audio"/><category term="database"/><category term="documents"/><category term="download"/><category term="dvd"/><category term="editor"/><category term="encoder"/><category term="fonts"/><category term="gui"/><category term="organization"/><category term="photo"/><category term="picture"/><category term="printing"/><category term="server"/><category term="subversion"/><category term="web"/><category term="analyzer"/><category term="archive"/><category term="benchmark"/><category term="chat"/><category term="disk"/><category term="firewall"/><category term="mount"/><category term="project"/><category term="radio"/><category term="review"/><category term="spell"/><category term="text"/><category term="tool"/><category term="wallpaper"/><category term="3D"/><category term="burn"/><category term="crack"/><category term="debug"/><category term="emulation"/><category term="files"/><category term="ftp"/><category term="graphics"/><category term="hardware"/><category term="manual"/><category term="music"/><category term="p2p"/><category term="reading"/><category term="remote"/><category term="rip"/><category term="scripting"/><category term="sound"/><category term="transfer"/><category term="voip"/><category term="webcam"/><category term="wireless"/><category term="workaround"/><title type='text'>Applocator</title><subtitle type='html'>There are so many applications available ....&#xa;but which one is the best for ....&#xa;is there a free version ....&#xa;does it work on several operating systems ....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>128</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-7337704961046748812</id><published>2017-01-14T10:17:00.000+01:00</published><updated>2017-01-14T10:17:34.231+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cinnamon"/><category scheme="http://www.blogger.com/atom/ns#" term="desktop"/><title type='text'>Random screensaver with Linux Mint Cinnamon</title><content type='html'>If you like screensavers, probably you already installed the &lt;b&gt;xscreensaver&lt;/b&gt; package, but in Cinnamon you don&#39;t have the option to select a random one.

But we can let the crontab periodic jobs change the systems entry where the currently selected screensaver is set.

&lt;h2&gt;Install instructions&lt;/h2&gt;
In a terminal launch the command &lt;pre&gt;crontab -e&lt;/pre&gt; to edit your crontab definitions and add the following at the end of the file:
&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;
# Randomize screensaver
0 * * * * DISPLAY=:0 gsettings set org.cinnamon.desktop.screensaver xscreensaver-hack \&#39;$(ls /usr/lib/xscreensaver | sort -R | head -n 1)\&#39; 2&gt;&amp;1 | logger -t screensaver
&lt;/pre&gt;

This will change every hour the screensaver to one located in the xscreensaver package.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/7337704961046748812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2017/01/random-screensaver-with-linux-mint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7337704961046748812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7337704961046748812'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2017/01/random-screensaver-with-linux-mint.html' title='Random screensaver with Linux Mint Cinnamon'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-6334937152493830229</id><published>2014-07-25T08:44:00.002+02:00</published><updated>2014-07-25T08:48:19.259+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cinnamon"/><title type='text'>Use Nemo with All-in-one-Places Cinnamon applet</title><content type='html'>It&#39;s really a pity, that the &lt;a href=&quot;http://cinnamon-spices.linuxmint.com/applets/view/62&quot; target=_new&gt;All-in-one-places applet&lt;/a&gt; hasn&#39;t got an update for including 
support for Nemo, as this is IMHO the best one of its kind.&lt;br /&gt;
But there&#39;s a workaround.&lt;br /&gt;
Its enough to add Nemo to the available 
filemanagers in settings.py&lt;br /&gt;
I provide you here a patchfile that you can apply, so you don&#39;t have to 
edit the file by yourself.&lt;br /&gt;
Just execute the following steps in a command line terminal.

&lt;h2&gt;Install instructions&lt;/h2&gt;
First you&#39;ll have to create the patchfile with this: &lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;cat &amp;lt;&amp;lt;EOF  &amp;gt;/tmp/All-in-one-Place.patch
--- a/.local/share/cinnamon/applets/all-in-one-places@jofer/settings.py
+++ b/.local/share/cinnamon/applets/all-in-one-places@jofer/settings.py
@@ -28,7 +28,7 @@ PANEL_WIDGETS = [
     {&#39;type&#39;: &#39;switch&#39;, &#39;args&#39;: { &#39;key&#39;: &#39;full-color-panel-icon&#39;, &#39;label&#39;: _(&quot;Show the panel icon in full color&quot;) }},
     {&#39;type&#39;: &#39;switch&#39;, &#39;args&#39;: { &#39;key&#39;: &#39;show-panel-text&#39;, &#39;label&#39;: _(&quot;Show text in panel&quot;) }},
     {&#39;type&#39;: &#39;entry&#39;, &#39;args&#39;: { &#39;key&#39;: &#39;panel-text&#39;, &#39;label&#39;: _(&quot;Panel text&quot;) }},
-    {&#39;type&#39;: &#39;combo&#39;, &#39;args&#39;: { &#39;key&#39;: &#39;file-manager&#39;, &#39;label&#39;: _(&quot;File manager&quot;), &#39;values&#39;: {&#39;nautilus&#39;: &#39;Nautilus&#39;, &#39;thunar&#39;: &#39;Thunar&#39;, &#39;pcmanfm&#39;: &#39;PCManFM&#39;} }},
+    {&#39;type&#39;: &#39;combo&#39;, &#39;args&#39;: { &#39;key&#39;: &#39;file-manager&#39;, &#39;label&#39;: _(&quot;File manager&quot;), &#39;values&#39;: {&#39;nautilus&#39;: &#39;Nautilus&#39;, &#39;thunar&#39;: &#39;Thunar&#39;, &#39;pcmanfm&#39;: &#39;PCManFM&#39;, &#39;nemo&#39;: &#39;Nemo&#39;} }},
     {&#39;type&#39;: &#39;entry&#39;, &#39;args&#39;: { &#39;key&#39;: &#39;connect-command&#39;, &#39;label&#39;: _(&quot;Application for the  \&quot;Connect to...\&quot; item&quot;) }},
     {&#39;type&#39;: &#39;entry&#39;, &#39;args&#39;: { &#39;key&#39;: &#39;search-command&#39;, &#39;label&#39;: _(&quot;Application for the \&quot;Search\&quot; item&quot;) }}
 ]
EOF&lt;/pre&gt;

Apply the patch with this:
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;cd ~ ; patch -p1 &amp;lt; /tmp/All-in-one-Place.patch&lt;/pre&gt;

No log out of the cinnamon session is necessary.&lt;br /&gt;
Just open now the settings of All-in-one-place and select Nemo from the filemanager combo.
</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/6334937152493830229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2014/07/use-nemo-with-all-in-one-places.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/6334937152493830229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/6334937152493830229'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2014/07/use-nemo-with-all-in-one-places.html' title='Use Nemo with All-in-one-Places Cinnamon applet'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-7963679469133342669</id><published>2013-10-23T21:30:00.000+02:00</published><updated>2013-10-23T21:30:00.332+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><title type='text'>Adorn a dumb terminal</title><content type='html'>&amp;nbsp;Sometimes, you need to sit in front of a servers terminal, one without any window manager.&lt;br /&gt;
So you lack the cut&amp;amp;paste function of your mouse.&lt;br /&gt;
And to make things worse, it&#39;s keyboard isn&#39;t your native one, so you start trying out certain characters like &lt;b&gt;.&lt;/b&gt; &lt;b&gt;/&lt;/b&gt; and so on.&lt;br /&gt;
&lt;br /&gt;
An administration nightmare!&lt;br /&gt;
&lt;br /&gt;
So here come some instructions to get rid of these burdens so you can focus on the real problems.&lt;br /&gt;
&lt;h2&gt;
Set your favourite keyboard&lt;/h2&gt;
Just load another keyboard translation table that fits your fingers needs:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;loadkeys [keymap]

&lt;span style=&quot;color: #666666;&quot;&gt;# Examples:&lt;/span&gt;
# loadkeys de   &lt;span style=&quot;color: #666666;&quot;&gt;# german keymap&lt;/span&gt;
# loadkeys es   &lt;span style=&quot;color: #666666;&quot;&gt;# spanish keymap&lt;/span&gt;&lt;/pre&gt;
Available keymaps can be found mostly in &lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;/lib/kbd/keymaps&lt;/span&gt;&lt;/span&gt;. &lt;br /&gt;
&lt;h2&gt;
Cut&amp;amp;paste mouse functionality&lt;/h2&gt;
If your server has internet connection than go and install the &lt;a href=&quot;http://linux.die.net/man/8/gpm&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;gpm&lt;/a&gt; package, a cut and paste utility and mouse server for virtual consoles, which permits to use your mouse on the terminal, even if it&#39;s very basic it permits selection and pasting with middle button.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;# Install the gpm package&lt;/span&gt;
yum install | apt-get install | etc.   gpm

&lt;span style=&quot;color: #666666;&quot;&gt;# Launch the daemon&lt;/span&gt;
gpm -m /dev/input/mice -t exps2&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/7963679469133342669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2013/10/adorn-dumb-terminal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7963679469133342669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7963679469133342669'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2013/10/adorn-dumb-terminal.html' title='Adorn a dumb terminal'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-1622221586551204713</id><published>2013-10-13T11:40:00.001+02:00</published><updated>2013-10-13T12:44:11.945+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="development"/><category scheme="http://www.blogger.com/atom/ns#" term="scripting"/><title type='text'>Speed-up bash scripts that use grep often</title><content type='html'>The last day I ran into a very awkward situation, but lets start from the beginning:&lt;/br&gt;

I wrote a bash script that had to perform several regular expression &lt;b&gt;grep&lt;/b&gt;&#39;s in several text files.&lt;/br&gt;

So far so good, but the script always needed several minutes since the first version.
I never wondered about this long execution time, the script runs on a remote server and also uses some &lt;b&gt;mysql&lt;/b&gt; searches on another server.&lt;/br&gt;

Until some days ago, I wanted to debug a minor error with &lt;code&gt;bash -xv&lt;/code&gt; to see all instructions when being executed.&lt;/br&gt;

To read the huge output more easily, I logged into the remote server from emacs editor and launched the script and had all the output in my emacs window in a few seconds.
Wait, it only needed a few seconds?!&lt;/br&gt;

What happened, I rechecked the execution, with exactly the same parameters to the script from my emacs shell and from a ssh terminal.&lt;/br&gt;

The same, within emacs it only took some seconds, within the &lt;b&gt;ssh&lt;/b&gt; terminal y took minutes.&lt;/br&gt;
&lt;/br&gt;
So what&#39;s going on here?&lt;/br&gt;

Investigating the processes in the remote server with &lt;b&gt;htop&lt;/b&gt; showed that the &lt;b&gt;grep&lt;/b&gt; commands consumed almost 100% of the CPU for some time.&lt;/br&gt;

But when launched from &lt;b&gt;emacs&lt;/b&gt; they did not.&lt;/br&gt;

What might be different?&lt;/br&gt;

Well, what about the environment?&lt;/br&gt;

Emacs might use it&#39;s own set of environment, different from a terminal.&lt;/br&gt;

Looking at the export definitions of both, I could see that the locale was different, emacs was using the C, whereas the terminal was using the English en_UK.UTF8.&lt;/br&gt;

Issuing a export &lt;code&gt;LC_ALL=C&lt;/code&gt; in the terminal and then launching the script ... only a few seconds.&lt;/br&gt;

So it seems, &lt;b&gt;grep&lt;/b&gt; is sensible to the locale of the shell.&lt;/br&gt;

Investigating in the web confirmed this, people talk about a speed enhancement of up to 10 times when using the C locale with grep, as it doesn&#39;t have to convert anything, it just compares a plain ASCII set of character, which in most cases is enough.&lt;/br&gt;

Also, grep is slightly faster when comparing fixed strings if you use the -F flag or call it with fgrep (due to lazyness I always used grep in such cases).&lt;/br&gt;

&lt;h2&gt;Instructions for speeding up grep&lt;/h2&gt;
At the beginning of my scripts, I now put these instructions, which will force to use the C locale for all three flavours of grep:
&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;shopt -s expand_aliases
for g in &quot;&quot; e f; do
    alias ${g}grep=&quot;LC_ALL=C ${g}grep&quot;  # speed-up grep commands by not considering locale.
done&lt;/pre&gt;
It does not work to just put &lt;code&gt;export LC_ALL=C&lt;/code&gt; at the beginning.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/1622221586551204713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2013/10/speed-up-bash-scripts-that-use-grep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/1622221586551204713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/1622221586551204713'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2013/10/speed-up-bash-scripts-that-use-grep.html' title='Speed-up bash scripts that use grep often'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-2075239993753060199</id><published>2012-12-31T15:36:00.000+01:00</published><updated>2013-01-10T13:30:09.843+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Mint"/><category scheme="http://www.blogger.com/atom/ns#" term="text"/><category scheme="http://www.blogger.com/atom/ns#" term="tweak"/><title type='text'>More fortunes for Mint</title><content type='html'>If you like to see some funny quotes when opening a new shell terminal, you can enable the fortune-mint script that will be launched automatically.&lt;br /&gt;
By default, this script only shows non-offensive quotes and only three different types of animals: the moose, the tux and the koala.&lt;br /&gt;
But the cowsay package provides a whole bunch of pictures that can be used.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #330000; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;Cow files in /usr/share/cowsay/cows:
apt beavis.zen bong bud-frogs bunny calvin cheese cock cower daemon default
dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep
ghostbusters gnu head-in hellokitty kiss kitty koala kosh luke-koala
mech-and-cow meow milk moofasa moose mutilated pony pony-smaller ren sheep
skeleton snowman sodomized-sheep stegosaurus stimpy suse three-eyes turkey
turtle tux unipony unipony-smaller vader vader-koala www&lt;/pre&gt;
&lt;br /&gt;
The following patch will enable all these that you have installed in your system, as well as all different eye and tongue styles.
If you don&#39;t like offensive quotes, you&#39;ll have to take off the -a parameter from the fortune command in the last line of the patch below.
&lt;br /&gt;
&lt;h2&gt;
Install instructions&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt7ECkw6MbcWHzJAoj6x2ATljHdCmNzWQ1Dvk_Zok-Z_ajpHGFPwxI279Tbm6jZl2iB8fQTmyw-i4z7LxKqP4efQhey47oCXHxmHP1tUUS-mYC8HNcUmZjhyMPIHLnIbdTHUVodiROpO2J/s1600/Mint-Fortune.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt7ECkw6MbcWHzJAoj6x2ATljHdCmNzWQ1Dvk_Zok-Z_ajpHGFPwxI279Tbm6jZl2iB8fQTmyw-i4z7LxKqP4efQhey47oCXHxmHP1tUUS-mYC8HNcUmZjhyMPIHLnIbdTHUVodiROpO2J/s200/Mint-Fortune.png&quot; title=&quot; &quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Paste the following into a textfile, for example &lt;i&gt;mint-fortune.patch &lt;/i&gt;&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;4c4
&lt;     RANGE=3
---
&gt;     declare -a cows=( $(cowsay -l | grep -v &quot;Cow files in&quot;) )
6,17c6,7
&lt;     let &quot;number %= $RANGE&quot;
&lt;     case $number in
&lt;         0)
&lt;             cow=&quot;moose&quot;
&lt;             ;;
&lt;         1)
&lt;             cow=&quot;tux&quot;
&lt;             ;;
&lt;         2)
&lt;             cow=&quot;koala&quot;
&lt;             ;; 
&lt;     esac
---
&gt;     let &quot;number %= ${#cows[*]}&quot;
&gt;     cow=${cows[$number]}
19c9
&lt;     RANGE=2
---
&gt;     declare -a says=( say think )
21,30c11,19
&lt;     let &quot;number %= $RANGE&quot;
&lt;     case $number in
&lt;         0)
&lt;             command=&quot;/usr/games/cowsay&quot;
&lt;             ;;
&lt;         1)
&lt;             command=&quot;/usr/games/cowthink&quot;
&lt;             ;;
&lt;     esac
&lt;     /usr/games/fortune | $command -f $cow
---
&gt;     let &quot;number %= ${#says[*]}&quot;
&gt;     command=&quot;/usr/games/cow${says[$number]}&quot;
&gt; 
&gt;     declare -a states=( &quot;&quot; -b -d -g -p -s -t -w -y )
&gt;     number=$RANDOM
&gt;     let &quot;number %= ${#states[*]}&quot;
&gt;     state=${states[$number]}
&gt; 
&gt;     /usr/games/fortune -a | $command $state -f $cow
&lt;/pre&gt;
&lt;br /&gt;
Then apply this patch to the original script (a backup will be created) and enable the fortune-teller:
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #333300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo patch -b /usr/bin/mint-fortune mint-fortune.patch
gconftool-2 --set /desktop/linuxmint/terminal/show_fortunes true --type bool&lt;/pre&gt;
&lt;h3&gt;
Provide your own cows&lt;/h3&gt;
You can create your own cow files, just have a look at the manual of the &lt;i&gt;&lt;b&gt;cowsay&lt;/b&gt;&lt;/i&gt; command.
Or just copy &lt;a href=&quot;https://sites.google.com/site/applocator/home/downloads&quot;&gt;the ones I prepared from here&lt;/a&gt; into any folder you want.&lt;br /&gt;
You could just copy them into the system folder &lt;i&gt;/usr/share/cowsay/cows&lt;/i&gt;, but if you want to keep them separated, you can instruct &lt;b&gt;&lt;i&gt;cowsay&lt;/i&gt;&lt;/b&gt; to look for you ones too (for example in your folder &lt;i&gt;~/Documents/cows&lt;/i&gt;:
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #000033; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;mycows=~/Documents/cows ; sudo sed -i.orig &#39;s|/usr/bin/mint-fortune|export COWPATH=/usr/share/cowsay/cows:&#39;$mycows&#39;\n\0|&#39; /etc/bash.bashrc&lt;/pre&gt;
&lt;h4&gt;
Example of a Star Wars scene as cow
&lt;/h4&gt;
&lt;pre style=&quot;border: 1px inset; color: #000033; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt; _____________
&lt; Hello world &gt;
 -------------
          \
           \                .==.
            \              ()oo()-.
             \  .---.       ;--; /
              .&#39;_:___&quot;. _..&#39;.  __&#39;.
              |__ --==|&#39;-&#39;&#39;&#39; \&#39;...;
              [  ]  :[|       |---\
              |__| I=[|     .&#39;    &#39;.
              / / ____|     :       &#39;._
             |-/.____.&#39;      | :       :
            /___\ /___\      &#39;-&#39;._----&#39; 
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/2075239993753060199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/12/more-fortunes-for-mint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/2075239993753060199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/2075239993753060199'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/12/more-fortunes-for-mint.html' title='More fortunes for Mint'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt7ECkw6MbcWHzJAoj6x2ATljHdCmNzWQ1Dvk_Zok-Z_ajpHGFPwxI279Tbm6jZl2iB8fQTmyw-i4z7LxKqP4efQhey47oCXHxmHP1tUUS-mYC8HNcUmZjhyMPIHLnIbdTHUVodiROpO2J/s72-c/Mint-Fortune.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-3289076820836336785</id><published>2012-11-07T20:00:00.000+01:00</published><updated>2014-04-29T13:50:22.210+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="server"/><title type='text'>SSH key handling</title><content type='html'>If you have to work with servers, especially with Linux ones, sooner or later you&#39;ll have a confrontation with SSH.&lt;br /&gt;
&lt;br /&gt;
I&#39;ll give here some tips and tricks I used so far.&lt;br /&gt;
&lt;h2&gt;
Force user and port for certain servers&lt;/h2&gt;
When you try to login into a server, by default ssh uses your username and port 22 by default.&lt;br /&gt;
But maybe you need to use always another user name or another port.&lt;br /&gt;
You could specify this always as parameters for ssh:&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;ssh -p 22022 [notme@]server-ip&lt;/pre&gt;
&lt;br /&gt;
But it is much easier to configure your ssh client to these by default.&lt;br /&gt;
Therefore, you just add the following to your &lt;i&gt;~/.ssh/config&lt;/i&gt; file:&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #000033; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;host server-ip another-server-name
Port 22022
User notme

host *
User root&lt;/pre&gt;
You can put here as many hosts with different parameters as you want, &#39;*&#39; is also supported for creating regular expressions.&lt;br /&gt;
&lt;h3&gt;
Change order of authentication methods&lt;/h3&gt;
There&#39;s a another very useful parameter that you might want to add to your server configurations:&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #000033; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;host *
User root
PreferredAuthentications publickey,password&lt;/pre&gt;
&lt;br /&gt;
This would only allow to use keys or passwords and prevents to use other methods which might not work in your setup and slow down connection attempts.&lt;br /&gt;
Put this whenever you notice that it take several seconds to log into a server.&lt;br /&gt;
&lt;h2&gt;
Copy your own key to server&lt;/h2&gt;
This used to be the first step I do, whenever I access a certain server several times.&lt;br /&gt;
So I don&#39;t have to give the password each time I access the server.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;# Copy my machines public key to the server (will prompt for password):
ssh-copy-id [user@]server-ip

# Unfortunately, ssh-copy-id only works with SSH port 22, so if you have to specify another
# one, you might use this instruction:
ssh-add -L | ssh -p22022 [user@]server-ip &quot;umask 077; test -d ~/.ssh || mkdir ~/.ssh ; cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys&quot;

# Verify the granted access (now without password prompt):
ssh [user@]server-ip
# or when copying
scp afile.txt server-ip:test/ &lt;/pre&gt;
&lt;h3&gt;
Fix non-working ssh public keys&lt;/h3&gt;
Sometimes, the sshd server doesn&#39;t accept a previous copied ssh-key (&lt;span class=&quot;FCKCode&quot; style=&quot;background-color: cornsilk;&quot;&gt;ssh-copy-id&lt;/span&gt;).
In that case, make sure you have the following configuration in &lt;i&gt;/etc/ssh/sshd_config&lt;/i&gt;
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: darkslateblue; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys

# If it still doesn&#39;t work apply the correct permissions to folders and files:
# chmod go-w ~
# chmod 700 ~/.ssh
# chmod 600 ~/.ssh/authorized_keys

# If it still doesn&#39;t work, then disable the permissions checking:
StrictModes no&lt;/pre&gt;
Restart the ssh daemon again after applying this new configuration.&lt;br /&gt;
&lt;h4&gt;
Debugging and sorting out further problems&lt;/h4&gt;
The permissions of files and folders is crucial. You can get 
debugging information from both the client and server. if you think you 
have set it up correctly, yet still get asked for the password, try 
starting the server with debugging output to the terminal. &lt;span class=&quot;FCKCode&quot; style=&quot;background-color: cornsilk;&quot;&gt;/usr/sbin/sshd -d&lt;/span&gt;&lt;br /&gt;
To connect and send information to the client terminal &lt;span class=&quot;FCKCode&quot; style=&quot;background-color: cornsilk;&quot;&gt;ssh -v ( or -vv) username@host&#39;s&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;
Remove authorized keys&lt;/h2&gt;
If you have hundreds of keys in your machines &lt;i&gt;~/.ssh/authorized_keys&lt;/i&gt; and you&#39;re to lasy to edit that by hand, these one-line shell commands maybe handy.&lt;br /&gt;
Just use &lt;i&gt;sed&lt;/i&gt; to rip out anything which doesn’t match the regex pattern (for example machine names, part of the hash, whatever:&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;# rip out anything which doesn’t match the regex pattern
sed ‘/your host name/ ! D’ -i.old ~/.ssh/authorized_keys

# or something more complicated
sed ‘/\(host1\|host2\)/ ! D’ -i.old ~/.ssh/authorized_keys

# with many patterns it is easier with this command
cp ~/.ssh/authorized_keys{,.old} &amp;amp;&amp;amp; for p in pat1 pat2 pat2 ; do sed &#39;/$pat1/ ! D&#39; ~/.ssh/authorized_keys ; done&lt;/pre&gt;
&lt;br /&gt;
Just the ones specified will be maintained, a backup file will be created.&lt;br /&gt;
If you want to do the opposite, remove some specific keys and let the rest untouched:&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sed ‘/\(host1\|host2\)/ D’ -i.old ~/.ssh/authorized_keys&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/3289076820836336785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/11/ssh-key-handling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/3289076820836336785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/3289076820836336785'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/11/ssh-key-handling.html' title='SSH key handling'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-313074447033577824</id><published>2012-10-31T19:30:00.000+01:00</published><updated>2012-10-31T19:30:03.411+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="music"/><title type='text'>Music Player Clementine</title><content type='html'>A few days ago, I discovered another music player which I&#39;m using now daily: &lt;a href=&quot;http://www.clementine-player.org/&quot; target=&quot;_new&quot;&gt;Clementine&lt;/a&gt;.
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqj9Y_c99Z6bydXSBsHFLNTurTUEgR0hFmn7XltW-yxUx5Sog1jfKiNN6Fj9okMQ5gwzKrx00rJIYp2ezTaYQqr2huRNZAWAAAu8BATpcRVe-27c-HlRRV8RcmQgDkodrnELDDh6dkn5_G/s1600/Clementine-Screenshot.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqj9Y_c99Z6bydXSBsHFLNTurTUEgR0hFmn7XltW-yxUx5Sog1jfKiNN6Fj9okMQ5gwzKrx00rJIYp2ezTaYQqr2huRNZAWAAAu8BATpcRVe-27c-HlRRV8RcmQgDkodrnELDDh6dkn5_G/s320/Clementine-Screenshot.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Features I like:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;It&#39;s quick and stable.&lt;/li&gt;
&lt;li&gt;Mood graphics of songs.&lt;/li&gt;
&lt;li&gt;Dynamic random playlists.&lt;/li&gt;
&lt;li&gt;Discover song information, covers and lyrics from variety of sites.&lt;/li&gt;
&lt;li&gt;Cover manager to retrieve from even more sources.&lt;/li&gt;
&lt;li&gt;Extensive artist information gathered from various sources. &lt;/li&gt;
&lt;li&gt;Tons of visualization algorithms, random changes.&lt;/li&gt;
&lt;li&gt;It integrates well with Cinnamons sound gadget.&lt;/li&gt;
&lt;/ul&gt;
Unfortunalty, the handling of external devices isn&#39;t perfect yet.&lt;br /&gt;
At least, I was not able to add songs from my external harddisks to the random playlist, I had to create a new playlist for that purpose. &lt;br /&gt;
&lt;h2&gt;
Install instructions&lt;/h2&gt;
Use Y-PPA-Manager and search for clementine package to obtain list of repositories or use the following shell commands:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo apt-add-repository ppa:me-davidsansome/clementine
sudo apt-get update
sudo apt-get install clementine

# You need to install the developer version for version 1.1, which features mood bars)
sudo apt-add-repository ppa:me-davidsansome/clementine-dev&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/313074447033577824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/10/music-player-clementine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/313074447033577824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/313074447033577824'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/10/music-player-clementine.html' title='Music Player Clementine'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqj9Y_c99Z6bydXSBsHFLNTurTUEgR0hFmn7XltW-yxUx5Sog1jfKiNN6Fj9okMQ5gwzKrx00rJIYp2ezTaYQqr2huRNZAWAAAu8BATpcRVe-27c-HlRRV8RcmQgDkodrnELDDh6dkn5_G/s72-c/Clementine-Screenshot.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-2794378135102086724</id><published>2012-07-03T10:04:00.000+02:00</published><updated>2012-07-03T10:04:25.120+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="desktop"/><category scheme="http://www.blogger.com/atom/ns#" term="Mint"/><category scheme="http://www.blogger.com/atom/ns#" term="office"/><title type='text'>Change LibreOffice progress bar color</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCrjwok7lJtv92o0VslOM-6P71NiqoAp37TIR3Tmk0CbO8TyaoPoNo9LSENIatEQhASgAKFY-5Gddq5BCN7L4NfF1OXkSmLV9nB-VCL8lcw01oEgE87oJHQd-8F4BGjtNGHrJTAF_D-ZWy/s1600/LO-PB.png&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;167&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCrjwok7lJtv92o0VslOM-6P71NiqoAp37TIR3Tmk0CbO8TyaoPoNo9LSENIatEQhASgAKFY-5Gddq5BCN7L4NfF1OXkSmLV9nB-VCL8lcw01oEgE87oJHQd-8F4BGjtNGHrJTAF_D-ZWy/s320/LO-PB.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

Newest LibreOffice splash screen shows a orange-redish colour bar instead of a green one like it was some versions ago.
I guess they changed it to integrate better with Unity default colours.
But I&#39;m using Linux Mint, so I liked the green one more.
The other day, I just stumbled about the &lt;i&gt;/etc/libreoffice/sofficerc&lt;/i&gt; configuration file, which defines some variables for the startup and there it is, the &lt;b&gt;ProgressBarColor&lt;/b&gt; parameter.

&lt;h2&gt;Install instructions&lt;/h2&gt;
The following instructions change the color from the shell command line, but you could also just edit the file with your favourite text editor (with root permissions).
&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;# Put the color value into a variable
pbcolor=160,195,124

sudo sed -r -i.bak &quot;s/(ProgressBarColor=)[0-9]{1,3},[0-9]{1,3},[0-9]{1,3}/\1${pbcolor}/&quot; /etc/libreoffice/sofficerc

# Check that everything went fine (otherwise you can restore the backup file).
cat /etc/libreoffice/sofficerc&lt;/pre&gt;
You can find the right colors for example with the Gimp image editor.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/2794378135102086724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/07/change-libreoffice-progress-bar-color.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/2794378135102086724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/2794378135102086724'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/07/change-libreoffice-progress-bar-color.html' title='Change LibreOffice progress bar color'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCrjwok7lJtv92o0VslOM-6P71NiqoAp37TIR3Tmk0CbO8TyaoPoNo9LSENIatEQhASgAKFY-5Gddq5BCN7L4NfF1OXkSmLV9nB-VCL8lcw01oEgE87oJHQd-8F4BGjtNGHrJTAF_D-ZWy/s72-c/LO-PB.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-6663488316395666859</id><published>2012-03-07T19:48:00.000+01:00</published><updated>2012-03-07T19:48:00.751+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Mint"/><category scheme="http://www.blogger.com/atom/ns#" term="workaround"/><title type='text'>Mint Update Manager does not show Changelogs</title><content type='html'>If you are using Linux Mint, you might have noticed that the latest versions ship with an &lt;i&gt;Update Manager&lt;/i&gt; that is able only to show you Changelogs of the packages from the Mint repositories and often they are cut off.&lt;br /&gt;
&lt;br /&gt;
After searching through bug reports and forums finally I prepared a change of the underlying Python code which resolves the issue.&lt;br /&gt;
&lt;br /&gt;
I hope they will integrate similar changes in the next version.&lt;br /&gt;
&lt;br /&gt;
For more details you can have a look at these bug reports, where I got ideas and copied parts:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.launchpad.net/linuxmint/+bug/845099&quot; target=&quot;_blank&quot;&gt;mintupdate mangles changelogs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.launchpad.net/linuxmint/+bug/934210&quot; target=&quot;_blank&quot;&gt;mintUpdate needs to use apt-get changelog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;


Install instructions&lt;/h2&gt;
You can download the needed &lt;a href=&quot;https://sites.google.com/site/applocator/home/downloads/mintUpdate.py.diff&quot; target=&quot;_blank&quot;&gt;difference file from here&lt;/a&gt;, or just copy and paste the following into a file named mintUpdate.py.diff:
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left; max-height: 10em;&quot;&gt;87c87,91
&amp;lt;                 changelog = source
---
&amp;gt;                 changes = source.split(&quot;\n&quot;)
&amp;gt;                 for change in changes:
&amp;gt;                     change = change.strip()
&amp;gt;                     if change.startswith(&quot;*&quot;):
&amp;gt;                         changelog = changelog + change + &quot;\n&quot;
93c97,101
&amp;lt;                     changelog = source
---
&amp;gt;                     changes = source.split(&quot;\n&quot;)
&amp;gt;                     for change in changes:
&amp;gt;                         change = change.strip()
&amp;gt;                         if change.startswith(&quot;*&quot;):
&amp;gt;                             changelog = changelog + change + &quot;\n&quot;
98,102c106,111
&amp;lt;                 source = commands.getstatusoutput(&quot;apt-get changelog &quot; + self.source_package) 
&amp;lt;                 if source[0] != 0 or source[1].startswith(&quot;Err Changelog of&quot;):
&amp;lt;                     changelog = _(&quot;No changelog available&quot;) + &quot;\n&quot; + _(&quot;Click on Edit-&amp;gt;Software Sources and tick the &#39;Source code&#39; option to enable access to the changelogs&quot;)
&amp;lt;                 else:
&amp;lt;                     changelog = source[1]
---
&amp;gt;                 source = commands.getoutput(&quot;aptitude changelog &quot; + self.source_package)                    
&amp;gt;                 changes = source.split(&quot;urgency=&quot;)[1].split(&quot;\n&quot;)
&amp;gt;                 for change in changes:
&amp;gt;                     change = change.strip()
&amp;gt;                     if change.startswith(&quot;*&quot;):
&amp;gt;                         changelog = changelog + change + &quot;\n&quot;&lt;/pre&gt;
Then you can apply the patch with this command, it will leave a copy of the original script:
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #330000; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo patch -lb /usr/lib/linuxmint/mintUpdate/mintUpdate.py mintUpdate.py.diff&lt;/pre&gt;
It has been created and checked with version 4.3.8.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/6663488316395666859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/03/mint-update-manager-does-not-show.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/6663488316395666859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/6663488316395666859'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/03/mint-update-manager-does-not-show.html' title='Mint Update Manager does not show Changelogs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-1586327179101047299</id><published>2012-03-03T22:37:00.000+01:00</published><updated>2012-03-26T13:13:26.897+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="office"/><title type='text'>Install LibreOffice 3.5</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.libreoffice.org/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;45&quot; src=&quot;http://www.libreoffice.org/themes/libo/images/logo.png&quot; width=&quot;218&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The current version of LibreOffice which ships with Ubuntu Oneiric is 3.4.4.&lt;br /&gt;
Lately, I was getting very angry about this version, because it gave me constant trouble:

&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;it looses somehow control about its lock-files, therefore I wasn&#39;t able to save my open files any longer, neither with the old nor with a new name&lt;/li&gt;
&lt;li&gt;graphics in calc files suddenly jumped to another sheet when opening the files&lt;/li&gt;
&lt;/ul&gt;
I loved LibreOffice so far, but this behaviour really &lt;i&gt;pi.... me of&lt;/i&gt;.&lt;br /&gt;
So the other day, I read about the &lt;a href=&quot;http://www.libreoffice.org/download/3-5-new-features-and-fixes/&quot; target=&quot;_blank&quot;&gt;new release 3.5, its new features&lt;/a&gt; and so I decided to update it by hand.&lt;br /&gt;
&lt;br /&gt;
Below, you can find the update script that I programmed for that task.&lt;br /&gt;
&lt;br /&gt;
After using it for some time, here I list the most interesting stuff about the new version.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;No problem with the lock-files any longer.&lt;/li&gt;
&lt;li&gt;Graphics stay in their sheets.&lt;/li&gt;
&lt;li&gt;Conditional formatting now lets you define more then three conditions, this was really necessary, I use that feature a lot. I&#39;m just missing an easy way for reordering. &lt;/li&gt;
&lt;li&gt;Bigger text box for writing formulas.&lt;/li&gt;
&lt;li&gt;The import of Microsoft Visio files.&lt;/li&gt;
&lt;li&gt;The print preview of all pages.&lt;/li&gt;
&lt;li&gt;and lots more&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;

Install instructions&lt;/h2&gt;
Just save the following lines as &lt;b&gt;InstallLibreOffice.sh&lt;/b&gt; and execute it with the &lt;b&gt;-h&lt;/b&gt; parameter to see the usage text.
You can also &lt;a href=&quot;https://sites.google.com/site/applocator/home/downloads/InstallLibreOffice.sh&quot;&gt;download it from here&lt;/a&gt; directly.
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; max-height: 15em; overflow: auto; padding: 6px; text-align: left;&quot;&gt;#! /bin/bash

#
## LibreOffice installation from Debian Packages from website
## @author Sven Rieke
# 

language=en-US
version=&quot;3.5.0&quot;

function Usage() {
    cat &amp;lt;&amp;lt;EOF
Usage: ${0##*/} [-h] [-v] [-l lang-id] [p lang-id] [-d version-id] [-u]

  Options:
    -h             Show this help.
    -v             Be verbose about processing steps.
    -l lang-id     Set language for main installer and documentation (default = ${language})
    -p lang-id     Set language for interface translation (not installed by default)
    -d version-id  Specify another package version (default = ${version})
    -u             Start with a clean user-profile
 
EOF
}

function AndOut() {
    popd
    exit
}

trap AndOut ERR

########################################################################
# Interpretation and validation of command line parameters and options #
########################################################################

while getopts :hvl:d:u OPT; do
    case $OPT in
 h|+h) Usage ; exit 0     ;;
 v|+v) VERBOSE=true       ;;
 l|+l) language=&quot;$OPTARG&quot; ;;
 p|+p) langpack=&quot;$OPTARG&quot; ;;
 d|+d) version=&quot;$OPTARG&quot;  ;;
 u|+u) NEWUSER=true       ;;
 *)    Usage
       exit 2
    esac
done

sudo -v

mkdir -p /tmp/LibO.3.5
pushd /tmp/LibO.3.5

#### Download from http://www.libreoffice.org/download/?type=deb-x86
[[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;---[ Installing LibreOffice ${version}-${language} ]&quot; &amp;gt;&amp;amp;2
[[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Downloading packages ***&quot; &amp;gt;&amp;amp;2

for i in install helppack ; do
    package=&quot;LibO_3.5.0_Linux_x86_${i}-deb_${language}.tar.gz&quot;

    if [ ! -f $package ]; then
 [[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Downloading new package $package ***&quot; &amp;gt;&amp;amp;2
 wget http://download.documentfoundation.org/libreoffice/stable/${version}/deb/x86/$package
    fi
done

if [ -v langpack ]; then
    package=&quot;LibO_3.5.0_Linux_x86_langpack-deb_${language}.tar.gz&quot;
    if [ ! -f $package ]; then
 [[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Downloading new package $package ***&quot; &amp;gt;&amp;amp;2
 wget http://download.documentfoundation.org/libreoffice/stable/${version}/deb/x86/$package
    fi
fi

[[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Decompressing downloaded archives ***&quot; &amp;gt;&amp;amp;2
for t in LibO_3.5.0_*.tar.gz ; do tar xzf $t ; done

[[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Removing old LibreOffice installation ***&quot; &amp;gt;&amp;amp;2
sudo apt-get remove libreoffice-core

for d in $(find -maxdepth 1 -mindepth 1 -type d) ; do
    [[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Install packages from $d ***&quot; &amp;gt;&amp;amp;2    
    pushd $d/DEBS
    sudo dpkg -i *.deb

    if [ -d desktop-integration ]; then
 [[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Install desktop integration ***&quot; &amp;gt;&amp;amp;2
        cd desktop-integration
        sudo dpkg -i *.deb
        cd ..
    fi
    
    popd
done

if [ -v NEWUSER ]; then
    [[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Remove old user profile ***&quot; &amp;gt;&amp;amp;2
    mv ~/.config/libreoffice/3/user ~/.config/libreoffice/3/user_old
    [[ -v VERBOSE ]] &amp;amp;&amp;amp; echo &quot;*** Old one can be found in ~/.config/libreoffice/3/user_old ***&quot; &amp;gt;&amp;amp;2
fi

AndOut&lt;/pre&gt;
&lt;h3&gt;
From repository&lt;/h3&gt;
There also exists a repository which gets updated from time to time with the latest versions.
&lt;pre style=&quot;border: 1px inset; color: #003333; font-family: verdana; font-size: smaller; margin: 0px; max-height: 15em; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get upgrade&lt;/pre&gt;
&lt;h2&gt;
Troubleshooting&lt;/h2&gt;
In two installations I had trouble with my old user profile. LibreOffice claimed about templates already installed.
Therefore, I added the &lt;b&gt;-u&lt;/b&gt; switch to my install script which moves the whole user profile to a backup location, so LibreOffice will start with a new profile.
Just copy your old templates to the new profile and reapply all your settings again.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/1586327179101047299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/03/install-libreoffice-35.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/1586327179101047299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/1586327179101047299'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/03/install-libreoffice-35.html' title='Install LibreOffice 3.5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-4104734327721547021</id><published>2012-01-24T23:27:00.000+01:00</published><updated>2012-01-24T23:27:17.251+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="boot"/><category scheme="http://www.blogger.com/atom/ns#" term="configuration"/><title type='text'>Customize boot and startup</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: right; margin-left: 1em; text-align: right;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2bIuy3fvEyP5BGuYcmpOM1WFu5qaSbBRU2Kf12KmhiD02OmvYi5yHXzCsrWxK8ToIUnPMQf_G2yC0y2ePTsoA0gesGShy6WXbwuk1Ch43jqBqNIIx2SpgYbntPIQ3VONcmbW7Sklg_-q1/s1600/Screenshot+Grub+Customizer.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2bIuy3fvEyP5BGuYcmpOM1WFu5qaSbBRU2Kf12KmhiD02OmvYi5yHXzCsrWxK8ToIUnPMQf_G2yC0y2ePTsoA0gesGShy6WXbwuk1Ch43jqBqNIIx2SpgYbntPIQ3VONcmbW7Sklg_-q1/s320/Screenshot+Grub+Customizer.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Change screen resolution, colors and background image.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Some time ago, &lt;a href=&quot;http://applocator.blogspot.com/2009/06/tweak-your-ubuntu-startup-graphical-way.html&quot; target=&quot;_blank&quot;&gt;I recommended&lt;/a&gt; and used &lt;a href=&quot;https://launchpad.net/startup-manager&quot; target=&quot;_blank&quot;&gt;StartUp-Manager&lt;/a&gt; for tweaking the Grub boot loader and system loader, but this project isn&#39;t updated any longer.

I found some very valid replacements which work even better.&lt;br /&gt;
&lt;h1&gt;

Grub Customizer &lt;/h1&gt;
&lt;br /&gt;
With &lt;a href=&quot;https://launchpad.net/grub-customizer&quot; target=&quot;_blank&quot;&gt;Grub Customizer&lt;/a&gt; you can tweak the new GRUB 2 boot screens, select the default boot entry, change the menu visibility and timeout, set kernel parameters, disable recovery entries.

&lt;br /&gt;
&lt;h2&gt;




Install instructions&lt;/h2&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer&lt;/pre&gt;
&lt;h1&gt;
Plymouth Manager&lt;/h1&gt;
With &lt;a href=&quot;http://plymouthmanager.wordpress.com/&quot; target=&quot;_blank&quot;&gt;Plymouth Manager&lt;/a&gt; you can change the startup animation, for example, put one which fits with your brand new Linux Mint.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo apt-add-repository ppa:mefrio-g/plymouthmanager
sudo apt-get update
sudo apt-get install plymouth-manager&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/4104734327721547021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/01/customize-boot-and-startup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4104734327721547021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4104734327721547021'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/01/customize-boot-and-startup.html' title='Customize boot and startup'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2bIuy3fvEyP5BGuYcmpOM1WFu5qaSbBRU2Kf12KmhiD02OmvYi5yHXzCsrWxK8ToIUnPMQf_G2yC0y2ePTsoA0gesGShy6WXbwuk1Ch43jqBqNIIx2SpgYbntPIQ3VONcmbW7Sklg_-q1/s72-c/Screenshot+Grub+Customizer.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-840832588306828099</id><published>2012-01-24T22:54:00.001+01:00</published><updated>2013-01-29T18:05:33.690+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cinnamon"/><category scheme="http://www.blogger.com/atom/ns#" term="desktop"/><title type='text'>Cinnamon Desktop</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://cinnamon.linuxmint.com/wp-content/uploads/2012/01/Screenshot-at-2012-01-23-165220-150x150.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://cinnamon.linuxmint.com/wp-content/uploads/2012/01/Screenshot-at-2012-01-23-165220-150x150.png&quot; title=&quot; &quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;http://cinnamon.linuxmint.com/&quot; target=&quot;_blank&quot;&gt;Cinnamon&lt;/a&gt; is a fork of the GNOME Shell, created by developers of the &lt;a href=&quot;http://www.linuxmint.com/&quot; target=&quot;_blank&quot;&gt;Linux Mint&lt;/a&gt; project.&lt;br /&gt;
It recovers the visual aspects of the old GNOME 2 desktops, but is more up-to-day, includes it&#39;s own visual effects and contains some details of GNOME 3.&lt;br /&gt;
&lt;h2&gt;


Install instructions&lt;/h2&gt;
If you are using Linux Mint, you can install Cinnamon directly from their repositories, but if you want to use the latest build and/or you want to install it in another system, use the following PPA repository.
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo add-apt-repository ppa:merlwiz79/cinnamon-ppa
sudo apt-get update
sudo apt-get install cinnamon

# Install the weather extension
sudo apt-get install cinnamon-extension-weather

# Install some additional themes
sudo apt-get install git-core
cd /tmp &amp;amp;&amp;amp; git clone https://github.com/linuxmint/cinnamon-themes.git
cd cinnamon-themes
./test&lt;/pre&gt;
&lt;h2&gt;
Troubleshooting&lt;/h2&gt;
Not every software is perfect, and sometimes it could happen that your desktop manager gets frozen, for example a window gets paint and stays in the same place even if it&#39;s already closed.&lt;br /&gt;There&#39;re several options to recover full control again:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Use the &lt;i&gt;Troubleshoot&lt;/i&gt; menu from the applet &lt;b&gt;Better Cinnamon Settings&lt;/b&gt; which offers an entry &lt;b&gt;&lt;i&gt;Restart Cinnamon&lt;/i&gt;&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Use Alt-F2 key combination to open Cinnamons internal command terminal and type &#39;&lt;b&gt;r&lt;/b&gt;&#39; followed by &lt;i&gt;return&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;If you can&#39;t access the above two options (rare cases) you might want to restart Cinnamon from a terminal.&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;At this point, you might not even be able to open a terminal from the desktop, so you&#39;ll have to enter a system one with &lt;b&gt;Ctrl-Alt-F1&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Make sure you know the display used by Cinnamon (normally it&#39;s 0, but you can verify it with &#39;&lt;b&gt;w&lt;/b&gt;&#39; command and the data in the &lt;b&gt;FROM&lt;/b&gt; column:&lt;br /&gt;&lt;pre style=&quot;border: 1px inset; color: #ec0303; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;me~ $ w
 17:43:09 up 20:41,  6 users,  load average: 0.24, 0.23, 0.18
USER   TTY      FROM             LOGIN@   IDLE   JCPU  PCPU   WHAT
me     pts/0    :0.0             15:37    2:04m  0.24s 23.88s gnome-terminal&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Export this value into the &lt;b&gt;DISPLAY&lt;/b&gt; variable.&lt;br /&gt;&lt;pre style=&quot;border: 1px inset; color: #03ec03; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;export DISPLAY=:0.0&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Finally, restart Cinnamon:&lt;br /&gt;&lt;pre style=&quot;border: 1px inset; color: #0303ec; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;cinnamon --replace&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;When you switch back to the desktop with &lt;b&gt;Ctrl-Alt-F7&lt;/b&gt; you should see an operative desktop after a while.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The last option, if everything else fails, might be that it&#39;s not Cinnamon, but the underlying X system which is wrong, and you can reset this with &lt;b&gt;Ctrl-Alt-Backspace&lt;/b&gt;.&lt;br /&gt;But this way, you&#39;ll have to login again into your session, which means, all open programs got closed.&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/840832588306828099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/01/cinnamon-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/840832588306828099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/840832588306828099'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/01/cinnamon-desktop.html' title='Cinnamon Desktop'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-7216118140297875153</id><published>2012-01-17T20:00:00.000+01:00</published><updated>2012-01-17T20:00:04.578+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="printing"/><title type='text'>Managing printers from CUPS web interface</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: right; margin-left: 1em; text-align: right;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8wHHvOYkaUXX5iFnUphwt8aXkiKA_UaJ7F4dufHSt5IOMEdjdzJsewnwdbnothDls8vf923YwySkhUw7alY1ErNIueO9OaHZEAnOtaz9wUUOSkpSQSUCd0kmhqQhd1iQponRLXHPjKinR/s1600/Screenshot+at+2012-01-17+15%253A36%253A27.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;148&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8wHHvOYkaUXX5iFnUphwt8aXkiKA_UaJ7F4dufHSt5IOMEdjdzJsewnwdbnothDls8vf923YwySkhUw7alY1ErNIueO9OaHZEAnOtaz9wUUOSkpSQSUCd0kmhqQhd1iQponRLXHPjKinR/s200/Screenshot+at+2012-01-17+15%253A36%253A27.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Installed printers are listed here.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Recently, I had problems with my printer settings, I wanted to change the duplex setting and wanted to install a new network printer, but without success.&lt;br /&gt;
The problem I have is that in &lt;a href=&quot;http://www.linuxmint.com/&quot; target=&quot;_blank&quot;&gt;Linux Mint&lt;/a&gt; the Printers configuration applet fails, crashes and doesn&#39;t offer all options.&lt;br /&gt;
&lt;br /&gt;
But finally I found a way. &lt;a href=&quot;http://www.linuxmint.com/&quot; target=&quot;_blank&quot;&gt;Linux Mint&lt;/a&gt;, like other distributions use the &lt;a href=&quot;http://www.cups.org/&quot; target=&quot;_blank&quot;&gt;CUPS&lt;/a&gt; as printing system and it offers a web based administration interface.&lt;br /&gt;
&lt;br /&gt;
Just point your web browser to &lt;a href=&quot;http://localhost:631/&quot;&gt;http://localhost:631/&lt;/a&gt;. There you can add and manipulate all kind of printers and manage the print queues as well.&lt;br /&gt;
&lt;br /&gt;
This is a nice workaround, until these options will be supported in the printer settings applet.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/7216118140297875153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2012/01/managing-printers-from-cups-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7216118140297875153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7216118140297875153'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2012/01/managing-printers-from-cups-web.html' title='Managing printers from CUPS web interface'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8wHHvOYkaUXX5iFnUphwt8aXkiKA_UaJ7F4dufHSt5IOMEdjdzJsewnwdbnothDls8vf923YwySkhUw7alY1ErNIueO9OaHZEAnOtaz9wUUOSkpSQSUCd0kmhqQhd1iQponRLXHPjKinR/s72-c/Screenshot+at+2012-01-17+15%253A36%253A27.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-8239115725063256981</id><published>2011-12-10T09:55:00.001+01:00</published><updated>2011-12-10T15:49:58.653+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3D"/><category scheme="http://www.blogger.com/atom/ns#" term="editor"/><category scheme="http://www.blogger.com/atom/ns#" term="graphics"/><title type='text'>Sweet Home 3D : Prevent crashes and change icon</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.sweethome3d.com/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;169&quot; src=&quot;http://www.sweethome3d.com/images/SweetHome3DOnlineLinuxSmall.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.sweethome3d.com/&quot; target=&quot;_blank&quot;&gt;Sweet Home 3D&lt;/a&gt; is the best interior design application that I have found so far for Linux. It is easy to place your furniture on a house 2D plan, and render the whole scene in 3D.&lt;br /&gt;
The website gives you the possibility to run the application online without installation, as being written in Java.&lt;br /&gt;
Unfortunately there are two points that bothered me for a while and that I fixed finally:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;The application crashes every time you choose the preferences or the 3D rendering from the menu.&lt;/li&gt;
&lt;li&gt; The application icon has a very low resolution and looks awful when rendered by the application launchers.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;







Install instructions &lt;/h2&gt;
Sweet Home 3D can be installed from the GetDeb application repository, execute the following in the shell:
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo -v
# Enable GetDeb Application repository:
sudo echo &quot;deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps #GetDeb repository extends the official repositories&quot; &amp;gt; /etc/apt/sources.list.d/GetDeb-Apps-oneiric.list
# Add the repository GPG key
wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
# Update package information
sudo apt-get update

# Install Sweet Home 3D package
sudo apt-get install sweethome3d
&lt;/pre&gt;
&lt;h3&gt;



Prevent crashes&lt;/h3&gt;
Sweet Home 3D checks whether computing off-screen 3D images is supported by Java 3D on your computer, but the detection test itself makes Sweet Home 3D crash!&lt;br /&gt;
&lt;br /&gt;
A special flag can be passed to the Java command line inside the launcher script.&lt;br /&gt;
The following shell commands change the original script, and leave a backup. &lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #000033; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo -v
sed -i.bak &#39;s/java /java -Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false /&#39; /usr/bin/sweethome3d&lt;/pre&gt;
&lt;br /&gt;
&lt;h3&gt;




Change icon to higher resolution&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://sweethome3d.cvs.sourceforge.net/viewvc/*checkout*/sweethome3d/SweetHome3D/src/com/eteks/sweethome3d/viewcontroller/resources/help/images/sweethome3d.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://sweethome3d.cvs.sourceforge.net/viewvc/*checkout*/sweethome3d/SweetHome3D/src/com/eteks/sweethome3d/viewcontroller/resources/help/images/sweethome3d.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Higher resolution icons can be found inside the source code, the following shell commands replaces the low resolution one with a higher one:
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #330000; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo -v
cd /tmp
wget -q http://sweethome3d.cvs.sourceforge.net/viewvc/*checkout*/sweethome3d/SweetHome3D/src/com/eteks/sweethome3d/viewcontroller/resources/help/images/sweethome3d.png
sudo cp /tmp/sweethome3d.png /usr/share/pixmaps/sweethome3d.png&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/8239115725063256981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/12/sweet-home-3d-prevent-crashes-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/8239115725063256981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/8239115725063256981'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/12/sweet-home-3d-prevent-crashes-and.html' title='Sweet Home 3D : Prevent crashes and change icon'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-1651958387995010294</id><published>2011-12-02T17:00:00.000+01:00</published><updated>2011-12-07T22:16:26.713+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="desktop"/><title type='text'>Application launcher Kupfer</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
For some time I used &lt;a href=&quot;http://do.davebsd.com/&quot; target=_blank&gt;Gnome-Do&lt;/a&gt; as application launcher, for its beautiful design and huge amount of plugins which enhance its features.

But there were to things which bothered me lately:&lt;br /&gt;
&lt;ul&gt;&lt;a href=&quot;http://kaizer.se/wiki/kupfer&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;108&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihBKJ3CXqhCzbsggHcL_PDWIpTwVQLyEFr2Y9Xp00_tG1dyBL3P9aWwe01JuSFzDGgczQGJtYXDU78N2uNpy6qPzVFAjFfarYaoXMd99R1cAmJnPcic0JOtGvUnpTS8BWeBsbACLPRCSlf/s200/Selection_002.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;
&lt;li&gt;Gnome-Do&#39;s Skype plug-in stopped worked time ago&lt;/li&gt;
&lt;li&gt;Some applications that I removed already, still showed up in the search results&lt;/li&gt;
&lt;li&gt;Icons weren&#39;t refreshed.&lt;/li&gt;
&lt;/ul&gt;
All recommended tips that I found in forums (&lt;i&gt;remove certain folders from Gnome-Do&lt;/i&gt;) didn&#39;t help.&lt;br /&gt;
But in one of these threads they commented about another application: &lt;a href=&quot;http://kaizer.se/wiki/kupfer&quot; target=&quot;_blank&quot;&gt;Kupfer&lt;/a&gt;.&lt;br /&gt;
Tried that one, and it works like a charm, connection to Skype works, almost has all plugins that I used from Gnome-Do and seems to integrate with Gnome, KDE and other systems.

&lt;br /&gt;
&lt;h2&gt;

Install instructions&lt;/h2&gt;
Kupfer can be installed right away from the universal repository:
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo apt-get install kupfer &lt;/pre&gt;
In it&#39;s preferences you could choose the same key-combination you used with Gnome-Do, and set it&#39;s auto-start flag.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/1651958387995010294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/12/application-launcher-kupfer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/1651958387995010294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/1651958387995010294'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/12/application-launcher-kupfer.html' title='Application launcher Kupfer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihBKJ3CXqhCzbsggHcL_PDWIpTwVQLyEFr2Y9Xp00_tG1dyBL3P9aWwe01JuSFzDGgczQGJtYXDU78N2uNpy6qPzVFAjFfarYaoXMd99R1cAmJnPcic0JOtGvUnpTS8BWeBsbACLPRCSlf/s72-c/Selection_002.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-8418424932587317134</id><published>2011-11-29T19:30:00.000+01:00</published><updated>2011-11-29T19:30:01.610+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="desktop"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="wallpaper"/><title type='text'>Changing wallpapers with Wally</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.becrux.com/pages/projects/wally/wally_logo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.becrux.com/pages/projects/wally/wally_logo.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Years ago, I posted about tools for changing your desktop wallpaper automatically.&lt;br /&gt;
The best tool I found so far is &lt;a href=&quot;http://www.becrux.com/index.php?page=projects&amp;amp;name=wally&quot;&gt;Wally&lt;/a&gt;, which is able not only to rotate through your local wallpaper picture collection, but also obtain them from several online storages like Picasa, Flickr, remote folders, etc.&lt;br /&gt;
It permits to define tags to include certain sets of pictures that you like.&lt;br /&gt;
&lt;h2&gt;



Install instructions&lt;/h2&gt;
Wally can be found in the universe repository of your Ubuntu system.
&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;sudo apt-get install wally&lt;/pre&gt;
&lt;h3&gt;


KUbuntu&lt;/h3&gt;
Wally is available as desktop plugin, so you&#39;ll have to enable it in your desktop folder settings.
&lt;br /&gt;
&lt;h3&gt;


Ubuntu Oneiric&lt;/h3&gt;
Ubuntu recently changed the management of the desktop wallpaper, which breaks Wally 2.3.2 (the one which can be found in the repository), it isn&#39;t able to replace the wallpaper.
To repair this, you&#39;ll have to install the .deb package 2.4.3 from the &lt;a href=&quot;http://www.becrux.com/index.php?page=projects&amp;amp;name=wally&quot;&gt;developers website&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/8418424932587317134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/11/changing-wallpapers-with-wally.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/8418424932587317134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/8418424932587317134'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/11/changing-wallpapers-with-wally.html' title='Changing wallpapers with Wally'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-3886094380123388771</id><published>2011-10-18T15:40:00.000+02:00</published><updated>2012-03-07T18:54:32.650+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="update"/><title type='text'>Update to Ubuntu 11.10 Oneiric Ocelot</title><content type='html'>These days, Ubuntu&#39;s new release hit the repositories, so I upgraded my three systems as soon as possible to see if some annoying Unity bugs have been solved finally.

Here is the resume and the reasons why I&#39;ll evaluate to switch to KDE finally:

&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Upgrade&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
During the upgrades I had two issues:

&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
Emacs got somehow broken on one system y prevented the upgrade process to finish completely. It even said, the process had been aborted, but the only thing missing was the last &lt;b&gt;Cleanup&lt;/b&gt; step.&lt;br /&gt;I removed emacs packages and reinstalled them, then everything went fine.&lt;/li&gt;
&lt;li&gt;Screenblanker got stuck on one of my machines during upgrade, so I could hit on any button to enter the last &lt;b&gt;Cleanup&lt;/b&gt; step.&lt;br /&gt;I connected via Remote Desktop to that machine and could finish the process correctly.&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Updating custom repositories&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
As usual, the upgrade process disables all your custom repositories to prevent problems. You&#39;ll have to adapt and enabled them by hand, or you might use these instructions to do this with a few commands.

&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;# Become super-user
sudo -i

# Set some variables (these can be changed to adapt to other Ubuntu versions)
export old=natty
export new=oneiric

# Enter repository list folder
cd /etc/apt/sources.list.d/

# Change old distribution list files and store them as newer ones
for sl in *-${old}.list ; do echo &quot;Creating ${sl/${old}/${new}}&quot; ; sed &#39;s/\(.*\) &#39;${old}&#39;\(.*\)/\1 &#39;${new}&#39;\2/&#39; $sl &amp;gt; ${sl/${old}/${new}} ; done

# Enable and remove the &quot;disabled ...&quot; comment
for sl in *-${new}.list ; do echo &quot;Enabling ${sl}...&quot; ; sed -i.bak &#39;s/^# \(.*\) disabled on upgrade to &#39;${new}&#39;$/\1/&#39; $sl ; done

# Check they are all fine
for sl in *-${new}.list ; do echo &quot;Content of ${sl/${old}/${new}}:&quot; ; cat $sl ; done

# Cleanup backup files and old distribution list files (not needed any longer)
rm *-${old}* *${new}.list.bak
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/3886094380123388771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/10/update-to-ubuntu-1110-oneiric-ocelot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/3886094380123388771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/3886094380123388771'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/10/update-to-ubuntu-1110-oneiric-ocelot.html' title='Update to Ubuntu 11.10 Oneiric Ocelot'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-7320644036176979571</id><published>2011-08-26T16:35:00.001+02:00</published><updated>2011-12-07T11:20:43.228+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="organization"/><category scheme="http://www.blogger.com/atom/ns#" term="project"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Time tracking with Hamster indicator</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://farm3.static.flickr.com/2715/4332774392_93e9a59f7b.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://farm3.static.flickr.com/2715/4332774392_93e9a59f7b.jpg&quot; target=&quot;_new&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
At work, I find it very handy to track the time I&#39;m spending on some tasks. Especially, if you have to report to someone the time you spend on certain projects or whatever.&lt;br /&gt;
&lt;a href=&quot;http://projecthamster.wordpress.com/&quot; target=&quot;_new&quot;&gt;Hamster&lt;/a&gt; is such a time tracker that I found to be very useful, easy to use, and enables you to obtain statistics about your daily/weekly/yearly work.&lt;br /&gt;
&lt;br /&gt;
It gives you the possibility to introduce information from the shell, but there&#39;s also a graphical indicator available, which fits perfectly with Ubuntu Gnome and Unity.&lt;br /&gt;
&lt;h2&gt;
Install instructions&lt;/h2&gt;
If you need more details about the following installation and configuration commands, you can &lt;a href=&quot;http://www.webupd8.org/2011/07/install-hamster-indicator-time-tracking.html&quot; target=&quot;_new&quot;&gt;consult this article&lt;/a&gt;.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;# Add repository
sudo add-apt-repository ppa:albertomilone/hamster-indicator

# Add description to repository for easier identification
sudo sed -i.save &#39;s/$/ #Hamster-Indicator Time-Tracker/&#39; /etc/apt/sources.list.d/albertomilone-hamster-indicator-natty.list

# Install Hamster Indicator
sudo apt-get update
sudo apt-get install hamster-indicator&lt;/pre&gt;
&lt;h3&gt;
Configuration&lt;/h3&gt;
The hamster indicator permits to change how and which information to show on the Unity panel.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;# Show all possible configuration values and values
gconftool-2 -R &quot;/apps/hamster-indicator&quot;

# Toggle Icon Glow
gconftool-2 --toggle &quot;/apps/hamster-indicator/icon_glow&quot;

# Toggle Show Label
gconftool-2 --toggle &quot;/apps/hamster-indicator/show_label&quot;

# Set enough space for label
gconftool-2 --set &quot;/apps/hamster-indicator/label_length&quot; --type int &quot;20&quot;&lt;/pre&gt;

&lt;h3&gt;Database location&lt;/h3&gt;
It might be interesting to now, where Hamster stores it&#39;s data, for example for backups, or if you want to copy/share the data to another Ubuntu installation.
&lt;pre style=&quot;border: 1px inset; color: #000033; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;~/.local/share/hamster-applet/hamster.db&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/7320644036176979571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/08/time-tracking-with-hamster-indicator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7320644036176979571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/7320644036176979571'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/08/time-tracking-with-hamster-indicator.html' title='Time tracking with Hamster indicator'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm3.static.flickr.com/2715/4332774392_93e9a59f7b_t.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-4400890597465297942</id><published>2011-07-21T21:39:00.000+02:00</published><updated>2011-07-21T21:39:00.870+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Obtain some basic hardware details of your Ubuntu system</title><content type='html'>Unix systems are capable of recognizing lots of details of your hardware, so instead of having to open your PC for obtaining information like serial numbers, just use some shell commands.&lt;br /&gt;
Here is a list of such useful commands.&lt;br /&gt;
&lt;h2&gt;General system&lt;/h2&gt;&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;grep -r . /sys/class/dmi/id/ 2&gt;/dev/null
lsusb
lspcmcia
lspci -vvnn
udevadm info --export-db
lshal
sudo lshw&lt;/pre&gt;&lt;h2&gt;BIOS&lt;/h2&gt;&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;sudo vpddecode    # Serials from BIOS, Motherboard
sudo biosdecode   # More details about BIOS
sudo dmidecode -q # Show information about valid BIOS components
sudo dmidecode    # Show also unknown/invalid BIOS components&lt;/pre&gt;&lt;h2&gt;CPU&lt;/h2&gt;&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;lscpu
cat /proc/cpuinfo&lt;/pre&gt;&lt;h2&gt;Audio&lt;/h2&gt;&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;cat /proc/asound/card*/codec#*&lt;/pre&gt;&lt;h2&gt;Drivers&lt;/h2&gt;&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;lsmod&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/4400890597465297942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/07/obtain-some-basic-hardware-details-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4400890597465297942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4400890597465297942'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/07/obtain-some-basic-hardware-details-of.html' title='Obtain some basic hardware details of your Ubuntu system'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-226161561014881664</id><published>2011-07-20T16:02:00.001+02:00</published><updated>2011-07-20T16:02:01.407+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="photo"/><category scheme="http://www.blogger.com/atom/ns#" term="viewer"/><title type='text'>Upgrade to Picasa 3.8 on Ubuntu</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxgkwakcG87QznLfba4f-I-aoX0MGjEZiK4vxTcquJ7bmv1HSQPJ4zFbb5ipg6T9rkrdqfK2uwHnYL_wXBz4qg7-aCMmj_LhNme_iHfcx21v0ZCkEyG4OGUD9IqgMDkrFkKT6DCeFGMX9K/s1600/Picasa38.png&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot; target=_new&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; width=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxgkwakcG87QznLfba4f-I-aoX0MGjEZiK4vxTcquJ7bmv1HSQPJ4zFbb5ipg6T9rkrdqfK2uwHnYL_wXBz4qg7-aCMmj_LhNme_iHfcx21v0ZCkEyG4OGUD9IqgMDkrFkKT6DCeFGMX9K/s320/Picasa38.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
If you&#39;re still stick to old 3.0 version of &lt;a href=&quot;http://picasa.google.com&quot; target=_new&gt;Picasa&lt;/a&gt; on your Ubuntu system (because you prefer it over Ubuntu&#39;s own programs, as I do), &lt;a href=&quot;http://www.webupd8.org/2010/04/how-to-install-picasa-36-in-ubuntu.html&quot; target=_new&gt;here are some instructions&lt;/a&gt; about how to upgrade Picasa to newer versions which have for example Face Recognition.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Install instructions&lt;/h2&gt;These instructions have been tested on Ubuntu Natty, and for Picasa 3.8, in case there&#39;s a newer version released you&#39;ll have to change it&#39;s location (search below for &lt;b&gt;HERE&lt;/b&gt;).&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;## Add Google&#39;s testing repository for Picasa
sudo echo &quot;deb http://dl.google.com/linux/deb/ testing non-free #Google Picasa&quot; &gt; /etc/apt/sources.list.d/google-unstable.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7FAC5991
sudo apt-get update
## Install Picasa 3.0
sudo apt-get install picasa

## Download Picasa 3.8 installer
# If there&#39;s a newer version you might to have to change it&#39;s name and location HERE
cd /tmp &amp;&amp; wget http://dl.google.com/picasa/picasa38-setup.exe

## Install it (will not override your current Linux Picasa 3.0)
# Use default settings
wine /tmp/picasa38-setup.exe

## Copy over Picasa 3.8 files to your Linux Picasa 3.0 installation with backup
sudo cp -r /opt/google/picasa/3.0/wine/drive_c/Program\ Files/Google/Picasa3{,_3.0}
sudo cp -r ~/.wine/drive_c/Program\ Files/Google/Picasa3/* /opt/google/picasa/3.0/wine/drive_c/Program\ Files/Google/Picasa3/

## Uninstall the previous installed Picasa 3.8 (it&#39;s not needed any longer)
wine ~/.wine/drive_c/Program\ Files/Google/Picasa3/Uninstall.exe
&lt;/pre&gt;Now you can run Picasa as usual from &lt;i&gt;Applications --&gt; Graphics --&gt; Picasa --&gt; Picasa&lt;/i&gt;&lt;br /&gt;
In case that something went wrong, you can find a backup of Picasa 3.0 in &lt;i&gt;/opt/google/picasa/3.0/wine/drive_c/Program\ Files/Google/Picasa3_3.0&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/226161561014881664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/07/upgrade-to-picasa-38-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/226161561014881664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/226161561014881664'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/07/upgrade-to-picasa-38-on-ubuntu.html' title='Upgrade to Picasa 3.8 on Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxgkwakcG87QznLfba4f-I-aoX0MGjEZiK4vxTcquJ7bmv1HSQPJ4zFbb5ipg6T9rkrdqfK2uwHnYL_wXBz4qg7-aCMmj_LhNme_iHfcx21v0ZCkEyG4OGUD9IqgMDkrFkKT6DCeFGMX9K/s72-c/Picasa38.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-557856022370970957</id><published>2011-07-18T16:21:00.005+02:00</published><updated>2013-01-09T11:15:36.500+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chat"/><category scheme="http://www.blogger.com/atom/ns#" term="voip"/><title type='text'>Reading Skype logs</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.nirsoft.net/utils/skypelogview.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;http://www.nirsoft.net/utils/skypelogview.gif&quot; title=&quot; &quot; width=&quot;385&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
If you use &lt;a href=&quot;http://www.skype.com/&quot; target=&quot;_new&quot;&gt;Skype&lt;/a&gt; a lot, for example at work, it will accumulate hundreds of chat database files .dbb on your system.&lt;br /&gt;
Information in these history files is partially compressed, so searching something particular in these files is only possible from Skype itself and its searching engine isn&#39;t very useful.&lt;br /&gt;
&lt;br /&gt;
Better you use the &lt;a href=&quot;http://www.nirsoft.net/utils/skype_log_view.html&quot; target=&quot;_new&quot;&gt;Skype Logs Reader/Viewer&lt;/a&gt;, which is able to read these files and permits to search for text, export all text into several text or HTML formats, so you can use more powerful tools like your web browser, grep, word processor, spreadsheet, etc. to look for the information you remember vaguely you interchanged months or years ago.&lt;br /&gt;
&lt;h2&gt;
Install instructions&lt;/h2&gt;
This program doesn&#39;t need any installation, just unzip the archive anywhere you want.&lt;br /&gt;
It is designed for Windows, but runs fine with &lt;i&gt;wine&lt;/i&gt; on your Ubuntu system.&lt;br /&gt;
&lt;h3&gt;
Usage on Linux&lt;/h3&gt;
As mentioned before, you need &lt;b&gt;&lt;i&gt;wine&lt;/i&gt;&lt;/b&gt; to run this program on Linux.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Just execute it with &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;wine SkypeLogView.exe&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;In the dialog for locating Skype&#39;s database files, you&#39;ll have to enter&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;h:\.Skype\&lt;span style=&quot;color: #134f5c;&quot;&gt;yourusername&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;If you&#39;re not sure about which unit is mapped to your home folder you could obtain it from with &lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;winepath -w ~/.Skype&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/557856022370970957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/07/reading-skype-logs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/557856022370970957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/557856022370970957'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/07/reading-skype-logs.html' title='Reading Skype logs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-4873394307022993652</id><published>2011-05-05T23:40:00.004+02:00</published><updated>2012-02-04T19:26:06.332+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="installer"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Manager for installing applications from PPA repositories</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: right; margin-left: 1em; text-align: right;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigqT6MsTxPTiIJSqv4L8wmAU3UJPROd6PqCEUtKw0Q-vrN5uSxGPoiWoF_Km-s0kFGomR-RCzHK8H9Hmz-L3OnTWgMAzv8H44YxikrExtxKdmawiglZ_gKMaZohGccF68TNSWhGaPzRl_B/s1600/Y-PPA-Manager.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigqT6MsTxPTiIJSqv4L8wmAU3UJPROd6PqCEUtKw0Q-vrN5uSxGPoiWoF_Km-s0kFGomR-RCzHK8H9Hmz-L3OnTWgMAzv8H44YxikrExtxKdmawiglZ_gKMaZohGccF68TNSWhGaPzRl_B/s320/Y-PPA-Manager.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Search results for Chromium package.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
I just discovered an application I was hoping for: &lt;a href=&quot;https://launchpad.net/y-ppa-manager&quot; target=&quot;_blank&quot;&gt;Y PPA Manager&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Find easily the corresponding repository for a specific application, remove added PPA-repositories, etc., with this simple desktop tool.&lt;br /&gt;
&lt;h2&gt;


Install instructions&lt;/h2&gt;
The following command lines will install the tool, and I almost promise; &lt;b&gt;this is the last time you add a repository from the command line&lt;/b&gt;.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;# Add repository
sudo add-apt-repository ppa:webupd8team/y-ppa-manager

# Add description to repository for easier identification
sudo sed -i.bak &#39;s/$/ #Y-PPA-Manager/&#39; /etc/apt/sources.list.d/webupd8team-y-ppa-manager-natty.list

# Install
sudo apt-get update
sudo apt-get install y-ppa-manager&lt;/pre&gt;
&lt;h2&gt;


Features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;For example, search for Chromium and it will offer you more than 20 repositories, from daily, beta, official ones.&lt;/li&gt;
&lt;li&gt;It advises, if there isn&#39;t a repository for your current distro, for example, Ailurus still isn&#39;t available for Natty.&lt;/li&gt;
&lt;li&gt;You can browse all packages offered by a repository before enabling it for your system.&lt;/li&gt;
&lt;li&gt;Somehow, I often run into problems with PPA keys, maybe because I just copy the corresponding PPA entries from &lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;/etc/apt/sources.list.d&lt;/span&gt; to another machine.&lt;br /&gt;
Each time I run the &lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;apt-get update&lt;/span&gt; command, I get lots of warnings about missing GPG keys.&lt;br /&gt;
Y-PPA-Manager offers a command to clean up all these errors by automatically importing all missing keys.&lt;/li&gt;
&lt;li&gt;The PPA-purge option disables a PPA from your Software Sources and reverts your system to normal after testing a new version from a PPA. &lt;/li&gt;
&lt;/ul&gt;
In short words: &lt;b&gt;A-must-have-tool&lt;/b&gt; for Ubuntu.&lt;br /&gt;
&lt;h3&gt;


Command line&lt;/h3&gt;
You can also use Y-PPA-Manager commands directly from the shell (in case you still miss the terminal), just execute this to see all available commands:&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #000033; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;y-ppa-cmd
launchpad-getkeys  # import all missing keys
ppa-purge              # remove a PPA repository source from your system&lt;/pre&gt;
&lt;h2&gt;


Convert existing PPA repositories to Natty&lt;/h2&gt;
I&#39;ll offer you here some commands you might want to use to convert your existing PPA repositories to your upgraded distro.&lt;br /&gt;
When upgrading Ubuntu to a newer version, all your personal repositories will be disabled to prevent problems.&lt;br /&gt;
After the upgrade you&#39;ll have to enable them by hand, even worse, the ones you had disabled before upgrading still point to the repositories of the previous distro.&lt;br /&gt;
You might use some of these commands to make these changes automatically.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;# Become super-user
sudo -i
# Enter repository list folder
cd /etc/apt/sources.list.d/
# Change maverick to natty for all maverick specific list files and store them as natty ones
for sl in *-maverick.list ; do echo ${sl/maverick/natty} ; sed &#39;s/# \(.*\) maverick\(.*\)/\1 natty\2/&#39; $sl &amp;gt; ${sl/maverick/natty} ; done
# Remove the &quot;disabled ...&quot; comment
for sl in *-natty.list ; do echo ${sl} ; sed -i.bak &#39;s/ disabled on upgrade to natty$//&#39; $sl ; done
# Check they are all fine
for sl in *-natty.list ; do echo ${sl/maverick/natty} ; cat $sl ; done
# Cleanup backup files and maverick list files (not needed any longer)
rm *-maverick* *.list.bak&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/4873394307022993652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/05/install-applications-from-ppa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4873394307022993652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4873394307022993652'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/05/install-applications-from-ppa.html' title='Manager for installing applications from PPA repositories'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigqT6MsTxPTiIJSqv4L8wmAU3UJPROd6PqCEUtKw0Q-vrN5uSxGPoiWoF_Km-s0kFGomR-RCzHK8H9Hmz-L3OnTWgMAzv8H44YxikrExtxKdmawiglZ_gKMaZohGccF68TNSWhGaPzRl_B/s72-c/Y-PPA-Manager.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-4166779400617368396</id><published>2011-04-04T20:00:00.000+02:00</published><updated>2011-05-04T11:47:44.150+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="recover"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="update"/><title type='text'>Severe design flaw in Natty&#39;s Upgrade Process</title><content type='html'>Ubuntu&#39;s latest version 11.04 (Natty Narwhal) arrived a few days ago, some people hate it already before launched, high expectations by others.&lt;br /&gt;
Personally, I waited for that version several months already, hoping that it will resolve the slow problems I had on my personal laptop, as described on my previous post. Even changing the Kernel version, never solved the problem completely.&lt;br /&gt;
Here my update experience on three systems (all were 10.10).&lt;br /&gt;
&lt;H2&gt;Desktop PC&lt;/H2&gt;Machine gots stuck and hang during the upgrade process.&lt;br /&gt;
After rebooting, when trying the use the new Grub entry, it claims that my hardware doesn&#39;t support Unity.&lt;br /&gt;
After a second boot, entering the &lt;i&gt;Previous Linux&lt;/i&gt; entry, my old 10.10 system started up perfectly and advised about a &lt;b&gt;partial upgrade&lt;/b&gt;.&lt;br /&gt;
The upgrade continued smooth and left my system at the end with a running Natty.&lt;br /&gt;
Only my Chromium isn&#39;t usable any longer, but that&#39;s another story.&lt;br /&gt;
&lt;H2&gt;Dell home laptop&lt;/H2&gt;The 2nd, a smooth upgrade, without any problem.&lt;br /&gt;
First I downloaded the ISO image, and mounted the burned CD as software source, so most of the packages hadn&#39;t to be downloaded from the net.&lt;br /&gt;
After upgrade, the slow problem was gone, finally I have a fast system again, even &lt;i&gt;compiz&lt;/i&gt; effects are usable again.&lt;br /&gt;
Great, &lt;b&gt;all my expectations have been reached.&lt;/b&gt;&lt;br /&gt;
&lt;H2&gt;Lenovo office laptop&lt;/H2&gt;My last system hang too during the update process, it blocked with the screen-saver and I wasn&#39;t able to enter the desktop, so I couldn&#39;t see where exactly it got stuck.&lt;br /&gt;
Rebooting the system, first showed that Grub hadn&#39;t been updated yet, and even worse, my old system didn&#39;t booted up.&lt;br /&gt;
My &lt;b&gt;root partition didn&#39;t mount correctly&lt;/b&gt;.&lt;br /&gt;
Inspecting with the &lt;i&gt;SystemRescueCD&lt;/i&gt; (I have an entry to it&#39;s ISO in my Grub boot menu as &lt;a href=&quot;http://applocator.blogspot.com/2010/05/systemrescuecd-from-iso-image.html&quot;&gt;explained in this post&lt;/a&gt;) revealed that the filesystem hadn&#39;t been damaged, all files where there.&lt;br /&gt;
After some investigation, I found &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/udev/+bug/753853&quot;&gt;this discussion&lt;/a&gt; about a serious design flaw in the Upgrade Process which could lead to that situation.&lt;br /&gt;
I could recover with the mentioned commands as seen below.&lt;br /&gt;
&lt;h3&gt;Recovering from not ready yet or not present root partition&lt;/h3&gt;&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;mount -w -o remount /dev/sda1 /
dpkg --configure -a&lt;/pre&gt;Only one package made trouble, &lt;i&gt;winbind&lt;/i&gt;, so I removed it with &lt;SPAN style=&quot;color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;aptitude purge winbind&lt;/SPAN&gt;, then run the &lt;i&gt;dpkg&lt;/i&gt; command again and finally rebooted into a running Natty system.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/4166779400617368396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/04/severe-design-flaw-in-nattys-upgrade.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4166779400617368396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/4166779400617368396'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/04/severe-design-flaw-in-nattys-upgrade.html' title='Severe design flaw in Natty&#39;s Upgrade Process'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-2117755107863769800</id><published>2011-03-01T16:12:00.003+01:00</published><updated>2011-03-09T14:08:32.778+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tweak"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Slow laptop with Ubuntu Maverick 10.10</title><content type='html'>Having installed Ubuntu Maverick on three systems, one desktop and two laptops, I really started to wonder, why during the past weeks my Dell laptop got slower and slower.&lt;br /&gt;
Opening two applications almost let the system being unusable.&lt;br /&gt;
Even worse, the frequency scaling of the CPU stopped working and was running at full speed all the time, heating the laptop, but going slow nevertheless.&lt;br /&gt;
First I thought it was a problem of the CPU scaling, so I installed &lt;i&gt;cpufreqd&lt;/i&gt;, which at least slowed down the CPU a bit, very little.&lt;br /&gt;
&lt;br /&gt;
Still wondering, ..., why?&lt;br /&gt;
I had installed my Dell laptop from zero, so I also thought it might have to do with the graphics driver, as &lt;i&gt;compiz&lt;/i&gt; was impossible to use as well.&lt;br /&gt;
&lt;br /&gt;
Then I started investigating a little further and I found several posts from users with the same symptoms, and everything &lt;a href=&quot;http://www.khattam.info/fixing-slow-choppy-and-laggy-maverick-meerkat-ubuntu-10-10-experience-2010-10-31.html&quot; target=_new&gt;pointed to a kernel 2.6.35 problems&lt;/a&gt;, the version that ships with Ubuntu 10.10&lt;br /&gt;
&lt;br /&gt;
People said that upgrading to next kernel version solved that problem, so I tried that and it worked.&lt;br /&gt;
Now, I have a quicker system again.&lt;br /&gt;
Guess, I could have waited for Ubuntu 11.04, but if you have the same problem, and want to quick up your system, &lt;a href=&quot;http://kernel.ubuntu.com/~kernel-ppa/mainline/&quot; target=_new&gt;download a higher kernel version from here&lt;/a&gt; (2.6.36 rc7 for 32Bit, 2.6.36 rc8 for 64Bit systems).&lt;br /&gt;
&lt;h2&gt;Install instructions&lt;/h2&gt;&lt;pre style=&quot;border: 1px inset; color: #003300; font-family: verdana; font-size: smaller; margin: 0px; overflow: auto; padding: 6px; text-align: left;&quot;&gt;wget -nc -q -P /tmp http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-rc7-maverick/linux-{headers,image}-2.6.36-020636rc7{-generic,}_2.6.36-020636rc7.201010070908_{all,i386}.deb
sudo dpkg -i /tmp/linux-{headers,image}-2.6.36-020636rc7{-generic,}_2.6.36-020636rc7.201010070908_{all,i386}.deb&lt;/pre&gt;Software Update will offer you updates from kernel 2.6.35 which you might install without problem, as grub boot process will still find the newer 2.6.36 kernel and offers and boot that as the default one from the list anyway.</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/2117755107863769800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2011/03/slow-and-sloppy-laptop-with-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/2117755107863769800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/2117755107863769800'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2011/03/slow-and-sloppy-laptop-with-ubuntu.html' title='Slow laptop with Ubuntu Maverick 10.10'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2297115191682412721.post-8269144174532358358</id><published>2010-10-22T22:36:00.000+02:00</published><updated>2010-10-22T22:36:00.249+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="desktop"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Nightly icon cache update for Gnome</title><content type='html'>Sometimes it happened on my Ubuntu system, that a newly added application didn&#39;t had its icon.&lt;br /&gt;
This can happen due to an not updated icon cache of GTK.&lt;br /&gt;
This can be fixed with the command &lt;pre style=&quot;margin: 0px; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0); display:inline;&quot;&gt;gtk-update-icon-cache&lt;/pre&gt;, which rebuilds the GTK+ icon cache.&lt;br /&gt;
&lt;br /&gt;
So why don&#39;t do this automatically in the background on a daily basis (during the night)?&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Install instructions&lt;/h2&gt;Just execute the following commands, which will put a script into /etc/cron.daily so that the cache is fixed and the missing icon appears overnight.&lt;br /&gt;
&lt;pre style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; text-align: left; font-family: verdana; font-size: smaller; color: rgb(0, 51, 0);&quot;&gt;sudo -i
echo &#39;#!/bin/sh
#
# 

for theme in $(find /usr/share/icons -mindepth 1 -maxdepth 1 -type d)
do 
    if [ -f &quot;$theme/index.theme&quot; ]
    then gtk-update-icon-cache -f -q &quot;$theme&quot;
    fi
done

exit 0&#39; &gt; /etc/cron.daily/update-icon-cache
chmod a+x /etc/cron.daily/update-icon-cache&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://applocator.blogspot.com/feeds/8269144174532358358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://applocator.blogspot.com/2010/10/nightly-icon-cache-update-for-gnome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/8269144174532358358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297115191682412721/posts/default/8269144174532358358'/><link rel='alternate' type='text/html' href='http://applocator.blogspot.com/2010/10/nightly-icon-cache-update-for-gnome.html' title='Nightly icon cache update for Gnome'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>