<?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-574976182566557471</id><updated>2024-03-14T00:39:14.722+02:00</updated><category term="ubuntu"/><category term="install"/><category term="dev"/><category term="skype"/><category term="sound"/><category term="vpn"/><category term="backup"/><category term="bash"/><category term="bluetooth"/><category term="tts"/><category term="video"/><category term="wine"/><category term="xfce"/><category term="android"/><category term="flash"/><category term="git"/><category term="java"/><category term="kubuntu"/><category term="laptop"/><category term="media"/><category term="root"/><category term="security"/><category term="ui"/><category term="unity"/><category term="vim"/><category term="virtualization"/><category term="zsh"/><title type='text'>solved!</title><subtitle type='html'>Ubuntu tips and solutions</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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>47</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-4707262840762163081</id><published>2015-06-03T13:15:00.003+03:00</published><updated>2015-06-03T13:18:53.943+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="skype"/><title type='text'>Opening skype chat links in a wrong browser</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Problem:&lt;/b&gt; &lt;br /&gt;
Here&#39;s the thing. I have Firefox as my default browser. But every time I click a link in Skype chat it opens Chromium.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
Install extra/xdg-utils (in Archlinux) or whatever package has xdg-mime binary. This command creates and modifies intries in ~/.config/mimeapps.list&lt;br /&gt;
Then run&lt;br /&gt;
$&amp;nbsp; xdg-mime default firefox.desktop text/html&lt;br /&gt;
$&amp;nbsp; xdg-mime default firefox.desktop x-scheme-handler/http&lt;br /&gt;
$&amp;nbsp; xdg-mime default firefox.desktop x-scheme-handler/https&lt;br /&gt;
&lt;br /&gt;
You can substitute the *desktop file to the browser of choice.&lt;br /&gt;
This also works for other use cases where you need to change the default application for a file type.  &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/4707262840762163081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2015/06/opening-skype-chat-links-in-wrong.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/4707262840762163081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/4707262840762163081'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2015/06/opening-skype-chat-links-in-wrong.html' title='Opening skype chat links in a wrong browser'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-3693499754149354148</id><published>2015-04-22T10:22:00.001+03:00</published><updated>2015-04-22T10:22:25.654+03:00</updated><title type='text'>back to blogging</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Wow, just noticed it&#39;s been two years since the last post. That&#39;s a lot of time, since then I&#39;ve stopped using ubuntu in favour of Arch linux.&lt;br /&gt;
Why?&lt;br /&gt;
I love the idea of a rolling release, when you have the latest software all the time without the need to reinstall the OS (or upgrade, fail, and then reinstall).&lt;br /&gt;
I picked arch and am happy since.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/3693499754149354148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2015/04/back-to-blogging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/3693499754149354148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/3693499754149354148'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2015/04/back-to-blogging.html' title='back to blogging'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-8309573874075394565</id><published>2013-04-22T07:28:00.001+03:00</published><updated>2013-04-22T07:28:25.667+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sound"/><title type='text'>control linux sound from the command line</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Normally a full desktop environment has all the tools to handle the sound. Most likely the laptop multimedia keys are already working fine - mute/increase/decrease volume etc.&lt;br /&gt;
But when something is not working, or if you&#39;re using a less user-friendly environment /window manager that has no out of the box multimedia keys support you need to do some setup on your own.&lt;br /&gt;
This is how you can handle the multimedia keys in i3wm/awesome wm/openbox etc. &lt;br /&gt;
The easiest thing is to bind the commands that do the stuff to the keys you want.&lt;br /&gt;
Therefore, you need to know the commands that do the stuff :)&lt;br /&gt;
In Ubuntu there&#39;s 2 ways: use alsa-utils or pulseaudio-utils. So install the corresponding package to be able to use their tools.&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Alsa&lt;/h3&gt;
Toggle mute:&lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;amixer -q -D pulse set Master 1+ toggle&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Volume up:&lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;amixer -q set Master 2+ unmute&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Volume down:&lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;amixer -q set Master 2- unmute&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Pulseaudio&lt;/h3&gt;
Toggle mute:&lt;br /&gt;
Note that this works for sink 1. Use &lt;span style=&quot;background-color: #999999;&quot;&gt;pactl list short sinks&lt;/span&gt; to list yours and adjust the command. &lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;pactl set-sink-mute 1 $((pactl list sinks | grep -q Mute:.yes &amp;amp;&amp;amp; echo 0) || echo 1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
Volume up:&lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;&amp;nbsp;pactl set-sink-volume 1 +5%&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Volume down:&lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;pactl set-sink-volume 1 -- -5%&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now all you have to do is to use whatever method your WM has to bind the keys. You may want to use xbindkeys utility to have a WM-neutral keybindings. This is useful if you switch the WMs often.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/8309573874075394565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2013/04/control-linux-sound-from-command-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/8309573874075394565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/8309573874075394565'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2013/04/control-linux-sound-from-command-line.html' title='control linux sound from the command line'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-7026392430398815056</id><published>2013-04-18T07:32:00.001+03:00</published><updated>2013-04-18T07:32:27.726+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sound"/><title type='text'>asound master toggle doesn&#39;t unmute</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
People whose multimedia keyboard keys are not working by default (or users of lightweight WM like awesome/i3 etc) set up the keys themselves.&lt;br /&gt;
It used to be a well known solution to use amixer to handle sound up/down/mute keys. For example see gentoo &lt;a href=&quot;http://en.gentoo-wiki.com/wiki/Multimedia_Keys&quot; target=&quot;_blank&quot;&gt;wiki&lt;/a&gt;.&lt;br /&gt;
But in Ubuntu the command&lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;amixer -q set Master toggle&lt;/span&gt;&lt;br /&gt;
works in one direction - it mutes, but doesn&#39;t unmute.&lt;br /&gt;
To be short - there&#39;s a &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/878986&quot; target=&quot;_blank&quot;&gt;bug&lt;/a&gt; filed, there&#39;s a script somewhere posted as a workaround, and there&#39;s a one-liner workaround I&#39;ve posted in the bug comment. &lt;br /&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;amixer -q -D pulse set Master 1+ toggle&lt;/span&gt;&lt;br /&gt;
Don&#39;t forget to vote for the bug!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/7026392430398815056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2013/04/asound-master-toggle-doesnt-unmute.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7026392430398815056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7026392430398815056'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2013/04/asound-master-toggle-doesnt-unmute.html' title='asound master toggle doesn&#39;t unmute'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-7514205255232138597</id><published>2013-04-12T12:15:00.001+03:00</published><updated>2013-04-12T12:15:34.946+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="skype"/><category scheme="http://www.blogger.com/atom/ns#" term="sound"/><title type='text'>No sound is played during incoming skype call on ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I&#39;ve had this multiple times and keep forgetting how to fix it.&lt;br /&gt;
&lt;b&gt;Problem:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
During the incoming call skype doesn&#39;t play the incoming sound, but just displays the notification window.&lt;br /&gt;
If you check the settings it seems allright.&lt;br /&gt;
&lt;b&gt;The solution:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;go to Sound-&amp;gt;Preferences-&amp;gt;Sound Effects tab and increase the volume there.&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/AVvXsEj_auPB25zQVBRjYhp8pDBdfhJjSTrQ-D5HHlkI7cISA9s1kqvzoAZWV_KXiHIcf9ig7p_8YjPutIUvTxdtIW8RDUjtoiDx2_eHpM-2UlVg8VDRxr9iWA3P0kUucZqcwsLANUBdTDbbUQs/s1600/Selection_004.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_auPB25zQVBRjYhp8pDBdfhJjSTrQ-D5HHlkI7cISA9s1kqvzoAZWV_KXiHIcf9ig7p_8YjPutIUvTxdtIW8RDUjtoiDx2_eHpM-2UlVg8VDRxr9iWA3P0kUucZqcwsLANUBdTDbbUQs/s400/Selection_004.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/7514205255232138597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2013/04/no-sound-is-played-during-incoming.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7514205255232138597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7514205255232138597'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2013/04/no-sound-is-played-during-incoming.html' title='No sound is played during incoming skype call on ubuntu'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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/AVvXsEj_auPB25zQVBRjYhp8pDBdfhJjSTrQ-D5HHlkI7cISA9s1kqvzoAZWV_KXiHIcf9ig7p_8YjPutIUvTxdtIW8RDUjtoiDx2_eHpM-2UlVg8VDRxr9iWA3P0kUucZqcwsLANUBdTDbbUQs/s72-c/Selection_004.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-7502117263753356301</id><published>2012-12-15T18:55:00.003+02:00</published><updated>2012-12-15T18:55:59.125+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="media"/><category scheme="http://www.blogger.com/atom/ns#" term="sound"/><category scheme="http://www.blogger.com/atom/ns#" term="video"/><title type='text'>split mp3 or extract audio from video</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Split your audio or extract parts from it &lt;/h3&gt;
Sometimes you want to split an audio file into pieces, e.g. split a large audiobook into smaller parts.&lt;br /&gt;
This could be useful since sometimes the input audio is read incorrectly by players. My phone&#39;s player shows that the audio length is 58mins, while the actual length is 90mins. This won&#39;t let me rewind the media.&lt;br /&gt;
Or you might want to cut out some parts of the media&amp;nbsp; - parts with silence, noise etc. &lt;br /&gt;
If you only have one file - install the audacity and split the file or extract the parts the way you want. Use &lt;a href=&quot;http://askubuntu.com/questions/27574/how-can-i-split-a-mp3-file&quot;&gt;this&lt;/a&gt; as an example guide.&lt;br /&gt;
&lt;br /&gt;
For multiple files  you might want to use some command line tool and have the same actions applied to all of them.&lt;br /&gt;
Good tool for this is &lt;b&gt;avconv&lt;/b&gt; from &lt;b&gt;libav-tools.&lt;/b&gt; This packet is already installed on my system, install it manually if needed.&lt;br /&gt;
The command you need is:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #eeeeee;&quot;&gt;&lt;span style=&quot;background-color: #444444;&quot;&gt;avconv -i &quot;$yourfile&quot; -t $part_duration -ss $skip_time&amp;nbsp; -acodec copy -y &quot;$output_file&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #d0e0e3;&quot;&gt;-i - your input file&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #d0e0e3;&quot;&gt;-t - duration of the part you extract. Can be specified in seconds or as hh:mm:ss&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #d0e0e3;&quot;&gt;-ss - how much time should be skipped from the beginning of the input audio&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #d0e0e3;&quot;&gt;-y - the destination file for the output&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A simple script can do the batch processing - split all the input audio files 30min long. Assume the max length of input is 9000 seconds&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#!/bin/bash&lt;br /&gt;#split audio file, output the same codec as input&lt;br /&gt;&lt;br /&gt;#time in seconds - the duration of the parts&lt;br /&gt;x=1800&lt;br /&gt;for i in &quot;$@&quot;&lt;br /&gt;do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum=0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while test $sum -lt 9000&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext=&quot;${i: -3}&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fname=&quot;$i&quot;.$sum.$ext&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; avconv -i &quot;$i&quot; -t $x -ss $sum&amp;nbsp; -acodec copy -y &quot;$fname&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum=$((sum+x))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; size=$(stat -c%s &quot;$fname&quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #if the output is small-&amp;gt;remove (usually when the input has ended on earlier iterations)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if test $size -lt 3000&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then rm &quot;$fname&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; done&lt;br /&gt;done&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Extract audio from video&lt;/h3&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;avconv&lt;/b&gt; can do this as well.Add the -nv flag to disable the video rendering.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
This example extracts the original audio, I suggest to do the recoding (with avconv) in the second step, since it produces strange results if you attempt all at once.&lt;br /&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: #444444;&quot;&gt;#extract the original track &lt;br /&gt;% avconv -i video.mp4 -t 10 -ss 0&amp;nbsp; -acodec copy -vn -y sound.aac&lt;br /&gt;#recode to ogg&lt;br /&gt;% avconv -i sound.aac -acodec libvorbis -y sound.ogg&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
For single files use the GUI way - install &lt;b&gt;avidemux&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
It allows you to select the region and &lt;a href=&quot;http://www.avidemux.org/admWiki/doku.php?id=tutorial:save_only_audio&quot;&gt;extract the sound&lt;/a&gt; from it.&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/7502117263753356301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/12/split-mp3-or-extract-audio-from-video.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7502117263753356301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7502117263753356301'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/12/split-mp3-or-extract-audio-from-video.html' title='split mp3 or extract audio from video'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-7987750349140141761</id><published>2012-10-31T06:59:00.001+02:00</published><updated>2012-10-31T06:59:29.921+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="laptop"/><category scheme="http://www.blogger.com/atom/ns#" term="video"/><title type='text'>Laptop brightness increases/decreases in two steps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
On (at least) lenovo laptops the brightness control increases/decreases brightness in two steps. This doesn&#39;t allow for a fine control over the brightness.&lt;br /&gt;
There is a &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1000270&quot;&gt;bug report&lt;/a&gt; on this, but the quick workaround is to run&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;% echo N |sudo tee /sys/module/video/parameters/brightness_switch_enabled &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The setting is not remembered between boots - add it to the autorun or you&#39;ll have to rerun it.&lt;br /&gt;
Still for me it only affects the decrease, increasing is still in step of 2.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/7987750349140141761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/10/laptop-brightness-increasesdecreases-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7987750349140141761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7987750349140141761'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/10/laptop-brightness-increasesdecreases-in.html' title='Laptop brightness increases/decreases in two steps'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-7639198947000026945</id><published>2012-05-23T08:10:00.000+03:00</published><updated>2012-05-23T08:10:23.569+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="vpn"/><title type='text'>Ubuntu 12.04: new DNS and VPN issues</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In Ubuntu 12.04 there&#39;s 2 major changes with regards to DNS resolving:&lt;br /&gt;
1. resolvconf is now used by default&lt;br /&gt;
2. a local resolver is now hardcoded into network manager and is used by default&lt;br /&gt;
&lt;br /&gt;
This means that you&#39;ll see nameserver 127.0.0.1 in your &lt;span style=&quot;background-color: #cccccc;&quot;&gt;/etc/resolv.conf&lt;/span&gt; at all&lt;br /&gt;
times, while the real DNS config is managed by dnsmasq started by NetworkManager.&lt;br /&gt;
You can see the current DNS config in &lt;span style=&quot;background-color: #cccccc;&quot;&gt;/run/nm-dns-dnsmasq.conf&lt;/span&gt;&lt;br /&gt;
There are numerous issues that this approach introduces. More info on the change and possible issues/solutions are here - &lt;a href=&quot;http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/&quot;&gt;http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
My issue was that one of the VPN providers wasn&#39;t properly sending the search domain, so I couldn&#39;t access the servers by names on this network.&lt;br /&gt;
&lt;br /&gt;
The easies solution is to add the DNS and search domains manually&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/AVvXsEhsVY1CNv-EkGujvSQWr-RSIqDeEv-jRXr-fQtDX9C1bEGpE2uxpnLNpBRNF1sP8Y7_i8G0Aj0vDFDRee65Vjf1Yrl86uXBSf52dVwwK0JBjbgAG5IF6J4hqazYyWAshRbq_ccFN_GsEJU/s1600/Screenshot+from+2012-05-23+07:07:27.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;569&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsVY1CNv-EkGujvSQWr-RSIqDeEv-jRXr-fQtDX9C1bEGpE2uxpnLNpBRNF1sP8Y7_i8G0Aj0vDFDRee65Vjf1Yrl86uXBSf52dVwwK0JBjbgAG5IF6J4hqazYyWAshRbq_ccFN_GsEJU/s640/Screenshot+from+2012-05-23+07:07:27.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/7639198947000026945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/05/ubuntu-1204-new-dns-and-vpn-issues.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7639198947000026945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7639198947000026945'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/05/ubuntu-1204-new-dns-and-vpn-issues.html' title='Ubuntu 12.04: new DNS and VPN issues'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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/AVvXsEhsVY1CNv-EkGujvSQWr-RSIqDeEv-jRXr-fQtDX9C1bEGpE2uxpnLNpBRNF1sP8Y7_i8G0Aj0vDFDRee65Vjf1Yrl86uXBSf52dVwwK0JBjbgAG5IF6J4hqazYyWAshRbq_ccFN_GsEJU/s72-c/Screenshot+from+2012-05-23+07:07:27.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-3089507384714469855</id><published>2012-05-15T15:45:00.002+03:00</published><updated>2012-05-15T15:49:24.344+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="unity"/><title type='text'>Change dash lens hotkey</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Although CCSM offers a way to change some of the Unity hotkeys, some are not there.&lt;br /&gt;
You cannot change the unity dash lenses hotkeys like Super+M or Super+F for music and files lenses.&lt;br /&gt;
To disable or change the hotkeys you&#39;ll need to edit the lens files.&lt;br /&gt;
Open nautilus and navigate to the lens files.&lt;br /&gt;
&lt;div style=&quot;background-color: #cccccc; color: black;&quot;&gt;
$ gksudo nautilus /usr/share/unity/lenses/&lt;/div&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/AVvXsEjdJ6C_5s8ytAMS9lpK5ciDjOSXOZjWMvl7K7g68f62eqwenIHjTZMknhttKQuTSuBF0Td8Sa-FqIf7MkOARk_PaLSbBjg0JKFMcnfM40rUm2MNl_WiBZOpPBEo8wS6nmunZzeEDpAI93k/s1600/Screenshot+from+2012-05-15+15:40:45.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;460&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdJ6C_5s8ytAMS9lpK5ciDjOSXOZjWMvl7K7g68f62eqwenIHjTZMknhttKQuTSuBF0Td8Sa-FqIf7MkOARk_PaLSbBjg0JKFMcnfM40rUm2MNl_WiBZOpPBEo8wS6nmunZzeEDpAI93k/s640/Screenshot+from+2012-05-15+15:40:45.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Open the corresponding lens folder, and edit the *.lens file.&lt;br /&gt;
There is a Shortcut=&amp;lt;&amp;gt; entry. Change the letter or remove it to disable the hotkey.&lt;br /&gt;
If you want to disable the lens add the ShowEntry=false entry.&lt;br /&gt;
To apply the changes run&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;$ setsid unity&lt;/span&gt; &lt;br /&gt;
Works in Ubuntu 12.04&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/3089507384714469855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/05/change-dash-lens-hotkey.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/3089507384714469855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/3089507384714469855'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/05/change-dash-lens-hotkey.html' title='Change dash lens hotkey'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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/AVvXsEjdJ6C_5s8ytAMS9lpK5ciDjOSXOZjWMvl7K7g68f62eqwenIHjTZMknhttKQuTSuBF0Td8Sa-FqIf7MkOARk_PaLSbBjg0JKFMcnfM40rUm2MNl_WiBZOpPBEo8wS6nmunZzeEDpAI93k/s72-c/Screenshot+from+2012-05-15+15:40:45.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-6162886430028891071</id><published>2012-01-30T06:36:00.003+02:00</published><updated>2012-01-30T06:36:40.973+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ubuntu pgp key errors</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: I get error like &lt;br /&gt;
GPG error: http://archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key &amp;lt;ftpmaster@ubuntu.com&amp;gt;&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;:&lt;br /&gt;
try the following&lt;br /&gt;
&lt;div style=&quot;background-color: #cccccc; color: black;&quot;&gt;
sudo apt-key del 40976EAF437D05B5&lt;/div&gt;
&lt;div style=&quot;background-color: #cccccc; color: black;&quot;&gt;
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5&lt;/div&gt;
&lt;br /&gt;
Then run apt-get update again. If you still get the errors, you need to remove the old files manually.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #cccccc; color: black;&quot;&gt;
sudo apt-get clean&lt;br /&gt;cd /var/lib/apt&lt;br /&gt;sudo mv lists lists.old&lt;br /&gt;sudo mkdir -p lists/partial&lt;br /&gt;sudo apt-get clean&lt;br /&gt;sudo apt-get update &lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/6162886430028891071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/01/ubuntu-pgp-key-errors.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/6162886430028891071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/6162886430028891071'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2012/01/ubuntu-pgp-key-errors.html' title='ubuntu pgp key errors'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-5378631139637198161</id><published>2011-12-26T12:42:00.000+02:00</published><updated>2011-12-26T12:42:01.215+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="xfce"/><title type='text'>install xfce on a base server system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
So, after &lt;a href=&quot;http://ubuntu-answers.blogspot.com/2011/11/replace-ubuntu-with-xubuntu.html&quot;&gt;installing xubuntu&lt;/a&gt; I wanted to check plain xfce.  &lt;br /&gt;
Is xfce + base ubuntu the same as xubuntu?&lt;br /&gt;
The plan was to take base ubuntu system, without the desktop (cli only) and install xfce on top. Then compare it to xubuntu.&lt;br /&gt;
I noticed that xubuntu has some gnome apps installed, so I wondered if I could do without them on a fresh install.&lt;br /&gt;
Here&#39;s the steps to add gui to your server:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;install X - &lt;span style=&quot;background-color: #cccccc;&quot;&gt;#apt-get install xorg&lt;/span&gt; &lt;br /&gt;you should be able to start x manually with &lt;i&gt;startx&lt;/i&gt; now.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;install display manager. I used lightdm.&lt;br /&gt; I immediately got an X server&amp;nbsp; after that, since by default unity-greeter is installed along. Had to install lightdm-gtk-greeter, but this wasn&#39;t sufficient. Had to find the lightdm config where it references the unity-greeter and change it manually.&lt;br /&gt;So, to avoid problems, install lightdm by: &lt;span style=&quot;background-color: #cccccc;&quot;&gt;#apt-get install lightdm-gtk-greeter&lt;/span&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Now I wanted proper video drivers. So I installed ubuntu&#39;s driver utility and activated the nVidia and Broadcomm STA.&lt;br /&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#apt-get install jockey-gtk&lt;/span&gt; then run &lt;i&gt;jockey-gtk&lt;/i&gt; and activate the drivers.&lt;/li&gt;
&lt;li&gt;Wireless. Pick either wicd or network-manager. Usual install.&lt;/li&gt;
&lt;li&gt;Sound. Sound on linux is a &lt;a href=&quot;http://www.techradar.com/news/audio/linux-audio-explained-685419&quot;&gt;mess&lt;/a&gt;. I had to remove pulseaudio once, so I installed just alsa and gstreamer.&lt;br /&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#apt-get install gstreamer0.10-alsa &lt;/span&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Now install the desktop environment or window manager. I installed awesome WM and xfce. Awesome was for experimenting with. Pick what you want.&lt;br /&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#apt-get install awesome xfce4&amp;nbsp;&lt;/span&gt;&amp;nbsp; &lt;/li&gt;
&lt;/ol&gt;
Although it should be fine now, I had some issues.&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;I couldn&#39;t do some of the actions like connect to the wifi from Network Manager, mount without sudo. Had to install policykit desktop stuff:&lt;br /&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#apt-get install policykit-desktop-privileges&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The look of the xfce desktop was not pretty. Had to install some extras to make it look like the xubuntu:&lt;br /&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#apt-get install dmz-cursor-theme xubuntu-icon-theme elementary-icon-theme&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Internal microphone not working, external not working in some apps. Had to play with &lt;a href=&quot;https://help.ubuntu.com/community/HdaIntelSoundHowto&quot;&gt;snd_hda_intel&lt;/a&gt;. For my dell latitude d630 the model should be dell-m42, but really both internal and external mics worked only with &lt;b&gt;model=5stack&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;There were no notifications shown, you know, the baloons that show system events. You need to install &lt;b&gt;xfce4-notifyd&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;wireless was working fine with Wicd, but Wicd appeared to be slower than NM to pick the hotspot, also I lacked some extra config like mtu. With NM the PC was disconnecting randomly, refusing to connect aftewards. Reinstalling the NM didn&#39;t help. Then it refused to connect to secure networks, showing in the log stuff like&lt;br /&gt;&lt;div style=&quot;background-color: #eeeeee;&quot;&gt;
NetworkManager[1639]: &amp;lt;info&amp;gt; (wlan0): device state change: config -&amp;gt; need-auth (reason &#39;none&#39;) [50 60 0]&lt;br /&gt;
NetworkManager[5477]: &amp;lt;warn&amp;gt; No agents were available for this request.&lt;br /&gt;
&amp;lt;info&amp;gt; (wlan0): device state change: need-auth -&amp;gt; failed (reason &#39;no-secrets&#39;) [60 120 7]&lt;/div&gt;
&lt;br /&gt;The reason was that it never showed the key input dialog. And the cause was that it needed &lt;b&gt;gnome-keyring&lt;/b&gt;. After I&#39;ve installed it all was working fine. &lt;br /&gt;After all, I guess I understand now why xubuntu has these gnome apps shipped :)&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/5378631139637198161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/12/install-xfce-on-base-server-system.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/5378631139637198161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/5378631139637198161'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/12/install-xfce-on-base-server-system.html' title='install xfce on a base server system'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-2797664099358644463</id><published>2011-12-13T08:39:00.000+02:00</published><updated>2011-12-23T06:56:30.400+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="root"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>root/unroot android under ubuntu with superoneclick</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Short guide on how to root an android phone under ubuntu 11.10 &lt;br /&gt;
Actors: &lt;a href=&quot;http://shortfuse.org/&quot;&gt;Superoneclick&lt;/a&gt;, &lt;a href=&quot;http://www.gsmarena.com/samsung_i5800_galaxy_3-3395.php&quot;&gt;Samsung Galaxy i5800&lt;/a&gt;, &lt;a href=&quot;http://www.xubuntu.org/get&quot;&gt;xubuntu 11.10&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I&#39;m&amp;nbsp; posting direct links to downloads, if they&#39;re not valid - just google for it.&lt;br /&gt;
I&#39;m not explaining the basics of package installations. Google for it or read my posts.&lt;br /&gt;
The process might differ slightly on other versions of Superoneclick or ubuntu.&lt;br /&gt;
&lt;br /&gt;
1. You need to have these installed: lib32ncurses5 lib32stdc++6 mono mono-winforms.&lt;br /&gt;
On ubuntu 11.10 I have these:&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo apt-get install lib32ncurses5&amp;nbsp;  lib32stdc++6 &lt;br /&gt;
$ sudo apt-get install&amp;nbsp; mono-runtime libmono-corlib2.0-cil&amp;nbsp; libmono-winforms2.0-cil&lt;/div&gt;
&lt;br /&gt;
2. You&#39;ll need the Superoneclick app that does the actual root/unroot. I used ver. 2.2 from &lt;a href=&quot;http://forum.xda-developers.com/showthread.php?t=803682&quot;&gt;here&lt;/a&gt;. Extract it somewhere.&lt;br /&gt;
&lt;br /&gt;
3. I have android SDK, but you can use the adblinux inside the superoneclick&#39;s ADB dir.&lt;br /&gt;
Enable USB debugging in your phone (On the device, go to Settings &amp;gt; Applications &amp;gt; Development and enable USB debugging), and plug your phone in the USB cable. &lt;br /&gt;
Run it to check connection:&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
super1c-2.2/ADB$ chmod +x adblinux&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
super1c-2.2/ADB$ ./adblinux devices&lt;br /&gt;
List of devices attached &lt;br /&gt;
????????????&amp;nbsp;&amp;nbsp; &amp;nbsp;no permissions&lt;/div&gt;
&lt;br /&gt;
If you have the same message, follow me. Otherwise skip to running Superoneclick.&lt;br /&gt;
&lt;br /&gt;
4. As described &lt;a href=&quot;http://developer.android.com/guide/developing/device.html#setting-up&quot;&gt;here&lt;/a&gt;, we add a udev rules file that contains a USB configuration for your phone. In short:&lt;br /&gt;
As a root create the following file: &lt;span style=&quot;background-color: #cccccc;&quot;&gt;/etc/udev/rules.d/51-android.rules&lt;/span&gt; with the content:&lt;br /&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;
SUBSYSTEM==&quot;usb&quot;, ATTR{idVendor}==&quot;&amp;lt;YOUR VENDOR&amp;gt;&quot;, MODE=&quot;0666&quot;, GROUP=&quot;YOUR_GROUP&quot; &lt;/div&gt;
Chande the YOUR_GROUP and YOUR VENDOR. Run:&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ id&lt;br /&gt;
uid=1000(akm) gid=1000(&lt;span style=&quot;background-color: #cc0000;&quot;&gt;akm&lt;/span&gt;) groups=1000(akm),4(adm),20(dialout),24(cdrom),46(plugdev),116(lpadmin), 118(admin),124(sambashare)&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
&lt;br /&gt;
$&amp;nbsp; lsusb &lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub&lt;br /&gt;
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub&lt;br /&gt;
Bus 001 Device 003: ID 03f0:231d Hewlett-Packard &lt;br /&gt;
Bus 001 Device 004: ID 138a:0007 Validity Sensors, Inc. VFS451 Fingeprint Reader&lt;br /&gt;
Bus 001 Device 005: ID 04f2:b15e Chicony Electronics Co., Ltd &lt;br /&gt;
Bus 002 Device 004: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse&lt;br /&gt;
Bus 002 Device 005: ID &lt;span style=&quot;background-color: #cc0000;&quot;&gt;04e8&lt;/span&gt;:681c Samsung Electronics Co., Ltd Galaxy Portal/Spica Android Phone&lt;/div&gt;
&lt;br /&gt;
So group is akm, and vendor is 04e8.&lt;br /&gt;
Unplug and plug again the phone and check. You might need to restart udev:&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo service udev restart &lt;br /&gt;
$ ./adblinux devices&lt;br /&gt;
List of devices attached &lt;br /&gt;
6892da31efa7&amp;nbsp;&amp;nbsp;&amp;nbsp; device&lt;/div&gt;
&lt;br /&gt;
5. Now finally the rooting. To run Superoneclick you need to have mono installed.&lt;br /&gt;
&lt;b&gt;NOTE&lt;/b&gt;: I&#39;m not a mono guru. I had mono installed along with keepass2, and I got 
libmono-corlib4.0-cil installed. You need to install 
libmono-corlib2.0-cil if you have this.(see step 1).&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
super1c-2.2/ $ mono SuperOneClick.exe&lt;/div&gt;
&lt;br /&gt;
Turn off the phone, and plug it into the cable. Click &quot;Root button&quot; and turn the phone on. &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://shortfuse.org/wp-content/uploads/2011/08/rootedgingerbreak.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;http://shortfuse.org/wp-content/uploads/2011/08/rootedgingerbreak.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/2797664099358644463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/rootunroot-android-under-ubuntu-with.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/2797664099358644463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/2797664099358644463'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/rootunroot-android-under-ubuntu-with.html' title='root/unroot android under ubuntu with superoneclick'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-6352415266724862830</id><published>2011-12-12T15:28:00.000+02:00</published><updated>2012-02-14T22:21:35.229+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>vim pro tips</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: how to write file a that requires sudo, but the file is opened without it?&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: Use&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;:w !sudo tee %&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Then enter the sudo password&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: change line ending &amp;lt;EOL&amp;gt; in vim&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: Use&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;:set ff=STYLE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Where STYLE is one of unix/dos/mac&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: change file encoding. Change character encoding in vim&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: just to change: &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;:set enc=utf-8&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
To open a file with an encoding:&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;
:e ++enc=koi8-r russian.txt&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
To write a file in encoding:&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;:w ++enc=koi8-r russian.txt &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q:&lt;/span&gt; change case of a letter. Change case of&amp;nbsp; a selection&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: lime;&quot;&gt;A:&lt;/span&gt; ~ - change case for letter (also for selection). Selection: u (lowercase), U(uppercase).&lt;br /&gt;
gu{motion} or gU{motion} - lower or upper case to motion (w,b,$ etc)&lt;br /&gt;
guu or gUU - lower or upper case line&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: learn what a shortcut does (for example ctrl-w)&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: &lt;span style=&quot;background-color: #cccccc;&quot;&gt;:help ctrl-w&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: Working with windows in vim&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: Windows are viewports to a buffer, simpler put - views of a file.  &lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;:he windows&lt;/span&gt; for more info. All the shortcuts start from Ctrl-w, easy.&lt;br /&gt;
Windows can be split (&lt;span style=&quot;background-color: #cccccc;&quot;&gt;ctrl-w s&lt;/span&gt; -horizontal, &lt;span style=&quot;background-color: #cccccc;&quot;&gt;ctrl-w v&lt;/span&gt; - vertical), another buffer can be opened into the split (&lt;span style=&quot;background-color: #cccccc;&quot;&gt;:sp&lt;/span&gt;, &lt;span style=&quot;background-color: #cccccc;&quot;&gt;:vs&lt;/span&gt; for horizontal and vertical split)&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;ctrl-w w&lt;/span&gt; - Cycle between windows&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;ctrl-w =&lt;/span&gt;, &lt;span style=&quot;background-color: #cccccc;&quot;&gt;ctrl-w |&lt;/span&gt;, &lt;span style=&quot;background-color: #cccccc;&quot;&gt;ctrl-w _&lt;/span&gt; - equal windows in size, maximize current horizontally, maximize current vertically&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: How to reformat code, for example html/xml&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: First, you need to have filetype indent option set to on in your ~/.vimrc:&lt;br /&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;filetype indent on&lt;/span&gt;&lt;/div&gt;
Then select the lines and press = or type gg=G&lt;br /&gt;
If vim didn&#39;t recognize the file type properly, e.g. when you&#39;re formatting a code snippet, just tell vim what type it is:&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;:set filetype=xml&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: copy to system clipboard&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: system clipboard&#39;s name is +, therefore to copy: &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;&quot;+y&lt;/span&gt;&lt;/span&gt; and to paste &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;&quot;+p&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
NOTE: vim has to be compiled with +xterm_clipboard option (run vim --version to see it&#39;s compiled options), which is true for GUI vim. Terminal vim on Ubuntu 11.10 doesn&#39;t have this option.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: Folding&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: to make folding work automatically, you need the foldingmethod (fdm) set to smth other than manual. I use &lt;span style=&quot;background-color: #cccccc;&quot;&gt;:set fdm=indent&lt;/span&gt; .&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;zc/zo/za&lt;/span&gt; - for the current cursor position close/open/toggle folding on current level&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;zC/zO/zA&lt;/span&gt; - for the current cursor position close/open/toggle folding on all levels&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;zr/zm&lt;/span&gt; - reduce/increase the folding by 1 level thru the whole buffer.&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;zR/zM&lt;/span&gt; - reduce/increase the folding on all levels thru the whole buffer.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: comment/uncomment lines&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: Use visual block for it: &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;ctrl-v&amp;nbsp;&lt;/span&gt;&lt;/span&gt; select the first chars on the lines you want to comment, press I (uppercase i, stands for insert at the line start), insert the comment char(s) followed by &amp;lt;Esc&amp;gt;.&lt;br /&gt;
To uncomment select the comments in the block selection, press d. Or use replace &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;:s/^#/ &lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/6352415266724862830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/vim-pro-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/6352415266724862830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/6352415266724862830'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/vim-pro-tips.html' title='vim pro tips'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-7488345422994059784</id><published>2011-11-30T18:13:00.001+02:00</published><updated>2011-12-27T12:30:55.896+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="xfce"/><title type='text'>replace ubuntu with xubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Also see &lt;a href=&quot;http://ubuntu-answers.blogspot.com/2011/12/install-xfce-on-base-server-system.html&quot;&gt;installing an xfce in base ubuntu&lt;/a&gt;. &lt;br /&gt;
Following Linus Torvalds, a lot of people are trying XFCE or other desktops instead of Gnome 3. Well, why not give it a try.&lt;br /&gt;
&lt;br /&gt;
Your options:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt; fresh install. A fresh install is always better imho, since I&#39;m a kind of purist and
 don&#39;t want to have trash/leftovers. And I have a separate partition for
 /home :)&lt;br /&gt;
&lt;br /&gt;
But even if you have /home on a single partition with /, a new 
installation will not mess with your /home, provided you don&#39;t choose 
&quot;format the partition&quot;.&lt;/li&gt;
&lt;li&gt;install along with Gnome&lt;br /&gt;But if you just want to try, you can install it along with Gnome &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ sudo apt-get install xubuntu-desktop&lt;/span&gt; You can later remove the ubuntu-desktop (Gnome) and leave only XFCE.&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;b&gt;The impressions&lt;/b&gt;: &lt;a href=&quot;http://www.xubuntu.org/get&quot;&gt;Xubuntu&lt;/a&gt; is fast and lightweight. The default apps are great and I don&#39;t miss a single gnome one.&lt;br /&gt;
&lt;b&gt;Xubuntu Pros&lt;/b&gt;:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Recommend for minimalists, people with older PC&#39;s (for very old use &lt;a href=&quot;http://lubuntu.net/&quot;&gt;Lubuntu&lt;/a&gt;). I&#39;d recommend to have minimum 512Mb RAM for Xubuntu, it was impossible to use it on a 256Mb.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Much more configurable than ubuntu, much like KDE. And this configuration is much better organized than in KDE.&lt;/li&gt;
&lt;/ol&gt;
&lt;b&gt;Xubuntu Cons&lt;/b&gt;: it still is not a pure XFCE, Xubuntu has some gnome stuff like gnome-keyring shipped. Some stuff needs workarounds, like buggy keyboard switching applet.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&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/AVvXsEhe4gWa4fNwSJQxONYljwq8eyFQnLD4ZDa85X6koFT-ERJNliezxXwn6dRAsdpbCVRnjnbC2uDiYiqWwcgmkn7RC_AmIpWhy04HZS44dtMdIZuS4db5gGMe1FmtgcuiTC5gEkFtdSINh0U/s1600/Screenshot+-+12022011+-+09%253A14%253A20+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe4gWa4fNwSJQxONYljwq8eyFQnLD4ZDa85X6koFT-ERJNliezxXwn6dRAsdpbCVRnjnbC2uDiYiqWwcgmkn7RC_AmIpWhy04HZS44dtMdIZuS4db5gGMe1FmtgcuiTC5gEkFtdSINh0U/s640/Screenshot+-+12022011+-+09%253A14%253A20+AM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Upon install you have 2 panels: top and bottom, just like in Gnome2. But I like to keep just one vertical to save screen&amp;nbsp; space.&lt;br /&gt;
&lt;br /&gt;
Next step: &lt;a href=&quot;http://wiki.xfce.org/recommendedapps&quot;&gt;lightweight apps&lt;/a&gt;. Try some from there.&lt;br /&gt;
&lt;br /&gt;
I&#39;ve decided not to have a single gnome app installed. &lt;br /&gt;
Here&#39;s my software recommendations.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4iLkFe3aQwA7DTnou4BBcVVhj3Dm5KgW-nilDVeQYjIv7X71EWxo7rbCPHSgq5gtKzstgPAW0AHu-TQqKD-JQRwPQ_9yc34rZnmbs8ZzS3Ts1m5jE6-czfbdNkwF4jm79jPe4E0nWEzk/s1600/Screenshot+-+11302011+-+06%253A43%253A18+PM.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; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4iLkFe3aQwA7DTnou4BBcVVhj3Dm5KgW-nilDVeQYjIv7X71EWxo7rbCPHSgq5gtKzstgPAW0AHu-TQqKD-JQRwPQ_9yc34rZnmbs8ZzS3Ts1m5jE6-czfbdNkwF4jm79jPe4E0nWEzk/s320/Screenshot+-+11302011+-+06%253A43%253A18+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;b&gt;File manager&lt;/b&gt; - Thunar. It is great, looking just like Nautilus, same functionality (no tabs though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Terminal emulator&lt;/b&gt; - default (xfce4-terminal) or tilda (from repositories). Both are configurable, but I like tilda, since it hides/shows itself on a hotkey, available on any virtual desktop I&#39;m currently in. If you use terminal frequently and switch desktops - give it a try.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Browser&lt;/b&gt; - firefox or chromium. The latter has less dependencies and can be easily installed without pulling any extra libs.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Video player&lt;/b&gt; - vlc and mplayer. Both are great, work out of the box without making you install the codecs manually.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBS4z9Oovwyl65_RBBjfOSFA9D6Aq4AmpNtuwMJCyQFHYeQ87luLXhuLGIlvgFMu147zmfTXwfJRIp0D0N52irYBhb1il9KY_XtjjYXLmXHhj1xT9KBujB_gAa4ICzCmPZKxecTDqlqx0/s1600/Screenshot+-+12022011+-+09%253A29%253A47+AM.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; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBS4z9Oovwyl65_RBBjfOSFA9D6Aq4AmpNtuwMJCyQFHYeQ87luLXhuLGIlvgFMu147zmfTXwfJRIp0D0N52irYBhb1il9KY_XtjjYXLmXHhj1xT9KBujB_gAa4ICzCmPZKxecTDqlqx0/s320/Screenshot+-+12022011+-+09%253A29%253A47+AM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;b&gt;Music player&lt;/b&gt; - audacious.&amp;nbsp; Very good one, simple, shortcuts for everything, similar to older versions of winamp (when it was just a music player).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Text editor&lt;/b&gt; - &lt;strike&gt;SciTE&lt;/strike&gt;. Geany. The default Mousepad/Leafpad are too minimal for me.SciTE is too source code oriented. It won&#39;t even show txt files in the open dialog by default, filtering only source code extensions. Geany has good source code editing features - syntax highlight, foldings along with other general purpose features. Very low memory consumption, same as gvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Application launcher&lt;/b&gt; - kupfer. Just try it, you&#39;ll never need any shortcuts/launchers. This is a very lightweight alternative to gnome-do.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Application launcher (CLI-like)&lt;/b&gt; - the default Alt-F2 xfce runner is ok, but it lacks tab completion. I&#39;ve replaced it with gmrun. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Clipboard manager&lt;/b&gt; - clipman. Install separately or along with xfce4-goodies.Then add to a panel.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Keyboard layout switcher&lt;/b&gt; - for now I&amp;nbsp; use a hardcoded layout in /etc/default/keyboard . There&#39;s a panel xfce4-xkb-plugin , but it just lets you choose a single hotkey, while I like to have several alternatives, as well as an option to light LED for alternative layouts, remap caps lock to control etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More to come..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/7488345422994059784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/replace-ubuntu-with-xubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7488345422994059784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7488345422994059784'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/replace-ubuntu-with-xubuntu.html' title='replace ubuntu with xubuntu'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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/AVvXsEhe4gWa4fNwSJQxONYljwq8eyFQnLD4ZDa85X6koFT-ERJNliezxXwn6dRAsdpbCVRnjnbC2uDiYiqWwcgmkn7RC_AmIpWhy04HZS44dtMdIZuS4db5gGMe1FmtgcuiTC5gEkFtdSINh0U/s72-c/Screenshot+-+12022011+-+09%253A14%253A20+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-2975753261970798553</id><published>2011-11-27T21:57:00.001+02:00</published><updated>2012-06-11T09:35:01.589+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><title type='text'>git revert for svn users</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you&#39;re not familiar with git terminology I suggest some further reading.&lt;br /&gt;
Quick terms:&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/AVvXsEg3Mo8-vFKeyOiIj8YmWH_WBcTP91oVz27Z_VXBXimXpmIJ4fKua5q8KGQcMSQMZ1jZFlwCTIea-NF8BZv7UfNFFparWVfih8LonNd-3CqTGUjT5Y8XfGXTQr1cnP9HtfdfvoaTKLFAEMY/s1600/index1.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; height=&quot;184&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Mo8-vFKeyOiIj8YmWH_WBcTP91oVz27Z_VXBXimXpmIJ4fKua5q8KGQcMSQMZ1jZFlwCTIea-NF8BZv7UfNFFparWVfih8LonNd-3CqTGUjT5Y8XfGXTQr1cnP9HtfdfvoaTKLFAEMY/s320/index1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;Working directory&lt;/b&gt; - where you work and change files.&lt;br /&gt;
&lt;b&gt;Index/stage/staging area&lt;/b&gt; - where you put the files you want to commit.&lt;br /&gt;
&lt;b&gt;Repository&lt;/b&gt; - where you commit the changes to.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;SVN doesn&#39;t have this intermediate Staging area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fixing errors, reverting&lt;br /&gt;
The action depends on where the error is.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: red;&quot;&gt;Q&lt;/span&gt;: How can I undo the change/remove file from the index, not the working tree?&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: lime;&quot;&gt;A&lt;/span&gt;:&amp;nbsp;&amp;nbsp; &lt;span style=&quot;background-color: #cccccc;&quot;&gt;$ git reset &amp;lt;file&amp;gt;&lt;/span&gt; removes just from the index, not the working tree. It is an opposite of &lt;b&gt;git add&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: How can I reset local changes? Revert a file in the working copy to the HEAD/revision?&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: &amp;nbsp;&amp;nbsp; &lt;span style=&quot;background-color: #cccccc;&quot;&gt;$ git checkout &amp;lt;file&amp;gt;&lt;/span&gt; - checking out the version from the HEAD will overwrite local changes. Or  &lt;span style=&quot;background-color: #cccccc;&quot;&gt;$ git reset --hard &amp;lt;file&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;: How to revert a commit? How to revert several consequent commits.&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;background-color: #cccccc;&quot;&gt;$ git reset --hard HEAD~1&lt;/span&gt; This reverts the last commit (the HEAD one). HEAD~2 - reverts 2 last commits, etc.&lt;br /&gt;
If you want to revert the commits in the &quot;middle&quot; e.g&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: red;&quot;&gt;Q&lt;/span&gt;: How to remove a file from the repository, but keep it in the working tree?&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: lime;&quot;&gt;A&lt;/span&gt;:&amp;nbsp;&amp;nbsp; &lt;span style=&quot;background-color: #cccccc;&quot;&gt;$ git rm --cached &amp;lt;file&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/2975753261970798553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/git-revert-for-svn-users.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/2975753261970798553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/2975753261970798553'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/git-revert-for-svn-users.html' title='git revert for svn users'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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/AVvXsEg3Mo8-vFKeyOiIj8YmWH_WBcTP91oVz27Z_VXBXimXpmIJ4fKua5q8KGQcMSQMZ1jZFlwCTIea-NF8BZv7UfNFFparWVfih8LonNd-3CqTGUjT5Y8XfGXTQr1cnP9HtfdfvoaTKLFAEMY/s72-c/index1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-5741914561342007031</id><published>2011-11-12T17:45:00.001+02:00</published><updated>2011-11-24T20:32:16.948+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>ubuntu 11.10: java installation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In ubuntu 11.10 sun-java6 is no longer in the repositories. It is *suggested* to install openjdk. I decided to give it a try.&lt;br /&gt;
Earlier I was kinda cautious regarding it, but now, since sun&#39;s (oracle&#39;s) jdk is not in favor, lets follow the trend. So choose what you need installed:&lt;br /&gt;
&lt;br /&gt;
&lt;i style=&quot;background-color: #f4cccc;&quot;&gt;jdk&lt;/i&gt; -&amp;gt; &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ sudo apt-get install openjdk-6-jdk&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i style=&quot;background-color: #f4cccc;&quot;&gt;jre&lt;/i&gt; -&amp;gt; &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ sudo apt-get install openjdk-6-jre&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i style=&quot;background-color: #f4cccc;&quot;&gt;browser plugin&lt;/i&gt; -&amp;gt; &lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ sudo apt-get install icedtea6-plugi&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;n&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Well, I have issues with icedtea plugin-my ibank2 applet (internet banking) is not working properly, so I had to get back sun&#39;s plugin.&lt;br /&gt;
I&#39;ve &lt;a href=&quot;http://www.java.com/en/download/index.jsp&quot;&gt;downloaded&lt;/a&gt; the jre, installed it (it basically just unpacks itself). The you need to symlink the plugin. (2 options, root and non root). Assuming you&#39;ve installed jre into /mnt/wind/bin/java/sun-java/&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
#install for all. Root version &lt;br /&gt;
$ sudo ln -s /mnt/wind/bin/java/sun-java/jre1.6.0_29/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/&lt;br /&gt;
&lt;br /&gt;
#if you want a non root install. Just for one user:&lt;br /&gt;
$ mkdir -p ~/.mozilla/plugins &lt;br /&gt;
$ ln -s /mnt/wind/bin/java/sun-java/jre1.6.0_29/lib/amd64/libnpjp2.so ~/.mozilla/plugins/&lt;/div&gt;
&lt;br /&gt;
Now you should have sun&#39;s browser plugin in firefox and chrome!&lt;br /&gt;
If you want sun jre to be the default one, you need to manually update the system to let it know that a new java is present via &lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;update-alternatives&lt;/span&gt;. See man page, it&#39;s good.&lt;br /&gt;
&lt;br /&gt;
P.S. If you find it helpful - feel free to click on some ads :)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/5741914561342007031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/ubuntu-1110-java-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/5741914561342007031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/5741914561342007031'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/ubuntu-1110-java-installation.html' title='ubuntu 11.10: java installation'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-6547603486625287857</id><published>2011-11-12T17:35:00.001+02:00</published><updated>2011-11-12T17:43:59.034+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="zsh"/><title type='text'>zsh tips: path and full history</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I&#39;ve switched from bash to zsh, and have some tips coming.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;Q&lt;/span&gt;: history command on zsh doesn&#39;t return full history.&lt;br /&gt;
On bash when you run &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ history&lt;/span&gt; you get the full history starting from 
the 1st command it has remembered. zsh returns just a small subset of 
history.&lt;br /&gt;
 &lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: run &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ history 1&lt;/span&gt; i.e. say explicitly that you want history from the 1st line&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;Q&lt;/span&gt;: reread the PATH to update the list of available executables. When installing an app in bash it is available right away. After the installation in zsh you cannot tab-complete the newly installed app. You can still run it if you know the name though.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;: need to rehash. run &lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ hash -r&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/6547603486625287857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/zsh-tips-path-and-full-history.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/6547603486625287857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/6547603486625287857'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/zsh-tips-path-and-full-history.html' title='zsh tips: path and full history'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-7213829920015141922</id><published>2011-11-05T13:07:00.001+02:00</published><updated>2011-12-01T08:16:46.076+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bluetooth"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Bluetooth on ubuntu 11.10</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Updated 01.12.2011&lt;/b&gt; &lt;br /&gt;
Bluetooth is something that&#39;s supposed to be simple and work out of the box but frequently is not working at all.&lt;br /&gt;
That&#39;s why every time I install a new OS I test if bluetooth is working.&lt;br /&gt;
&lt;br /&gt;
So, fresh ubuntu 11.10, client is Samsung Galaxy phone, let&#39;s see what works in ubuntu.&lt;br /&gt;
&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;Receiving files&lt;/span&gt; works fine.&lt;b&gt;Update&lt;/b&gt;: receiving &lt;span style=&quot;background-color: #ea9999;&quot;&gt;fails&lt;/span&gt; if you&#39;re sending to Windows Mobile phone!&lt;br /&gt;
&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;Pairing&lt;/span&gt; initiated from the computer works fine.&lt;br /&gt;
&lt;span style=&quot;background-color: #ea9999;&quot;&gt;Sending files&lt;/span&gt; - failed with the a &#39;permission denied error&#39;. After searching/asking I&#39;ve come across a bug &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/gnome-bluetooth/+bug/872044&quot;&gt;report&lt;/a&gt;.&lt;b&gt;Update&lt;/b&gt;: sending &lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;works&lt;/span&gt; if you send to a Windows Mobile device.&lt;br /&gt;
So on ubuntu 11.10 this is the summary picture for send/receive:&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/AVvXsEi_axm9iMHIWOu9cfW3QzLUZbFq1w5M8PyN2QyDdH6VyviFuLPw0wH2VZ_F-Nj8Zp-OOh_D9ZjyUWXVLzpOqOX0kfukz2rw2uESCW3S_u54nR4sFpgBFZymcGYobvRuj_u10upa0eJCkKY/s1600/bt.ubuntu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_axm9iMHIWOu9cfW3QzLUZbFq1w5M8PyN2QyDdH6VyviFuLPw0wH2VZ_F-Nj8Zp-OOh_D9ZjyUWXVLzpOqOX0kfukz2rw2uESCW3S_u54nR4sFpgBFZymcGYobvRuj_u10upa0eJCkKY/s400/bt.ubuntu.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Since I still need to send files I have to mount my phone with &lt;i&gt;obexfs&lt;/i&gt;. In short:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;install obexfs&lt;/li&gt;
&lt;li&gt;pair the phone with the PC (works from the gui)&lt;/li&gt;
&lt;li&gt; Get the device MAC and mount it with obexfs:&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 class=&quot;yui3-editable_text-content&quot; id=&quot;edit-title&quot; style=&quot;background-color: #444444; color: #f3f3f3; font-family: inherit;&quot;&gt;









&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;yui3-editable_text-text&quot; id=&quot;yui_3_3_0_2_132049044830148&quot;&gt;$ sudo apt-get install obexfs &lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 class=&quot;yui3-editable_text-content&quot; id=&quot;edit-title&quot; style=&quot;background-color: #444444; color: #f3f3f3; font-family: inherit;&quot;&gt;








&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;yui3-editable_text-text&quot; id=&quot;yui_3_3_0_2_132049044830148&quot;&gt;$ hcitool scan&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 class=&quot;yui3-editable_text-content&quot; id=&quot;edit-title&quot; style=&quot;background-color: #444444; color: #f3f3f3; font-family: inherit;&quot;&gt;







&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;yui3-editable_text-text&quot; id=&quot;yui_3_3_0_2_132049044830148&quot;&gt;Scanning ...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8F:77:17:77:44:16&amp;nbsp;&amp;nbsp;&amp;nbsp; My Android Phone&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 class=&quot;yui3-editable_text-content&quot; id=&quot;edit-title&quot; style=&quot;background-color: #444444; color: #f3f3f3; font-family: inherit;&quot;&gt;









&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;yui3-editable_text-text&quot; id=&quot;yui_3_3_0_2_132049044830148&quot;&gt;&amp;lt;your device is found and mac listed&amp;gt;&lt;br /&gt;$ obexfs -b 8F:77:17:77:44:16&amp;nbsp; /mountpoint&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
To unmount the device:&lt;br /&gt;
&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt; $ fusermount -u /mountpoint&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Source: &lt;a href=&quot;https://wiki.archlinux.org/index.php/Bluetooth&quot;&gt;great wiki&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #93c47d;&quot;&gt;Pairing&lt;/span&gt; from the phone: No longer fails after I&#39;ve updated blueman to the latest 1.23 version. If it&#39;s not in your repo run&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo add-apt-repository ppa:blueman/ppa&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo apt-get update&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo apt-get upgrade&lt;/div&gt;
&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/7213829920015141922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/bluetooth-on-ubuntu-1110.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7213829920015141922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/7213829920015141922'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/11/bluetooth-on-ubuntu-1110.html' title='Bluetooth on ubuntu 11.10'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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/AVvXsEi_axm9iMHIWOu9cfW3QzLUZbFq1w5M8PyN2QyDdH6VyviFuLPw0wH2VZ_F-Nj8Zp-OOh_D9ZjyUWXVLzpOqOX0kfukz2rw2uESCW3S_u54nR4sFpgBFZymcGYobvRuj_u10upa0eJCkKY/s72-c/bt.ubuntu.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-574976182566557471.post-952393545853589694</id><published>2011-10-29T17:41:00.001+03:00</published><updated>2011-10-29T17:42:25.159+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="kubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="ui"/><title type='text'>build plasmoid in kubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://kde-look.org/&quot;&gt;http://kde-look.org/&lt;/a&gt; is a great source of KDE customization.&lt;br /&gt;
Being a new to KDE I had to have some pain building a plasmoid - plasma desktop widget.&lt;br /&gt;
I wanted &lt;a href=&quot;http://kde-look.org/content/show.php/Icon+Tasks?content=144808&quot;&gt;this&lt;/a&gt;&lt;br /&gt;
First, always trying to find the package in the repos. Then - binary download. Here, the download is the source code, so it has to be built. The page itself doesn&#39;t have any instructions. Sounds familiar... :)&lt;br /&gt;
The package contains readme with build instructions.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Installation&lt;br /&gt;
============&lt;br /&gt;
&lt;br /&gt;
To build and install:&lt;br /&gt;
&lt;br /&gt;
1. mkdir build&lt;br /&gt;
2. cd build&lt;br /&gt;
3. cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`&lt;br /&gt;
4. make&lt;br /&gt;
5. sudo make install&lt;/blockquote&gt;
Looks ... different, but simple.&lt;br /&gt;
On a fresh install we need the following packages:&lt;br /&gt;
build-essential, cmake. Get them with&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo apt-get install build-essential cmake&lt;/div&gt;
&lt;br /&gt;
Running the cmake shows some not found errors. So I had to install apt-file to find what I miss.&lt;br /&gt;
&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ sudo apt-get install kdelibs5-dev kdebase-workspace-dev libdbusmenu-qt-dev&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The last one - dbus library - was tricky to find since even that I knew it should be dbus-menu-dev package, it wasn&#39;t in the repo. The exact name was a lucky find...&lt;br /&gt;
&lt;br /&gt;
Finally, install. Unfortunately, installing with &lt;i&gt;checkinstall&lt;/i&gt; failed. I&#39;m getting frustrated with it, since it is not the first time it fails.. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/952393545853589694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/10/build-plasmoid-in-kubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/952393545853589694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/952393545853589694'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/10/build-plasmoid-in-kubuntu.html' title='build plasmoid in kubuntu'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-8792243103188597485</id><published>2011-07-12T16:56:00.000+03:00</published><updated>2011-07-12T16:56:02.750+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><title type='text'>copy directory structure, copy files with directories</title><content type='html'>&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;. How can I copy a directory tree without copying files?&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;. Enter the root of the tree you want to copy. The tree will be recreated under /destination/&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;$ find -type d | xargs -i mkdir -p&amp;nbsp; /destination/{}&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Q&lt;/span&gt;. How can I copy the files and recreate the directory tree the file is in. I.E. copy the file along with the whole or part of the directory tree.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;A&lt;/span&gt;. Enter the folder you want to be the root of the copied tree. Suppose I have /home/me/work/urgent/files/x.htm copied to /destination/ starting from me/ folder. Enter /home/ and type:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;$ echo&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;me/work/urgent/files/x.htm | &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cpio -pdvm /destination/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;#search for files and copy all found with their dir trees &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;$ find . -name &#39;*.htm&#39; |cpio -pdvm /destination/&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/8792243103188597485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/copy-directory-structure-copy-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/8792243103188597485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/8792243103188597485'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/copy-directory-structure-copy-files.html' title='copy directory structure, copy files with directories'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-2087717909277699839</id><published>2011-07-10T10:18:00.000+03:00</published><updated>2011-11-24T20:37:48.660+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualization"/><title type='text'>Mount a virtualbox VDI hard disk on ubuntu linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Shut down the VBox VM you want to mount.&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
#install tools&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo apt-get install qemu-kvm&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
#load module&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo modprobe nbd&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
#create loopback dev for the image&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo qemu-nbd -c /dev/nbd0 &amp;lt;image&amp;gt;.vdi&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
#mount the partitions, that are exposed as /dev/nbd0pXXX&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo mount&amp;nbsp; -o noatime,noexec /dev/nbd0p1 /tmp/vdi/&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
#in the end unmount &amp;amp;&amp;amp; shutdown the ndb&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo umount /tmp/vdi/&lt;/div&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;
$ sudo qemu-nbd -d /dev/nbd0&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;http://wiki.przemoc.net/tips/linux#mounting_partition_from_vdi_fixed-size_image&quot;&gt;Another way&lt;/a&gt; (longer but without nbd) &lt;br /&gt;
resources:&lt;br /&gt;
&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=871367&quot;&gt;forum&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://bethesignal.org/blog/2011/01/05/how-to-mount-virtualbox-vdi-image/&quot;&gt;blog&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you find the tip helpful - feel free to click the ads :) &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/2087717909277699839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/mount-virtualbox-vdi-hard-disk-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/2087717909277699839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/2087717909277699839'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/mount-virtualbox-vdi-hard-disk-on.html' title='Mount a virtualbox VDI hard disk on ubuntu linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-9109477972560857398</id><published>2011-07-07T16:00:00.000+03:00</published><updated>2011-07-07T16:00:13.053+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><title type='text'>Backup and restore all installed packages</title><content type='html'>Before, make sure you &lt;a href=&quot;http://ubuntu-answers.blogspot.com/2011/06/backup-list-of-ppa-sources.html&quot;&gt;backup your apt sources&lt;/a&gt; &lt;br /&gt;
For backup, list all installed packages:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #444444; color: #f3f3f3; font-family: inherit;&quot;&gt;$ sudo dpkg --get-selections &amp;gt; packages.txt&lt;/pre&gt;&lt;br /&gt;
To restore the list do:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #444444; color: #f3f3f3; font-family: inherit;&quot;&gt;&lt;strong&gt;&lt;strong&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;$ sudo dpkg --clear-selections&lt;/span&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;$ sudo dpkg --set-selections &amp;lt; packages.txt&lt;/span&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;$ sudo apt-get dselect-upgrade&lt;/span&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/9109477972560857398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/backup-and-restore-all-installed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/9109477972560857398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/9109477972560857398'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/07/backup-and-restore-all-installed.html' title='Backup and restore all installed packages'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-4367333289485672750</id><published>2011-06-28T13:24:00.000+03:00</published><updated>2011-06-28T13:24:08.762+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><title type='text'>backup list of ppa sources</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The list of sources is in /etc/apt/sources.list and /etc/apt/sources.list.d/&lt;br /&gt;
Backup that file and that folder.&lt;br /&gt;
Additionally, backup the repository keys:&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ sudo apt-key exportall &amp;gt; ~/repositories.key&lt;/div&gt;And restore&lt;br /&gt;
&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ sudo apt-key add /path/to/repositories.key &lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/4367333289485672750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/06/backup-list-of-ppa-sources.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/4367333289485672750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/4367333289485672750'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/06/backup-list-of-ppa-sources.html' title='backup list of ppa sources'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-1913293707810051307</id><published>2011-04-30T10:40:00.001+03:00</published><updated>2011-04-30T10:42:40.226+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="flash"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Sluggish flash player in fullscreen mode on ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Symptoms:&lt;/span&gt; flash player videos are slow in full screen mode, fps drops to 1-2, although th video is playing just fine in normal mode.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;Solution:&lt;/span&gt;&lt;br /&gt;
Create a file /etc/adobe/mms.cfg with content &quot;OverrideGPUValidation = 1&quot;&lt;br /&gt;
(including &quot; &quot;)&lt;br /&gt;
Or use the commands:&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: #f3f3f3;&quot;&gt; $ sudo mkdir /etc/adobe&lt;/span&gt;&lt;br style=&quot;background-color: black; color: #f3f3f3;&quot; /&gt;&lt;span style=&quot;background-color: black; color: #f3f3f3;&quot;&gt;$ sudo echo &quot;OverrideGPUValidation = 1&quot; &amp;gt;&amp;gt; /etc/adobe/mms.cfg&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/1913293707810051307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/04/sluggish-flash-player-in-fullscreen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/1913293707810051307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/1913293707810051307'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/04/sluggish-flash-player-in-fullscreen.html' title='Sluggish flash player in fullscreen mode on ubuntu'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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-574976182566557471.post-5070331318694136519</id><published>2011-02-12T15:02:00.000+02:00</published><updated>2011-02-12T15:02:28.570+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Creating a folder with limited size</title><content type='html'>To create a folder with fixed size, one of the solutions is to create a limited size filesystem and mount it.&lt;br /&gt;
&lt;br /&gt;
Create a file that will be a container of the filesystem. Just take ANY file on your system that has a suitable size, or create one by&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ dd if=/dev/null of=~/myfs bs=SIZE_OF_BLOCK_IN_BYTES count=SIZE&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Format the file with the FS you want&lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;&lt;span style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;$ mkfs.ext4 ~/myfs&lt;/span&gt;&lt;/div&gt;It will say that it creates an FS on a non-block device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mount the FS &lt;br /&gt;
&lt;div style=&quot;background-color: #444444; color: #f3f3f3;&quot;&gt;mount -o loop,rw,usrquota,grpquota ~/myfs&amp;nbsp; /path/of/mount/point&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntu-answers.blogspot.com/feeds/5070331318694136519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/02/creating-folder-with-limited-size.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/5070331318694136519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/574976182566557471/posts/default/5070331318694136519'/><link rel='alternate' type='text/html' href='http://ubuntu-answers.blogspot.com/2011/02/creating-folder-with-limited-size.html' title='Creating a folder with limited size'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12806374501541142724</uri><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>3</thr:total></entry></feed>