Usbstrageapple update

February 6, 2009

If your output is:
E: /var/cache/apt/archives/usbstorageapplet-it-it_1.1.69-1_i386.deb: tentata sovrascrittura di `/usr/share/apps/usbstorageapplet/messages/usbstorageapplet_it_IT.qm’

You can fix this error with:

sudo apt-get remove asus-usbstorageapplet-update-2 --purge

How to install OpenOffice 3 on Xandros

February 3, 2009

Installation method for in Advanced mode

Attention:

this is a fuzzy tutorial, ooo3 doesn’t work property on my eeepc.

To get the newest ooo we will need to remove the existing version of ooo by doing

$ sudo apt-get remove openoffice*

This will remove all openoffice programs

Now obtain the newest version of ooo here

http://www.openoffice.org/

Unpacking the files

we want to unpack it by doing

$ mkdir /home/user/.OpenOffice3
$ mv OOo_3*_deb.tar.gz ./OpenOffice3
$ cd ./OpenOffice3
$ tar -xvf OOo_3*_deb.tar.gz

This will create a folder called OOG680_m9_native_packed-1_en-US.9238 so cd into that

$ cd OOG680_m9_native_packed-1_en-US.9238

and now we want to cd into the DEBS folder

$ cd DEBS

From here we want to install all the packages by issuing the command

$ sudo dpkg -i ooobasis*
$ sudo dpkg -i openoffice.org*

This will install the newest version of ooo

Now there is a problem with the standard install that it doesn’t create symlinks to /usr/bin/ so we want to do that by issuing the following commands

sudo ln -s /opt/openoffice.org3/program/swriter /usr/bin/
sudo ln -s /opt/openoffice.org3/program/scalc /usr/bin/
sudo ln -s /opt/openoffice.org3/program/simpress /usr/bin/
sudo ln -s /opt/openoffice.org3/program/sbase /usr/bin/
sudo ln -s /opt/openoffice.org3/program/soffice /usr/bin/
sudo ln -s /opt/openoffice.org3/program/smath /usr/bin/
sudo ln -s /opt/openoffice.org3/program/sdraw /usr/bin/

in this way we can run any openoffice program from console just by issuing either of the s* commands (eg. swrite for the ooo writer)

Menu icons in advanced mode and remember file type association

To get icons in the startmenu in advanced mode, and to make the system remember the file type association in easy mode, we need to install another package located in the DEBS folder mentioned earlier

When in the DEBS folder cd into the folder desktop-integration

cd desktop-integration

and do

sudo dpkg -i openoffice*

Now all the menu entries under advanced mode is located under the office entry and the file types when double clicked in the file manager will open with the correct app.

(You may have to run this command with the ”–force-overwrite” option, i.e.

sudo dpkg --force-overwrite -i openoffice*

when it complains about “trying to overwrite `/usr/bin/soffice’, which is also in package staroffice-desktop-integration”, lest it doesn’t create the shortcuts in the “Office” menu.)

Error fix:

  • If you your terminal show output like this:

    /usr/bin/soffice: line 124: /opt/openoffice.org3/program/../basis-link/program/pagein: No such file or directory
    /opt/openoffice.org3/program/soffice.bin: error while loading shared libraries: libuno_sal.so.3: cannot open shared object file: No such file or directory

    after typed “swriter” in the terminal, you probably forgot to install ooobasis*’ pakages. Please, see above for more details.

Original source:

http://wiki.eeeuser.com/howto:ooo2.3


Ultima Online and Linux

January 5, 2009


Introduction:
In this tutorial I will explain how to play UO on Ubuntu.
I personally tested this installation method, these are my system references:
Kubuntu 8.04
Wine 1.0
cpu: athlon 1 GHz
ram: 712 Mb
Ati Radeon RV200 QW [Radeon 7500] (64Mb ram)

Consideration
The game is playable, but for pvm only. The game skips a little (like a slight lag), so using this hardware I will never conquer Felucca fields.
EasyUo is partially supported. For example, scripts with hotkeys feature don’t work (on my system, with my wine version: I don’t know about the future).

Installation:
First of all, let’s install wine:

$ sudo apt-get install wine

Than, we must configure wine emulator:

$ winecfg

So:

  • Application -> Version -> win 2000
  • Audio -> check “ALSA Driver”
  • Audio -> Hardware Acceleration -> full
  • Audio -> check “Driver Emulation”

Now, we can download and install UO client
Simply move to the uo clent folder and type:

$ wine setup-YourClientVersion.exe

Well, now we can upgrade our client version. We can’t upgrade to the latest version. That is it because UORice, the program to encript our UO installation, is unfortunately no loger supported since a few months (more info about it).

