Wednesday, February 29, 2012

Arte+7 Downloader

sudo add-apt-repository ppa:vincent-vandevyvre/vvv
sudo apt-get update
sudo apt-get install qarte

Increase download speed

A good method to increase download speed is to use console downloaders (Axel and Prozilla). FlashGot plug-in in Firefox provides an easy way to administer/change download managers. (Could not yet find a script to use Prozilla with FlashGot, but there is one for Axel. See below.)


sudo add-apt-repository ppa:tldm217/
sudo apt-get update
sudo apt-get install prozilla

General usage

        proz download_link

Resume download

        proz -r download link

Limit download speed (at 20000 bps)

        proz --max-bps=20000 download_link

Do FTP search

        proz -s download_link

More download options

        proz --help

sudo apt-get install axel

axel -h

to download from different mirrors

axel -S http://.............

The best thing is to integrate Axel as default download manager in Firefox (through FlashGot) and in Chromium (through Simple Get).

to create script, paste THAT in a text and save anywhere:

cd Desktop
gnome-terminal -e , --command="axel $1 -n 10"


Then set  FlashGot and Simple Get to use that script file as downloader executable.

According to circumstances, Axel or Prozilla will prove the fastest (up to the limit of your bandwidth) or the most able to capture reluctant download links (e.g. Axel may not work in such cases when used as default download manager, so then use Firefox plugins like DownloadHelper, FlashGot, DownThemAll or UnPlug to get that stubborn link in the built-in downloader, so that, although it would not  download, the link would be copied: then, paste it in the terminal with Axel and Prozilla and see what happens.

Sunday, February 26, 2012

Hide system tray icons

Some system tray icons are less useful or are uglier than others. A maniacally customized monochrome desktop may be ruined by a rebellious tray-icon like that of Skype or Clementine or VLC.
Luckily the Xfce panel allows (Windows-like) to hide icons from Notification Area (right-click under the battery icon for example) and check them. They are easily accessible by a small arrow.

Remove unwanted ppa

 (found it here).
Install GetDeb repository - install this deb

sudo apt-get install ppa-purge
 to remove a certain ppa:
sudo ppa-purge PPA 
 (replace PPA with the specific name) 

Flash Player seems to be missing in Firefox or Chromium

although it is installed and reinstalled.
In Synaptic Manager check to have installed flashplugin-installer  instead of adobe-flashplugin. If that does not work,
I SOLVED like this:
download ADOBE flash as archive (click to install go to website and try to get the tar.gz archive)
- unpack
- take file and put it in /usr/lib/mozilla/plugins ('gksudo name-of-file-explorer' to open in root)
- do the same in /usr/lib/chromium-browser/plugins
(try the same for other browsers if needed: works in Opera - /usr/lib/opera/plugins)

solution inspired from here

If the wireless is stuck as if disabled by hardware

(it happens in some laptops when you use the wireless button a lot) and you cannot physically enable it,  try in Terminal:

sudo rfkill unblock wifi

How to fix Skype video in UBUNTU 11.10, 12.04, 12.10

Paste in Terminal  to create a blank file :

sudo gedit /usr/local/bin/skype

(that if gedit is your text editor)

There, paste the following:

LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/ /usr/bin/skype

save and close

Now to make the file executable, copy and paste the following line into Terminal.

sudo chmod a+x /usr/local/bin/skype


start skype

thanks to this source, including the change suggested by JuliusP0pp in his comment there

How to make the Xfce xkb keyboard layout plugin to remember settings after reboot.

I found two files involved in this: /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml and /home/user/.config/xfce4/panel/xkb-plugin-43.rc (the last number varies in the name) I have seen that the second has the options that are created when you change settings, but these are not saved on session logout. So the other one has to be edited.

First make the desired settings in Settings Manager/Keyboard and in the plugin options. Then edit the two files mentioned so as to have the same options. In fact the xml file is the one that contains the data to be loaded after logout, but it does not contain the shortcut to change layout. Anyway, this shortcut will be remembered if the other data in the rc file are not different from those in the xml file.

The file xkb-plugin-43.rc should look like this:

The keyboard-layout.xml should look like this:
<?xml version="1.0" encoding="UTF-8"?>

<channel name="keyboard-layout" version="1.0">
  <property name="Default" type="empty">
    <property name="XkbDisable" type="bool" value="false"/>
    <property name="XkbLayout" type="string" value="ro,us,fr"/>
    <property name="XkbVariant" type="string" value=",std"/>

Monday, February 20, 2012

See disk space & folder size

With Baobab - in SYNAPTIC. Might be already installed as part of gnome-utils (sudo apt-get install gnome-utils)

Or K4DirStat
sudo add-apt-repository ppa:jeromerobert/misc
sudo apt-get update
sudo apt-get install k4dirstat

Monday, February 13, 2012

Install from PPA (Deadbeef player example)

Some of the good stuff is unavailable in Ubuntu Software Manager,  Synaptic Package Manager, or as deb file to download and install, and have to be installed "from PPA". I got all the information from here.
What it says is the following:
("Important: The contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.")

Enter in Terminal:

sudo add-apt-repository ppa:user/ppa-name

This means that in the case of Deadbeef player you should enter in Terminal:

sudo add-apt-repository ppa:alexey-smirnov/deadbeef 

To tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:

sudo apt-get update
 Now you're ready to start installing software from the PPA!
This means that for installing Deadbeef player you must add in Terminal:

sudo apt-get install deadbeef 

(replace with the name of your desired application)

Foobar2000 & Ubuntu: split cue files with Foobar in Ubuntu

The looks are not that great but Foobar works in Ubuntu through Wine (and I did not even set up the tweaks recommended by the geeks).

I am not using it all the time. The point of Foobar (just like that of Firefox) is to use it with a lot of add-ons, and so it can get heavier than other players (not that bad, over 60mb), the "facets" feature doesn't look as it should and often Foobar may freeze or crash (I should have made those tweaks!).
I use DeaDBeef player instead when I want simple access to my music library, or a lighter player like Audacious, Quod Libet or qmmp (and why not VLC or SMPlayer) just to play files or radios. But when I really need thorough access to something in my library, Foobar is the way.

A lot of the other features of Foobar are there to try. I did not have the occasion to try too many. The tagging feature seems to work.
I was pleasantly surprised to see that the converting ability of Foobar is working in Ubuntu, and can be used to split big single disk or album files according to the cue list. In Windows I was not even using  Foobar for splitting, for I used Medieval cue splitter, but in X(ubuntu) I tried it in Foobar and it's even simpler! Just load the cue file in a playlist - as if to play it: and it should play in Foobar - then select all files and convert them the usual way. Foobar sees the original file as multiple files and converts accordingly. 

Use Gdebi Package Manager to install .deb files

Ubuntu Software Center is a GUI made to help users install and uninstall stuff on their Ubuntus, but is very heavy and cumbersome.

The Synaptic Package Manager is better and less intuitive. No alternative to that. The lightest path to install/uninstall is the Terminal, but it is geekier.

When you are lucky enough to have a program package in the .deb format it will usually open in Ubuntu Software Center. Too heavy for Lubuntu, which still uses the very light Gdebi Package Manager, a small utility to install deb files. When I installed LXDE desktop environment to check it out (see my page "What is Ubuntu / Kubuntu etc") I discovered Gdebi as the main installation GUI. To get it open Synaptic Package Manager, search "gdebi", check it right-click for installation and apply. 
And after that it would be a good idea to associate deb files with Gdebi.

Sunday, February 12, 2012

Better than JDownloader in Ubuntu

I find JDownloader excellent but much too heavy sometimes. In Windows I preferred ochDownloader (no Java!), but couldn't make its Linux version work. (Started its Windows portable version in Wine, but although worked, it has issues. - While Tucan - still mentioned by Ubuntu users - stinks in Windows and is not even working in Ubuntu 11.10)
Free Rapid Downloader (FRD) although still Java-based is not so heavy as JD and can be used in Ubuntu. It has a portable version, just execute the file. (In file's properties, permissions, check "allow to run as a program".) The error message that keeps popping-up is of no consequence.