http://www.howtoforge.com/the_perfect_desktop_pclinuxos_2007
Powered by ScribeFire.
Posted in linux on January 11, 2008| Leave a Comment »
Posted in linux on January 11, 2008| 1 Comment »
For Chinese support, you need to do the following:
1. install Chinese fonts from Fonts Install.
2. Install scim, scim-pinyin from Package Manager.
3. Install stardic, stardic dictionaries from Package Manager.
For Japanese and tranditional Chinese, you can choose install
language at very begining of installation. For Korean, just follow the
Chinese, install proper fonts and scim input methods.
How to Input Chinese in PClinuxOS 2007?
In English KDE Desktop, install Scim, Scim-pinyin (in Package Maganer, search scim, and select scim scim-pinyin to install).
Add the following lines in /etc/sysconfig/i18n
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
XIM_PROGRAM="scim -d"
XMODIFIERS=@im=SCIM
Powered by ScribeFire.
Posted in linux on January 11, 2008| Leave a Comment »
Posted in linux on January 10, 2008| Leave a Comment »
You have to enable universe packages first. It is also recommended that you use the official winehq ubuntu package:
1) Open a terminal
2) Open /etc/apt/sources.list
sudo gedit /etc/apt/sources.list
3) Uncomment (or add) following lines:
deb http://us.archive.ubuntu.com/ubuntu edgy universe
4) Add this line:
deb http://wine.budgetdedicated.com/apt edgy main
5) Close gedit. Update and install wine and cabextract:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install wine cabextract
6) Download IEs 4 Linux and install
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux
Note for Dapper users: if you use ubuntu dapper, replace edgy with dapper on lines above.
Note for Feisty users (7.04): if you use ubuntu Feisty, replace edgy with feisty in the lines above.
Also replace gedit with kedit if running Kubuntu instead of Ubuntu.
For “Fiesty” K/Ubuntu Users (and 64-bit “Fiesty):
Powered by ScribeFire.
Posted in linux on January 10, 2008| Leave a Comment »
Posted in linux on January 10, 2008| Leave a Comment »
Posted in linux on January 10, 2008| Leave a Comment »
Powered by ScribeFire.
Posted in linux on January 10, 2008| 1 Comment »
Speed up your File System
About
Ubuntu Linux, unless you have set it up otherwise, uses the EXT3 system
by default. It’s a pretty good system. There are 3 journaling methods
for EXT3 system.
By default Ubuntu chooses “journal data ordered”. In data=ordered
mode, ext3 only officially journals metadata, but it logically groups
metadata and data blocks into a single unit called a transaction. When
it’s time to write the new metadata out to disk, the associated data
blocks are written first. data=ordered mode effectively solves the
corruption problem found in data=writeback mode and most other
journaled filesystems, and it does so without requiring full data
journaling. In general, data=ordered ext3 filesystems perform slightly
slower than data=writeback filesystems, but significantly faster than
their full data journaling counterparts.
To speed it up, we are going to change it to the data=writeback system.
Tweak
And you’re done.
Concurrent Booting
About
Concurrent booting allows Ubuntu to take advantage of dual-core
processors, as well as processors that hyperthread or multithread or
what ever the different companies call it now.
Tweak
And you’re done.
Swapping
About
Swappiness takes a value between 0 and 100 to change the balance
between swapping applications and freeing cache. At 100, the kernel
will always prefer to find inactive pages and swap them out; in other
cases, whether a swapout occurs depends on how much application memory
is in use and how poorly the cache is doing at finding and releasing
inactive items.
The default swappiness is 60. A value of 0 gives something close to
the old behavior where applications that wanted memory could shrink the
cache to a tiny fraction of RAM. For laptops which would prefer to let
their disk spin down, a value of 20 or less is recommended.
Tweak
And you’re done.
Broadband Internet
About
These are various tweaks taken from various places. Here is an article that explains them all if you would like to read it in depth.
Tweak
And you’re done.
IPv6
About
IPv6 is an internet protocol. Most of your software uses IPv4 though and it causes conflicts.
Tweak
And you’re done.
Boot Profile
About
You have just made a lot of changes to your system. Re profiling your
boot will reorganize it and make it faster on boots afterwards.
Tweak
And you’re done.
Free More Memory
About
We’re going to free up more RAM by disabling some virtual consoles that
use up memory even though most people never use them. To do that, we
need to edit the inittab file in the /etc directory.
Tweak
And you’re done.
Make OpenOffice Faster
About
To make OpenOffice snappier, you can adjust the way it uses memory.
Tweak
And you’re done.
Get Faster Menus
About
You can make menus more responsive by telling Ubuntu to zero-delay them.
Tweak
Now you are done and you can enjoy your faster Ubuntu System.
Powered by ScribeFire.
Posted in linux on January 10, 2008| Leave a Comment »
I’m writing this topic because lots of people came to the
#linuxmint.com IRC channel asking quite similar questions. This HowTo
is not yet complete as it does not speak about the USB support but that
will be updated one day. (Hopefuly)
For those who don’t know
what VirtualBox is in short : VirtualBox is a virtual machine which
virtualizes a x86 PC and thus enables you to run another operating
system inside yours.
So let’s start:
INSTALLATION
There
are various versions of VirtualBox. There is a commercial binary
version and open source version. Both are free of charge for personal
use and the binary version has some benefits over the OSS one. This
howto is based on the binary version.
There are also several
ways on how to install the VirtualBox. My preferred way is to edit the
/etc/apt/sources.list file and add this line into it :
On Gutsy based Mint (Daryna) :
deb http://www.virtualbox.org/debian gutsy non-free
On Feisty based Mint (Cassandra, Celena) :
deb http://www.virtualbox.org/debian feisty non-free
then download the public key for security and add it to repository, finally remove the key file as it is useless afterwards:
wget http://www.virtualbox.org/debian/innotek.asc
sudo apt-key add innotek.asc
rm innotek.asc
after this you just run
sudo apt-get update
sudo apt-get install virtualbox
WARNING
: This will ultimately update the WHOLE package base you are using, it
will NOT install any new software but the software list will become up
to date for the later installations. This means that some software
which made it to the repos and wasn’t thoroughly tested might replace
the stable versions in the repository by default. Normally this
shouldn’t be a problem but the Mint philosophy is to have the stablest
system possible even if it means not to have bleeding edge software.
The other way is to download directly the .deb files here :
http://www.virtualbox.org/wiki/Downloads
Again use Ubuntu 7.04 (“Feisty Fawn”) i386 for Cassandra/Celena and Ubuntu 7.10 (“Gutsy Gibbon”) i386 for Daryna.
to run the VirtualBox you will need to install one additional package:
sudo apt-get install libxalan110
then go to the folder where you have downloaded the .deb file and run:
sudo dpkg -i virtualbox_*
Well
done, virtual box is now installed, but not ready to run, you will have
to add all users who wish to use it to the ‘vboxusers’ group.
To do this run :
sudo usermod -a -G vboxusers YOUR_LOGIN_NAME
Great, now you are good to go, you can run virtualbox now.
It will welcome you with a nice screen like this (with no virtual machines created yet):
IMPORTANT NOTICE :
VirtualBox
can run almost any system running on the x86 architecture this includes
Linux, Solaris, DOS, OS/2, BSD and all Windowses from 3.1 (including
Vista). But to run any proprietary system you have to have a LEGAL copy
of this system and it has to be a bundle version (not OEM one which is
tied to the PC with which you have bought it).
MACHINE CREATION
I’ll guide you through the first virtual machine creation, it is wizard like so it’s pretty easy:
Let’s say we want to create a machine running windows XP.
– Click on the New button under the menu.
– Give a nice name to your machine.
– Select the OS type (this will determine the icon and some default values)
– Next
–
Now choose the RAM allocated for the virtual machine. Don’t go below
the default value (192MB for XP) but don’t allocate too much memory
hence your computer will crash. I wouldn’t recommend allocating more
memory than your RAM minus 512MB. (512MB is quite enough for any
windows except Vista)
– Next
– Define your default harddrive
– Click on New -> Next
–
Choose “Dynamically expanding image”, the other option is good only if
you have a huge harddrive and don’t know what to do with all that
place.
– Next
– Leave the name be, it’s the best option anyways
–
Estimate well how much place you want to give to your virtual machine
as the disks cannot be resized. With dynamic harddrives you don’t have
to worry about actual space on your harddrive just be sure it won’t
overgrow it.
– Next
– Finish
– Next (the newly created harddrive is already selected)
– Finish
OK the machine is created now let’s configure a thing
Select the machine and click Settings :
General -> Basic :
Boost the video memory up to 64 or something.
CD/DVD-ROM :
Check ‘Mount CD/DVD Drive’
Either insert your installation CD into the computer and choose ‘Host CD/DVD Drive’
OR
– If you have the iso image for installation (like linux distributions or windows images from MSDNAA) choose ‘ISO Image File’
– Click the ‘select’ icon
– Click ‘Add’
– find your image
– choose it in the list and click ‘select’
Audio :
Check ‘Enable Audio’ and choose ‘ALSA Audio Driver’
That’s it, now select your machine and click ‘Start’
If all went well the machine will boot on the Installation CD you inserted into it. Process through the install.
Still
haven’t finished. To enable some neat features like seamless mode,
mouse follow mode and folder sharing you have to install the Guest
Additions into your system.
So start up your machine. When it comes up click on Devices -> Unmount CD/DVD ROM (if there is anything).
Then Devices -> Install Guest Additions. This will insert a CD with the installer into the machine.
The installation is different for Windows and Linux guests.
On windows guests:
The
CD should autorun (if not go to My Computer and force the autorun). Use
the wizard to proceed with installation. Windows will complain about
unsigned drivers but ignore all the warnings. Restart the machine. Note
that without this step you won’t be able to have more than 16 colors on
older Windows systems (like Windows 2000) so be sure not to skip it.
On linux guests:
Mount the CDROM drive (if it is not automounted) on most linuxes it would be something like this:
mount /media/cdrom/
go into the cdrom directory
cd /media/cdrom
finally run the installer
sudo ./VBoxLinuxAdditions.run
reboot your linux guest (not the host)
Now you have the guest additions which bring you:
Shared clipboard
Graphic driver
Shared folders
Seamless mode
Following cursor (so you don’t have to lock it in the virtual machine window)
Powered by ScribeFire.
Posted in linux on January 10, 2008| Leave a Comment »
—————————————————
HowTo
—————————————————
1. back up your /etc/fonts folder somewhere just to be safe =)
2. Run the following command in terminal
sudo apt-get install msttcorefonts
3. Download the following:
http://localhostr.com/files/f1f6f300383aa38e236c.tbz
4. Extract all of the files in the .tbz into the folder “/etc/fonts”
5. Log off and log back on
6. Enjoy!
This is my first howto so tell me if anything is wrong!
Also, please leave feedback.
To restore the old font style, delete the file in your “/etc/fonts”
folder called “local.conf” then log off and the fonts will be normal.
If that doesn’t work, you can delete everything in your /etc/fonts
folder and replace it with the backup you made. Also, thanks to whoever
made this a sticky
Powered by ScribeFire.