Move to the UO installation directory:

$ cd ~/.wine/drive_c/Programmi/EA\ Games/Ultima\ Online\ Mondain\’s\ Legacy/

and type:

$ wine uopatch.exe

Pay attenction, do not upgrade after 6.0.5 version of the client. Simply click “cancel” button to stop upgrade process.

Now, you can download UORice (please, google it in order to find a download mirror; I found the 3.5 v).

$ unzip uorice.zip
$ mv uorice.exe ~/.wine/drive_c/Programmi/EA\ Games/Ultima\ Online\ Mondain\’s\ Legacy/

$ cd ~/.wine/drive_c/Programmi/EA\ Games/Ultima\ Online\ Mondain\’s\ Legacy/
$ wine uorice.exe

Wait for pach applying… ok, next step.

You can modify with a text editor the login.cfg file to play in your favourite shard.

$ cd ~/.wine/drive_c/Programmi/EA\ Games/Ultima\ Online\ Mondain\’s\ Legacy/

$ vim login.cfg

Save and quit.

Now we can finnaly run the client!
Just:

$ cd ~/.wine/drive_c/Programmi/EA\ Games/Ultima\ Online\ Mondain\’s\ Legacy/
$ wine No_Crypt_Client_2d.exe

Extra:
You can easily create an alias to run the client. Error occurs, so I suggest to use:

alias ultima=’cd ~/.wine/drive_c/Programmi/EA\ Games/Ultima\ Online\ Mondain\’s\ Legacy/ ; wine No_Crypt_Client_2d.exe’


How to install Skype on Ubuntu

November 21, 2008



Add the official Skype repository

In Ubuntu:

  • sudo gedit /etc/apt/sources.list

In Kubuntu:

  • sudo kate /etc/apt/sources.list

And insert:

## REPOSITORY SKYPE
deb http://download.skype.com/linux/repos/debian/ stable non-free

Save and quit the editor.

Update the package information

sudo apt-get update

Install Skype

sudo apt-get install skype

Source:
https://help.ubuntu.com/


KWordQuiz

November 1, 2008

Introduction:
KWordQuiz is a general purpose flash card program. It can be used for vocabulary learning and many other subjects.

Installation:
$ sudo apt-get kwordquiz

Comment:
Smart and easy to use. The main window is clear as day

and the three different methods to check the vocabulary list are amazing.

Source:
http://edu.kde.org/kwordquiz/index.php


Disk resize with qtparted

October 30, 2008

QtParted is a program for Linux which is used for creating, destroying, resizing and managing partitions. It uses the GNU Parted libraries and is built with the Qt toolkit.

QtParted is a KDE alternative to Gparted

Installation:
$ sudo apt-get install qtparted

Source:
http://en.wikipedia.org/


Enable update in PlaneShift 0.4.01

October 27, 2008

By default, the update service is disabled. To fix this mistake, just:

In Kubuntu:

  • $ sudo kate /opt/PlaneShift/updaterinfo.xml

In Ubuntu:

  • $ sudo gedit /opt/PlaneShift/updaterinfo.xml

Then, change the top line to be “true” instead of “false
Save and exit. Now you are enabled to update your ps installation.


$ sudo /opt/PlaneShift/psupdater


Source:
http://hydlaa.com/


How to set-up a FTP server

October 25, 2008

Introduction:
File Transfer Protocol (FTP) is a network protocol used to transfer data from one computer to another through a network such as the Internet.

Installation:
Type in a terminal:

$ sudo apt-get install vsftpd

A folder /home/ftp is created. All files placed there can be viewed and downloaded from our ftp user (by default, usr: Anonymous pwd: -no password-).

$ sudo /etc/init.d/vsftpd start

You can browser the content of your ftp folder at ftp://localhost or ftp://YourLocalIpAddress (how to find your local ip adress)

Start, stop, restart FTP services

$ sudo /etc/init.d/vsftpd start
$ sudo /etc/init.d/vsftpd stop
$ sudo /etc/init.d/vsftpd restart


Source:

Server/Ftp - Wiki di ubuntu-it

How do I find out what my local ip address is?

October 25, 2008

Just type in a terminal:

$ ifconfig


Disable autocomplete in OpenOffice

October 23, 2008

While we tape, OpenOffice tries to suggest the end of the word we are taping to. To disable this (argh! annoying!) feature, just:

Tools -> AutoCorrect/AutoFormat

In “Word Completion” tab, uncheck “Enable word completion

Press “Ok” button


Source:
http://nowacki.org/