Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Saturday, November 06, 2010

Xampp on Ubuntu maverick 10.10 64 bit

* downloaded development package and stable package
* extracted to /opt

sudo /opt/lampp/lampp start 
causes mysql was not started with following error in /opt/lampp/var/mysql/copmuter.err
101106 20:18:59 mysqld_safe Starting mysqld daemon with databases from /opt/lampp/var/mysql
101106 20:18:59 [Note] Plugin 'FEDERATED' is disabled.
/opt/lampp/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
101106 20:18:59 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
101106 20:18:59  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name /opt/lampp/var/mysql/ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
101106 20:18:59 mysqld_safe mysqld from pid file /opt/lampp/var/mysql/ms-HP-620.pid ended 

following helped:
 sudo chown -R nobody /opt/lampp/var/mysql

Saturday, September 18, 2010

Colorfull gnome terminal

Most popular distro Ubuntu in current version 10.04 comes with gnome terminal as default. But colors have gone. Gnome terminal uses colors for ls listing. But to less.
Edit your .bashrc

"gedit ~/.bashrc"

Allow force_color_prompt=yes, probably just remove opening #
"force_color_prompt=yes"

I altered the color schema as well. I like white on black background.
"Edit -> Profile settings -> Colors" - choose your desired built-in scheme or make your own

Thursday, November 12, 2009

Resolve failed connect from Wii Mplayer CE to Samba server

In HomeBrewChannel I've got installed MPlayer CE. This software enables connect to samba shares. Follow these steps to working this connection success full:

1. configure samba access on SD cars, in file /apps/mplayer ce/smb.conf according to readme from mplayer distribution
2. change parameter security in /etc/samba/smb.conf on your pc (samba server)
set security=user
3. voila you got it

Ubuntu 9.10 and error when installing Adobe Air

I tried install Adobe Air. All cases with the error alert:
An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator


But these steps helps:
1. in synaptics remove broken package adobeair
2. sudo rm /opt/Adobe -R
3. sudo rm /etc/opt/ -R
4. sudo apt-get remove adobe-certs
5. sudo dpkg --purge adobe-certs


I got it :) Adobe Air installed on karmic koala.

Tuesday, November 10, 2009

Ubuntu Fixes - too big font in KDE (Kubuntu)

Bug Description:
I upgraded from 9.04 to 9.10 karmic koala. Then I installed xubuntu-desktop and kubuntu-desktop. After the login to KDE are fonts too big e.g. menu entries are on the hlaf of screen.

Solution:
sudo gedit /etc/kde4/kdm/kdmrc
line ServerArgsLocal add parameter -dpi 96

Saturday, September 26, 2009

Ubuntu 9.04 jaunty, kernel 2.6.30 and Broadcomm wireless drivers

Oh long story ... I upgraded ubuntu jaunty to kernel 2.6.30 because I had troubles with freezing my Intel GMA 945 internal graphics. Fine and everything went OK. But...

My wireless network was gone.

Here is solution:
* On http://www.broadcom.com/support/802.11/linux_sta.php download driver (32, 64b according to your pc)
* carefully read http://www.broadcom.com/docs/linux_sta/README.txt
* do step included in this readme

Wait, wait, wait - about 20 seconds, and my wicd recognized many wireless networks including mine :)

For autoloading of this module you need:
*
sudo mkdir /lib/modules/2.6.30-xxx/broadcomm-wlan/

*
sudo mv wl.ko /lib/modules/2.6.30-xxx/broadcomm-wlan/

* refresh modules
sudo /sbin/depmod -ae

*
sudo gedit /etc/modules

* add new line with "wl"

Saturday, April 26, 2008

How fix too big font in ubuntu login screen

I read many solutions, how fix too big font in ubuntu login screen on many forums. This one easy works for me:

1. Open System->Preferences->Appearance
2. Select the "Fonts" tab
3. Click the "Details" button (lower right)
4. Adjust the Resolution down to 96dpi
5. Make sure you have Subpixel (LCD) Smoothing enabled
6. Save the preferences
The change for X restart after Ctrl+Alt+BckSP was not successful, but real computer restart did it.