Feeds:
Posts
Comments

Archive for the ‘linux’ Category

http://www.howtoforge.com/the_perfect_desktop_pclinuxos_2007

Powered by ScribeFire.

Read Full Post »

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.

Read Full Post »

RPM repository for PCLinuxOS

http://www.pclinuxos.com/apt/pclinuxos/2007/RPMS.main/

Powered by ScribeFire.

Read Full Post »

IEs4Linux

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.

Read Full Post »

How to mount iso image file

mount -t iso9660 -o loop,ro /path/image.iso /mnt/mountpoint

Powered by ScribeFire.

Read Full Post »

http://tuxenclave.wordpress.com/2007/11/23/ubuntu-customization-guide-v2/

Powered by ScribeFire.

Read Full Post »

  1. The first thing I missed when I switched to Linux was a decent
    Nero replacement. I was actually surprised when this wasn’t installed
    by default with LinuxMint, but it was not hard to find, BEHOLD -> Brasero. I do know about K3B, but when the gnome alternative is working so well, why go for a KDE app?

  2. While we are in on the whole burning process, I think in it’s place to mention the very nice DVDshrink-“lookalike” called k9copy. Mmmmm, it smells like fresh-burning-backup-utility
  3. I do know it is possible to mount images in terminal, but it sucks, long live gui, and hence: ling live AcetoneICO2,
    but wait…. f**k! it isn’t in the mint softwareportal. Well, you can
    either install it through the package manager, or just write sudo aptitude install acetoneiso2 in the terminal.
    (apparently this does not work very well, try gmountiso instead, write sudo aptitude install gmountiso
    in terminal.)

  4. The
    second thing I needed for my Linux desktop was a
    nice-little-user-friendly-bittorrent-client-with-lots-and-lots-of-options-for-my-torrents
    (in other words, a uTorrent-replacement) And what do you know, another
    KDE app is on my list, please welcome KTorrent .

  5. Speaking of downloadingtools, the opensource alternative to limewire pro, Frostwire is nice to have. A great tool for getting those single songs you want so much.
    (A
    little note, some people are experiencing that you cant type anything
    into the search field, don’t panic, there is a easy workaround here .-> ” Simple workaround is to click the “x” in the Community Chat tab, should give you back keyboard input.”)

  6. I know Mplayer is installed, but I like VLC. Familiar from windows, and I can doubleclick for fullscreen (lame excuse i know, but I just like it better)
  7. For all my photos, I could use F-Spot, but I like Picasa better, This is not in the software portal either, so just download this .deb package and open it with GDebi (dubble click it after you downloaded it, n00b)
  8. I
    am a real sucker for eye candy, so if there is one thing that I think
    is really cool about Linux, it is compizfusion. But to play with this
    gift from the heavenly gods, you need a control center. Softwareportal
    doesn’t help us here either, so either you open your package manager,
    or you type sudo aptitude install compizconfig-settings-manager in terminal.

  9. Do you have a windows application that you need more than a transsexual needs a sex change? Then the glorious wine is your friend (some people prefer wine doors, nice gui…). It won’t run all windows apps, but it will help you with a lot of them. For games, check out Cedega
  10. The
    last thing on my list is a a fine little mac-lookalike-app. Allow me to
    introduce Cairo-Dock, an animated 2D launching dock much like the Mac
    Dock. It isn’t the easiest thing to install, but people help with
    precompiled .deb packages, nice thread about it on mintforums, the library files are made into a .deb file, and can be downloaded here (install this first), after you installed this, get your cairo-dock here.
    After installing both .deb packages, you start cairo-dock with the command cairo-dock .
    If you think this is too much of a hassle, try Avant, available in the softwareportal.

Powered by ScribeFire.

Read Full Post »

