Posts Tagged ‘Linux/Unix’

“htop”: Ultimate Linux process viewer

Tuesday, September 29th, 2009

Advanced users (and some regular desktop users too) have a need for process viewer (for those who don’t know what I mean, it’s equivalent of process lister that you get with ctrl-alt-del in windows) - and while some are happy or even insist on using nothing but graphical application for this (’gnome-system-monitor‘ in Gnome), some of us prefer to use one that is console based or prefer having both depending on situation so there is a big demand for a good console based process viewer for *nix systems.

The old ‘top’ and way more advanced alternative

htop, interactive Linux process monitor

htop, interactive Linux process monitor

Many people know ‘top‘ to be such tool - unfortunately many don’t know other interactive ones - there is non-interactive ‘ps‘ for getting process list, but it just prints process list (with information and formatting according to parameters) while interactive process lister lets you view the list, send signals to processes (ie. to kill a process) or to change their priority (’nice’ value). There however is much more advanced application than ‘top‘, yet very much like ‘top‘ in having all that is good in ‘top‘, but replacing many UI parts with better functionality. The app is called ‘htop‘.

(more…)

My first poll: “Year of Linux Desktop?”

Thursday, September 24th, 2009

I have the first poll on my site: about “year of desktop linux”. Please vote for your opinion!

There has been numerous blogs and other articles writing of “This is/was the year of desktop Linux” - naturally also with loads of criticism about it. I have my own opinion about year of desktop Linux, but that will be written about in another blog entry. All I say is that for me Year of the linux desktop already was - I leave you wondering what it was

So there, go on and wote!

Google Chrome OS - reinventing the wheel?

Monday, August 17th, 2009

I believe most here have already read about Google starting up an operating system of their own, Chrome OS to compete with Windows as their next project. I’ll share some of my feelings about good, bad and the futile related to this hopefully neat project.

Google Chrome OS is an open source, lightweight operating system that will initially be targeted at netbooks. Google want’s to provide users with an OS that boots up lightning fast and ready for web in seconds from switching power on. They want the system not to clutter up but always run as fast as anew. They want to provide an OS where there is no fuss and fighting with new hardware, configuring the system (that usually needs knowledge below the average) and no updates that break things or change&confuse the user interface. This all sounds good - and it also already sound familiar.

Gathered not from Chrome OS official blog but from a zdnet blog entry, let’s check some known facts:

  • It runs on top of Linux kernel.
  • It will boot directly into the Chrome Web browser
  • It will be aimed primarily at netbooks
  • It will run on both x86 and ARM processors
  • It will not be designed to have local storage; all data will be stored in the cloud
  • Google will not entice developers to build software to run on the Chrome OS; instead, they want them to build Web apps that will run on any standards-based browser
  • The three most important features will be “speed, simplicity and security”, according to Google
  • Google will release the software to the open source community before the end of 2009
  • Announced Chrome OS hardware partners: Acer, Adobe, ASUS, Freescale, Hewlett-Packard, Lenovo, Qualcomm, Texas Instruments, and Toshiba.
  • Netbooks running Chrome OS will be available in the second half of 2010
(more…)

Sometimes solution is too easy to see (RealVideo .mvb in Debian)

Sunday, May 10th, 2009

I just got some new video files but instead of divx packed inside .avi they came in .mvb files unknown to me. Trying to view them with xine I was surprised that I did not have a correct codec installed and revealed that the format was RealVideo (RV40).

I was so blinded by the thought that I should have almost any possible commonly known codec installed that I spent several apt-cache searches by looking for something else and completely missing on packet - which I then spotted and was humbled by the fact I had forgotten to install it. The command I needed to get it work was simply:
apt-get install w32codecs So never fool yourself, even though your guru mind should know all the switches and gears to make a steampunk computer tick, you might still miss the most obvious package for whatever problem you bump into :)

Getting XMMS back to Debian/Ubuntu

Sunday, March 15th, 2009

X MultiMedia System, old, simple & light player

X MultiMedia System, old, simple & light player

I found out just now that Debian, along with couple other major distributions, have decided to drop support for XMMS audio player (See: Considerations for ‘xmms’ removal from Debian). I was really badly surprised when I noticed that apparently dist-upgrading my Debian from Etch to Lenny, the new stable, the old XMMS package had disapeared! I can live with Debian dropping XMMS but I think that it’s a bit shameless to put an upgrade out that drops the already installed package from my system too! So I had to get it back…

(more…)

Using OpenDNS nameserver on Debian

Tuesday, March 3rd, 2009

There are many reasons why a user might want to use OpenDNS quality dns nameservers instead of service providers dns servers. Maybe the providers nameserver does not work that well, or maybe your country and/or provider is one of those who have set up domain name based internet content filtering that you want to pass - this is the case here in Finland where the claimed use is to prevent access to child porn sites but most of the sites filtered are not of that sort at all, many not even regular porn sites and sometimes there have been really bad mistakes (like w3c site ending on the list).

