gnu/linux

eee pc ubuntu psx (playstation emulator)

get and unpack psx
from there:

http://psxemulator.gazaxian.com/

find and install bios (get from your device)

install lib:

sudo apt-get install libgtkglext1

cd pSX
./pSX

Source: Roman's blog

eee pc ubuntu zsnes with sound


start it.

# zsnes -ad sdl {romfile}

Source: Roman's blog

Ubuntu Christian Edition: Don’t surf the web, walk on it

I found this a while back and it’s pretty old, but I just came across it again recently and had a good laugh. There’s an unofficial Ubuntu distribution called Ubuntu Christian Edition and this blog has a ton of hilarious[ly nerdy] “facts” about it, for example…

  • In Ubuntu Christian Edition, all documents are saved by grace through faith
  • With Ubuntu Christian Edition, you don’t need to surf the web — you can walk on it
  • For 40 days before Easter, Ubuntu Christian Edition works in text mode only
  • Ubuntu Christian Edition has the confess command that deletes your logs and caches

Source: Unity Behind Diversity

sox soxio: Failed reading : unknown file type

I began receiving this error in Ubuntu (after upgrading to Hardy 8.04 I think) whenever I tried to use the sox or play commands. Turns out the solution is pretty simple, sox had just lost its available format libraries.

sudo apt-get install libsox-fmt-all

Source: Unity Behind Diversity

Getting Hydrogen to work with JACK in Ubuntu Studio

I recently stumbled upon the Ubustu Feed when I began learning Ardour. They have a great tutorial on how to sync Hydrogen with Ardour:

This tutorial will show you how to sync up the digital audio workstation, Ardour, and the advanced drum machine, Hydrogen. This will allow you to have a full featured drum machine playing in perfect time with your Ardour session. Or, one hell of a fancy click track.

Source: Unity Behind Diversity

Installing eee Ubuntu 8.04

After some tries get it successfully in following most simplest way.

get by torrent linked there:


http://www.ubuntu-eee.com/index.php5?title=Get_Ubuntu_Eee

Tweaked by Ricey tweak

wget http://eee.ricey.co.uk/files/eee/RiceeeyTweak.sh
chmod +x RiceeeyTweak.sh
./RiceeeyTweak.sh

It is working fine after reboot.

Source: Roman's blog

eeeXubuntu 7.10 update of the kernel to 22-15

After update of kernel to 2.6.22-15 on Asus eeePC in eedXubuntu 7.10 wifi stopped working.
downloaded sources from sourceforge,

tar -xf madw*
cd mad*
sudo make all
sudo make install

hsven't got result; modprobe and other hints also are not working.
tried scripts from there -
http://code.google.com/p/eee-osd/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount
they are also not working.
now Just using previous version of the kernel to work with wifi.

Going to reinstall from scratch ubuntu 8.04

Source: Roman's blog

mc : can not ftp on ftp://xxx.xxx.xxx.xxx address

To browse on ftp in mc :
F9->Left->ftp link

If you insert ip address with 'ftp://' prefix,
ftp can fail with error of bad access for anonymous.

Just insert ip without any prefixes and postfixes, and then browse.

Source: Roman's blog

KVM on core 2 duo laptop Ubuntu / Failed :(

After successfull usage of KVM on my CentOS desktop,
started installation of kvm on Ubuntu (Xubuntu 8.04) on my Core2 duo laptop:

$ sudo apt-get install kvm
..
* Your system does not have the CPU extensions
required to use KVM. Not doing anything.
# check for presence of vitualization in cpu
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
stepping : 13
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no

Source: Roman's blog

Virtualization with KVM

Used this guide:
http://wiki.centos.org/HowTos/KVM to run virtual machine on my CentOS box.

Xubuntu run in 3-5 min's, that is 5-10 times faster than with native quemu virtualization from box.

For now I will use it as default virtual machine.

Tips for creation of new machine:

su
qemu-img create -f qcow2 disk.img 5G
qemu-kvm -hda disk.img -cdrom
/media/Elements_/images/eeexubuntu-7.10.3/eeexubuntu-7.10.3-desktop-i386.iso
-m 512 -boot d

Source: Roman's blog

rcs + rsync for keeping your files on several machines

I have two GNU/Linux laptops (Xubuntu) and one GNU/Linux desktop (CentOS).

Need to synchronize them to keep the integrity of the information on the machines.

Tried git, but found it too strong too keep my little docs and code snippets.
That way decided to use well known and stable GNU tools rcs and rsync.
man rcs
man rsync are prerequisites ;

Why rcs? Because repository could be synced with code/docs, and it is GNU.
Why rsync? It is GNU solution for syncing files.

Two basic session snippets for usage:

init files for directory:

cd fldr_for_sync
mkdir RCS
# --
rcs -i file # add new file under rcs
# -- it is the same with --

Source: Roman's blog

tried 'virtualization' under CentOS QEMU


Just to try what is new in word of virtual machines ( In my opinion it is not long now :) )

No idea why it can be best solution for any of common tasks.

Used file for filesystem, non-xen kernel (due to still having no network on -xen with my card).

Extremely slow.30 minutes to load Xubuntu Gutsy in machine.
(2-3 minutes on low-end Asus eeePC).

Host is CentOS 5.1 AMD Opteron x64 machine. Target i686 500 mb memory eeeXubuntu (Xubuntu gutsy 7.10).

Source: Roman's blog

CentOS(RHEL) and Suse difference from Ubuntu and Debian

Basically all this systems are GNU/Linux systems.

The main difference from the point of desktop user is set of applications that already present on fresh install, default configuration of desktop (graphics and theme mainly) and kernel version used.

All these distributions support kernel upgrade (through update manager, and manually, through recompilation of kernel downloaded from kernel.org (but in different recommended way for this distro's; however, seems make oldconfig;
make all works on all distro's).

Main way of installing applications on the distributions is installing from packages.

Debian (with Knoppix) and Ubuntu are .deb-based distributions, where .deb is extension of package on these systems.

Source: Roman's blog

CentOS 5.1 fglrx driver 1440x900 resolution get

My lspci output:

rtg]# lspci
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)

Source: Roman's blog

Unzip tared and bzip'ed (.tar.bz2) file or folder

'verbose' way:

tar vjxf file.tar.bz2

-or- 'quite' way:

tar jxf file.tar.bz2

Source: Roman's blog