Tuxicity's source

September 2, 2007

How Linus copes with criticism

Filed under: linux — tuxicity @ 2:13 pm

So, you want to be a kernel hacker. Before you go down that path, or get involved with any other free or open source development project, you should know that it’s often a wild, raucous place where — no matter what level of coding skill you possess — your tolerance for criticism or rejection might constantly be tested.

read more | digg story

September 1, 2007

Linux: Hasta la Vista, Microsoft!

Filed under: linux — tuxicity @ 10:30 am

It’s faster than Windows, it fights viruses – and it’s free. Jimmy Lee Shreeve on the software that’s bringing more power to our PCs

read more | digg story

Free ATI drivers for Christmas?

Filed under: linux, X.org — tuxicity @ 10:20 am

“According to Jerome Glisse, who coordinates the development of the driver, progress is being made in the project, and “maybe by the end of this year, we might have some 3-D acceleration.””

read more | digg story

August 21, 2007

Give Me A Roll Back Tool to Undo The Last Update!

Filed under: Debian, linux, Tuxicity, Ubuntu — tuxicity @ 9:31 am

In the Debian forums is a discussion about auto-updating.

In most Linux systems, you can use a warning system telling you updates are available.

Which is good, and in my opinion, also the best way. No auto-updating for me thank you very much; I would like to know what updates are available.

However, there is something I do need; A roll back tool to undo the last update!

So if anyone knows how to make a tool to undo updates, please make one, accidents happen, and I would like to be able to fix this without too much hassle.

Tuxicity.

Why people don’t switch operating systems

Filed under: linux — tuxicity @ 6:51 am

The topic of Linux on the desktop is one that raises its head every couple of days somewhere on the web – and here it is again.

read more | digg story

August 17, 2007

Notes and Links on Compiling a Kernel for Debian

Filed under: Debian, linux, Tuxicity — tuxicity @ 5:35 am

I usually grab the latest kernel from kernel.org to use for my Debian box.

Here is how I install it:

The only thing I change in menuconfig is in “processor type and features”:

  • Turn off “Symmetric multi-processing support”; I have only one processor
  • Set “Preemtion Model” to Voluntary Kernel Preemtion. (It truly speeds things up for Desktop Users!)

Cleaning up unused modules and all that ? Why bother, The kernel only loads the modules it needs, and except for a longer compilation time, you can be sure the kernel is new, shiny and very likely to work perfectly.

Resources: How To Compile A Kernel – Debian Etch and Debian Official Kernel Configuration files.

Tuxicity.

August 13, 2007

Linux ubuntu 2.6.22-9-generic vs Linux Ubuntu 2.6.22-9-My-architecture

Filed under: linux, Tuxicity, Ubuntu — tuxicity @ 2:53 pm

In Ubuntu it is assumed a kernel for generic x86 support should be about as fast as a kernel suited for your arch.

So lets see how true this is.

I am not going to benchmark anything, I just want to see if the feel is snappier and/or quicker, and if compiling a kernel is worth the effort for the average user.

I used ‘How To Compile A Kernel – The Ubuntu Way‘ as a template for compiling a personalized kernel so read it for more detailed information.

The only change I made in the configuration file was setting the arch to Athlon/Duron/K7 suited for my AMD Athlon(TM) XP 2200+ @ 1800 Mhz processor.

——————————————————————–
The test is done on Ubuntu Gutsy Gibbon tribe4.

First I created a root terminal to prevent having to key in sudo all the time:

sudo -i

Made sure the needed packages were installed:

apt-get install kernel-package libncurses5-dev fakeroot wget bzip2

Then installed the kernel-source:

apt-get install linux-source

Then go to the directoy where the source is located (installed):

cd /usr/src/

Unpack (in my case) linux-source-2.6.22.tar.bz2

tar xjfv linux-source-2.6.22.tar.bz2

Make a symbolic link of the unpacked linux source and giving it the name linux:

ln -s linux-source-2.6.22 linux

Go into the linux folder with the command:

cd linux

Copy the config-file into linux so it can be used as a template for the compilation of the kernel,
In my case this is config-2.6.22-9-generic:

cp /boot/config-2.6.22-9-generic ./.config

Now I can set up the desired arch for my kernel with starting up the menuconfig:

make menuconfig

First thing to is importing the config-file that is copied into linux so it can be used.

screenshot-rootubuntu-usr-src-linux.png Select; Load an alternative configuration File

choose ok..config is selected automatically, choose ok.

screenshot-rootubuntu-usr-src-linux-1.pngSelect Processor type and features.

screenshot-rootubuntu-usr-src-linux-2.pngSelectProcessor family …….