On opendns.org there is a simple guide on how to set Linux (there is one for Windows too) to use OpenDNS - all you have to do, according to the site, is to edit /etc/resolv.conf and replace IP’s on nameserver lines with ones of OpenDNS. While this works at least on Fedora (and supposedly on most other flawors of Linux), at least with Debian and Ubuntu there is an extra step. This one is for those using cable connection with DHCP:

1st. edit /etc/dhcp3/dhclient.conf and add followind line to end of file:
prepend domain-name-servers 208.67.222.222,208.67.220.220;
…then find the line starting with “request” that lists the information to read ask from DHCP server and remove the option “domain-name-servers“.

2nd. edit /etc/resolv.conf like instructed on opendns.org. Replace the nameserver lines with these:
nameserver 208.67.222.222
nameserver 208.67.220.220

edit: I’m not sure if the second step is needed or even effective on debian.

3rd. Now you could just wait until the information from DHCP gets renewed or to make the changes work instantly you can run:
/etc/init.d/networking restart

Notes: You need to get root access to edit the files and to restart networking.

Installing The Ur-Quan Masters for Debian

Friday, February 27th, 2009
Was: “The Ur-Quan Masters for Debian (problem & solution)”
The Ur-Quan Masters (Star Control 2) title screen.

The Ur-Quan Masters (Star Control 2) title screen.

Edit (Feb 28, 2009 @ 19:45): This post was based on error of mine. Originally I wrote that debian packet ‘uqm’ did not install starter wrapper in $PATH. The game binary is installed at /usr/lib/games/uqm/uqm and the packets for different distributions install a wrapper script to run it when called. So I adviced to create a symbolic link to it at /usr/bin/uqm. This is unnecessary, I was wrong.

However when I contacted the package maintainer to inform him, I was (politely) replied that the game installs the wrapper at /usr/games/uqm (which I missed when investigating package content) and was adviced to check my $PATH.

Apparently debian should have /usr/games set in $PATH but for some reason I had edited my ~/.bashrc line and defined my own $PATH setting instead of adding a directory to already set $PATH variable. What a fool have I been indeed :) The line was mostly correct, only missing the /usr/games from original defitition.

The original post is still all below but I added this note in front to tell people that this game installs flawlessly on debian with:apt-get install uqm uqm-content uqm-music uqm-voices

Super Melee dual with other ship getting in planets gravity pull

Super Melee dual with other ship getting in planets gravity pull

The Ur-Quan Masters is a 100% free implementation of original 3DO console version of Star Control II and there is also aditional optional speech package, package with original 3DO music and tree add-on remix packs for download. I ran into a problem not finding the game executable when I had installed The Ur-Quan Masters (on my Debian Etch stable/Lenny), a fantatic game I had come upon years ago originally. “…far journey, a space odyssey encompassing the realms of science-fiction and role-playing.“. It had both, fantastic single player adventure and a 2 player dualing game that really got me addicted before even trying the single player. (more…)

BSD daemon wallpapers

Tuesday, February 24th, 2009

Cool BSD darth daemon wallpaper

Cool BSD darth daemon wallpaper from FreeBSD Image Gallery

BSD daemon desktop wallpaper

BSD daemon desktop wallpaper with witty comments on Windows & Linux from BSDnexus

Checking, with WordPress.com Stats, for search terms had led people here (always interesting) one search was “freebsd daemon wallpapers“. Obviously it led to my earlier post, Linux vs. Windows wallpapers, with image featuring Tux and BSD daemon.

This made me look for BSD wallpapers so that in future people ending here for BSD images will find what they were looking for. So for more of these BSD images head to FreeBSD Image Gallery - Ultimate FreeBSD and BSD image collection.

A second site for good BSD images is BSDnexus. That second image on right is from there.

In the end, despite the lower image glorifying BSD even over Tux/Linux I shall make it clear that I do have a huge respect for BSD (and like the maskot) but for me, if I have to choose, Linux wins hands down. And please, no comment war on this. Civilized comments are ok, even wished. In the end it’s just matter of personal preferences and BSD does rock.

to restart the ssh server on a fedora

Thursday, February 19th, 2009

Someone had googled the text in title of this article on google and end up on my site.

To restart sshd on Fedora just run (as root on console): /etc/init.d/sshd restart

I hope that clears things up.

Running Safari on Linux?

Tuesday, February 17th, 2009
I must say before anything else that this is not guide to installing Safari on Linux. You can find one for installing Safari under wine here.

I want to ask if anyone has had success with this guide? I tried it and apart from succesfully loading the default home page I havent managed to load any other webpage - not even google - with it and the window has really bad graphical glitches all the time…

I would personally like to get this browser to run under Linux just to test my site with it - specially since one commenter here posted a claim that this site does not show correctly on Safari. So if anybody has had success just let me know what version of wine and safari you have and what extra measures you had to take, if any, to get it work correctly.