Speed up your File System

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.

  • Journal Data Writeback
  • Journal Data Ordered
  • Journal Data

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

  • Open your Grub boot menu.
  1. sudo nano -w /boot/grub/menu.lst
  • Look for the ”Defoptions” and ”Altoptions” and make them look like the entry below.
  1. # defoptions=quiet splash rootflags=data=writeback
  2. # altoptions=(recovery mode) single rootflags=data=writeback
  • You need to update your Grub since you have altered it.
  1. sudo update-grub
  • Now we are going to edit the Fstab because it will be expecting these options.
  1. sudo nano -w /etc/fstab
  • Now you are going to want to add the ”(data=writeback and
    noatime=0)” flags to your hard drive. It might be a little confusing
    because of the new naming system. Look for the ”(,errors=remount-ro)”
    and add it afterwards to make it look like our example.
  1. defaults,errors=remount-ro,data=writeback,noatime 0
  • Now you tell your system to use them both.
  1. sudo tune2fs -o journal_data_writeback /dev/”yourdrive”

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

  • These settings are located in your /etc/init.d/rc file. Lets open it up.
  1. sudo gedit /etc/init.d/rc
  • Look through the file and you will find ”CONCURRENCY=none”. You want to change it to:
  1. CONCURRENCY=shell

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

  • First we have to gain access to your /etc/sysctl.conf file.
  1. sudo gedit /etc/sysctl.conf
  • Just scroll to the bottom of the page and add the tag listed below.
    The number you want depends on how much ram you have and what you do
    with your system. Please read the about above this to make your
    decision. I have mine set to 0 on a dual core laptop with 1 gig of ram
    and have seen no issues and a good performance gain.
  1. vm.swappiness=0

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

  • You have to open your /etc/sysctl.conf file back up again.
  1. sudo gedit /etc/sysctl.conf
  • Then again, scroll to the bottom and just add these lines to it.
  1. net.core.rmem_default = 524288
  2. net.core.rmem_max = 524288
  3. net.core.wmem_default = 524288
  4. net.core.wmem_max = 524288
  5. net.ipv4.tcp_wmem = 4096 87380 524288
  6. net.ipv4.tcp_rmem = 4096 87380 524288
  7. net.ipv4.tcp_mem = 524288 524288 524288
  8. net.ipv4.tcp_rfc1337 = 1
  9. net.ipv4.ip_no_pmtu_disc = 0
  10. net.ipv4.tcp_sack = 1
  11. net.ipv4.tcp_fack = 1
  12. net.ipv4.tcp_window_scaling = 1
  13. net.ipv4.tcp_timestamps = 1
  14. net.ipv4.tcp_ecn = 0
  15. net.ipv4.route.flush = 1
  • You have to reset your sysctl for these to take effect.
  1. sudo sysctl -p

And you’re done.

IPv6

About
IPv6 is an internet protocol. Most of your software uses IPv4 though and it causes conflicts.

Tweak

  • We are going to create a file. Paste this into a terminal.
  1. sudo gedit /etc/modprobe.d/bad_list
  • Then paste this into the file and save and exit the file.
  1. alias net-pf-10 off

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

  • Reboot your PC.
  • When you come to your grub list, hit escape to see your grub menu.
  • Edit the topmost line and add the word below to the end of it.
  1. profile
  • Then just reboot the system.

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

  • Open your inittab file.
  1. sudo gedit /etc/inittab
  • Scroll down until you find the six lines that begin with:
  1. 1:2345:respawn:/sbin/getty 38400 tty1
  • Comment out the last four lines by adding the hash or “#” symbol in front of them
  • Save the file.

And you’re done.

Make OpenOffice Faster

About
To make OpenOffice snappier, you can adjust the way it uses memory.

Tweak

  • Launch the OpenOffice word processor.
  • Go to the Tools menu and select Options.
  • Select “Memory” on the left panel.
  • On the right side of the panel, reduce the number of Undo steps to
    a figure lower than 100. I suggest 30 or 20 steps, just to be safe. I
    don’t think I’ll have to undo more than that many commands.
  • Under graphics cache, set “Use for OpenOffice.org” to 128 MB,
    memory per object to 20MB, and set the number of objects under “Cache
    for inserted objects” at 20.

And you’re done.

Get Faster Menus

About
You can make menus more responsive by telling Ubuntu to zero-delay them.

Tweak

  • Open a new document in gedit and past this line into it:
  1. gtk-menu-popup-delay = 0
  • Save the file in your home directory (/home/your-user-name) under this name:
  1. .gtkrc-2.0

Now you are done and you can enjoy your faster Ubuntu System.

Powered by ScribeFire.

Read Full Post »

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):

Image

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.

Read Full Post »

—————————————————

HowTo

—————————————————

1. back up your /etc/fonts folder somewhere just to be safe =)

2. Run the following command in terminal

Code: Select all
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.

Read Full Post »

« Newer Posts - Older Posts »