RadioTray not playing some http urls

open ~/.gstreamer-0.10
remove or rename the registry.x86_64.bin
Open your music player.
It’ll regenerate the registry file and correctly use the aac plugin.

Source: here

Reparare sistem de fisiere ext4:

sudo fsck.ext4 /dev/sda3 [-p|-a]  sau

e2fsck -f -v -y /dev/sda3 [aceasta comanda e utilizata de gparted, la aplicarea optiunii “Check”] (alte informatii aici si aici)

Firefox intra in modul “Work offline” la fiecare pornire


Se foloseste alt manager de retea (wicd, in cazul meu), iar firefox-ul interogheaza doar network-manager, nu si wicd, care il inlocuieste, si nu stie ca computerul este conectat la net (fie cu un modem USB, fie wireless / cablu / PPPoE).


se tasteaza ‘about:config‘ in address bar (se accepta indicatia firefox-ului de a nu ‘strica’ nimic), se cauta optiunea  ‘toolkit.networkmanager.disable‘ (se poate folosi campul de filtrare) si se seteaza pe true. (kudos:

Dupa update de kernel, Kubuntu nu mai vede placile de retea (wired/wireless)


  • update-ul (automat al) kernel-ului.


  • /sbin/ifconfig -a
  • sudo dhclient3 eth0 (wlan0)


  • instalare wicd: sudo apt-get install wicd

Pango-WARNING **: shaping failure, expect ugly output.

I had the same problem with firefox 3.6.3 (not that the version matters…).


Este o eroare provenita de la fonturi instalate incorect sau cu drepturi de acces nepotrivite.


I tried some simple things:

  • I ran firefox as normal user (firefox in the console) -> it happened as described in this forum (no text, and the console was full of errors like: “Pango-WARNING **: shaping failure, expect ugly output. shape-engine=’BasicEngineFc’“).
  • I ran firefox as root (sudo firefox from the console) -> everything was OK (the console was clean).

So, the most simple solution was to delete all the fonts (as root):
cd /usr/share/fonts/truetype/msttcorefonts
rm -rf *
and reinstall them (as normal user):
sudo apt-get install msttcorefonts
here i ran into another smaller problem with a ttf font installer, so I had to do:
sudo apt-get remove ttf-mscorefonts-installer
sudo apt-get install msttcorefonts

Starting KTTSD failed

Este o eroare provenita de la lipsa pachetului KTTSD (text-to-speech).


pachetul kttsd nu e instalat si apoi:
1. exista o instalare anterioara de KDE (sau un backup/restore) care lasa in urma directorul .kde ce contine setari care implica acest feature
2. ceasul analog/digital este setat sa spuna ora prin text-to-speech


1. cea mai simpla: instalati  pachetul KTTSD  si dependintele sale, cu un total de ~ 24 MB – daca nu aveti limita/penurie de spatiu;
2. cautati si stergeti directorul .kde din home de la o fosta instalare KDE care instalase pachete din gama Accesibility, sau dezactivati folosirea feature-ului text-to-speech din programele/utilitarele care ruleaza – mai multe detalii aici si aici.

Redenumire fisiere din majuscule in ‘minuscule’


Am incercat sa uploadez pe niste poze preluate de pe camera mea , iar uploader-ul lor nu vedea decat fisierele cu extensiile scrise cu litere mici (minuscule?!), asa ca a trebuit sa le modific..


In Dolphin (managerul de fisiere default din Kubuntu) nu se pot modifica numele de fisiere bulk, si nu aveam chef sa fac iar comparatii intre file-managere, asa ca am trecut in clasica linie de comanda si am rezolvat usor (bine, dupa 5 minute de incercari si la sfarsit apeland la man [rtfm!]):

rename ‘y/A-Z/a-z/’ *

Samba suport in Kubuntu / Ubuntu 9.10

Basic Samba Setup in Ubuntu 9.10

Ubuntu 9.10 Karmic Koala has come out, and that means it’s time to explain how to do a basic Samba setup on the new version. All Terminal commands in this walkthrough are bolded, and USERNAME stands for your username on your Ubuntu system.

First, you’ll need to install Samba. Fire up a Terminal window and use this command:
sudo apt-get install samba
Follow the default prompts to install Samba. Now, Samba uses a separate set of passwords than the standard Linux system accounts (stored in /etc/samba/smbpasswd), so you’ll need to create a Samba password for yourself with this command:
sudo smbpasswd -a USERNAME
(USERNAME, of course, is your actual username.)
Type a suitably strong password (make sure it includes uppercase, lowercase, punctuation, and numbers). Once your password is created, the next step is to edit your /etc/samba/smb.conf file, the configuration file for Samba. Begin by creating a folder named ‘test’ on your home folder; we’ll use that for our test shared folder (you can create other shared folders using the same method):
mkdir /home/USERNAME/test
Next, make a safe backup copy of the original smb.conf file to your home folder, in case you make an error:
sudo cp /etc/samba/smb.conf ~
Now use your text editor of choice to edit smb.conf:
sudo gedit /etc/samba/smb.conf
(New users will probably find gedit the easiest to use due to its GUI; but you can use emacs or vi just as readily, especially if you’re using the server version of Ubuntu, which doesn’t include X11 by default.)
Once smb.conf has loaded, add this to the very end of the file:
path = /home/USERNAME/test
available = yes
valid users = USERNAME
read only = no
browsable = yes
public = yes
writable = yes

(There should be no spaces between the lines, and note also that there should be a single space both before and after each of the equal signs.)
These settings will share the test folder we created earlier, and give your username and your username alone permission to read and write to the folder. Once you have input the changes, save smb.conf, exit the text editor, and restart Samba with this command:
sudo /etc/init.d/samba restart
Once Samba has restarted, use this command to check that your smb.conf doesn’t contain any syntax errors:
sudo testparm
If you pass the testparm command, Samba should be working; try accessing the shared folder from another computer on your LAN.


« »