screenshot-rootubuntu-usr-src-linux-3.pngAnd finally select your preferred arch.

When all this is done: select exit and save, the configuration is now finished.

continuing:

make-kpkg clean

Now its time to make the needed debian packages which can be installed after compilation.

Depending on your processor this can take several hours. The name of the kernel wil be in this case tuxicityk7 : (- -append-to-version=-tuxicityk7)

fakeroot make-kpkg – -initrd – -append-to-version=-tuxicityk7 kernel_image kernel_headers

After having watched ‘The Godfather‘, the compilation and the creation of the packages is done.

The created Debian packages are located in /usr/src:

cd /usr/src

2 packages are installed with the command:

dpkg -i linux-image-2.6.22.1-tuxicityk7_2.6.22.1-tuxicityk7-10.00.Custom_i386.deb linux-headers-2.6.22.1-tuxicityk7_2.6.22.1-tuxicityk7-10.00.Custom_i386.deb

Wow, long names, but hey what can you do.
Grub will also be updated, and the new kernel will show up in the grub menu when rebooted.

After reboot I keyed in ‘uname -r’ in a terminal and got 2.6.22.1-tuxicityk7 as a result. :-)

Verdict:
Snappier? ….Yes
Faster? …….Yes
Is it worth the effort for the average user? No absolutely not, If I would use Ubuntu tomorrow with the generic kernel I probably would not notice the difference.
If you like tweaking, go for it.
Tuxicity.

Images are made on Ubuntu Gutsy Gibbon with the alt-print screen button, theme on the images is Clearlooks, with a Clearlooks2-Squared-Berries Window border, except for 2.png which I downloaded from the link I mentioned earlier.

June 6, 2007

Howto install Netscape Navigator 9 beta 1 on the average Linuxbox

Filed under: Browsers, firefox, linux, Netscape, Tuxicity — tuxicity @ 10:16 am

After reading “Netscape releases Netscape Navigator 9 beta 1″ I decided to install and try NN 9 for a bit.

Here is how NN 9 can be installed on the the average Linux distro.

  • Extract the downloaded package (Right click netscape-navigator-9.0b1.tar.gz and select extract here).

Now open your console and become root (su or sudo -i) and go to ‘not into!’ the folder where the extracted folder resides.

mv navigator/ /usr/local/
ln -s /usr/local/navigator/navigator /usr/local/bin/navigator

The browser is now set up, on to setting up the plugins for NN 9, compatable with Firefox which usually reside in /usr/lib/mozilla/plugins :

ln -s /usr/lib/mozilla/plugins/* /usr/local/navigator/plugins/

  • Leave root mode with the exit command, done setting up NN 9

Now there is one more thing to do and that is setting NN 9 up in Gnome with alacarte and/or in KDE with the menu editor (kmenuedit)

Properties are for setting it up :

Description = whatever you want
Executable= navigator
Icon for NN 9 is located here: /usr/local/navigator/icons/mozicon50.xpm

To remove NN 9, as root:

rm -rf /usr/local/navigator ; rm /usr/local/bin/navigator

As non-root user remove it from alacarte and/or kmenuedit

Have fun,
Tuxicity.

May 16, 2007

Burning CD/DVD without a GUI

Filed under: linux, Tuxicity — tuxicity @ 1:50 pm

Quote;

“You do not need a GUI to burn a CD / DVD Problems with burning mostly happen with the frontend (k3b), not so much with the backends (growisofs, wodim or cdrdao).”

End Quote.

———————————————————————————–

Sometimes you stumble into a howto which screams:

  • Bookmark Me!

This is one of them; an excellent cut and paste howto for burning and copying data cd’s and data dvd’s without using a GUI.

Burning CD/DVD without a GUI.

Enjoy,

Tuxicity.

May 11, 2007

Source Based Linux Distributions and Global Warming.

Filed under: Gentoo, linux — tuxicity @ 12:36 pm

Global warming is hot, and an old post on ZDNet, How Windows XP wasted $25 billion of energy – but will Vista be eco-friendly? reminded me of other power consuming hobbies: Source based Distro’ s.

Setting up and maintaining Gentoo Linux on an average pc takes many hours; on my AMD XP 2200+ with one gig ram it takes about 12 hours to set up Gentoo with a Gnome desktop,  for KDE a few hours more.

Maybe something to consider before deciding what Distro to use; besides being a distro, Gentoo is also a penguin living in the South Pole area, an area that might melt down due to global warming.

Tuxicity.

Gentoo Linux is used as an example for source based distro’s. Distrowatch.com has a list of source based distro’s. 

« Newer PostsOlder Posts »

The Shocking Blue Green Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.