Linux.com

Community Blogs



games under linux

Two games worth trying in linux

 1.Xmoto-lovely 2D racing game .it has several levels and sure you will find it  interesting

2.World of Goo-This game is really a fantastic physics game .This game wakes up the sleeping physics nerves in our brain.

Shooting games - alien arena ,open arena,sauerbraten 

 

 

How to Install Flock on Ubuntu

This is the quick-and-dirty way to install Flock on Ubuntu and it involves installation to the /home folder.  This will allow the browser to update using regular user permissions; ie the user will not have to run this browser as root (sudo) to update the program.  It will update similarly to the way it updates in Windows.

  1. Download the browser from here.
  2. Copy the downloaded tar file to your /home directory.
  3. Right-click on the archive, and choose "extract here".
  4. A folder will be created in the /home directory.
  5. To create an entry in your menu, (I'm assuming the user is using Gnome), right click on the application menu, navigate to the "internet" menu, and click "new item".  In this "item", name it.  Then click on "browse" to create a command for it.  Go to /home/flock and click on "flock-browser".  Click "open" and the command box will be populated.  To create an icon for this menu item, click on the launchpad looking thing-o button.  This opens a window that shows you the available icons.  The proper icon won't be there, so click on "browse".  Go to /home/flock again, and this time, click on the folder labeled "icons".  Click "open" and now you'll be able to pick which icon you want.  You can further customize this by adding a saying like "Browse the social web" or something.
  6. You're pretty much done.  All that needs to be done is to grab all the plugins from Firefox and copy them to Flock.  To do this, type this command: "sudo ln -s /usr/lib/firefox/plugins /home/flock/plugins".
  7. You're done! Now you should be able to use Flock just like Firefox.  Don't forget to sign in to your blog, twitter, flickr, facebook, etc so you can use it to it's fullest.  I also recommend going to the Mozilla Addons page to get adblock, flashblock and other addons you can't live without.  Also, you can go here and get flock-only extensions.
And there you have it.  Please see this post for some more information on installation.  If you do it this way, however, you won't be able to update via the automatic updater unless you run it as root.
 

Product Test: HP F4283 MFP (Multi-Function Printer)

HP F4283 PrinterHere is a quick test and first impressions of the HP F4283 printer on Ubuntu.

 Set-up

The set-up process takes less then 10 minutes - most of which is spent getting rid of all the sticky stuff :-)

Before plugging it into your computer, turn on the power and install the cartridges. The supplied cartridges is (apparently) 1/3 of the normal capacity - according to the sales person. I'll just take their word for it for now.

After the cartridges are installed, an alignment page is print automatically. You take this page and put it in the scanner. Press the scan button on the print and the printer does the alignment (it makes weird noises - I think this is normal).

Now plug it into your computer.

Configuration

Ubuntu Printer Set-upIn Ubuntu (9.04 64-Bit) a window will pop-up. Everything was detected automatically. You can just hit the appropriate button to produce the standard Ubuntu print test page.

This whole process took the greater part of like 10 seconds!

Scanning

On the Gnome menu, go to "Applications -> Graphics" and you should find the XSane option near the bottom of the list. Click on it and wait about 15 to 20 seconds to detect the scanner.

The first scan was a no brainer - can it get any easier then this?

 

 


Quality

The print quality is acceptable for me for documents, but I wouldn't print photos on this printer just yet. The Ubuntu test page showed slight imperfections in the various colour boxes but it's acceptable for day to day use in office document production.

The scanner is acceptable as well. I mostly use it to prep hard documents for faxing anyway, so my expectations are rather low. Yet, the scanned image was supprisingly high quality.

Conclusion

For the price I paid (ZAR499 - just over US$60) was money well spent for me. I am very happy so far.

HP F4283 Product Page

 

Notes about MPD

Music-applet is a nice and neat looking Gnome-panel applet to control various music players.

Read more... Comment (0)
 

How to Setup World of Warcraft on Linux

I wanted to share with everyone a guide that I wrote for a friend a few weeks ago.  Hopefully it may be of some use to people.

 


Here is a quick guide to getting The World of Warcraft working in wine (By the way I am giving you this guide using primarily the command line ... sorry there are easier ways to do it from a GUI, but I am not familiar with them myself ... so I am giving you instructions that I know work because this is the way I do it)

Install lastest version of Wine:

Go to this link: http://www.winehq.org/site/download-deb and follow the instructions to install the latest version of wine. (Make sure to read the whole page there are two things you need to do, also it is all in a GUI so its pretty easy)

Setup Wine for World of Warcraft:

Next open a command terminal and type "winecfg" to start wine configuration screen. 
Change the version of windows on the main screen to "win2000" Click on the "Audio" tab at the top of the window to change wines sound settings.  An error message will pop up ... just click okay (It's wine saying that you haven't set up an audio device yet) Next make sure that ONLY "alsa" is checked marked and click the "okay" button to close the setup window.

There are two methods to proceed from this point.  The easy way is to copy an exsisting install of World of Warcraft from a windows partition, or install thru wine.

1st Method:

Here is the easy way (If you have maintained your WoW updates it is also the quickest when it comes time to update WoW) First navigate to your windows drive "Program Files" folder and copy and paste the "World of Warcraft" folder into the following directory: "/home/$USER/.wine/drive_c/Program Files" (Replace $USER with your user name)\

2nd Method:

Pop in the first install disk wait for an icon of it to appear on your desktop. Open a command terminal and type "cd /media/cdrom (ENTER)" to navigate to the CD. You can type "ls" to list the contents of the directory.  As long as you went to the right cd-drive (Assuming you have more than one) you should see the files on the cd listed. Next type "wine Setup.exe" to start WoW's installer. Go thru the normal install options and let it do it's thing. When it comes time to put in the next CD you need to do a special trick to get wine to release the drive. While keeping the first terminal open (DO NOT CLOSE IT OR YOU HAVE TO START OVER!!) open a second terminal. In the new terminal type "wine eject d:" to open the cd drive. Replace the disk with the next install disk. Before you click on okay in the WoW installer window make sure to Double click on the disk icon (Either on your desktop, or in the "Computer" option under the places menu) to load the replacement disk into the system. Once that is done you can continue on with the installation. Repeat the eject procedure for the remaining three disks. After the installer has completed, World of Warcraft has now been installed into the "/home/$USER/.wine/drive_c/Program Files/World of Warcraft" folder. ($USER being your user name)

Making It Easy to Run World of Warcraft:

Now all you have to do is create a launcher script to make starting WoW easier.  Execute the following command to create a new text file called "wow" in the "/usr/bin" folder and open it in a text editor:

sudo gedit /usr/bin/wow

Once the text editor is open type the following command (or copy and paste) into it:

env WINEPREFIX="/home/$USER/.wine" WINEDEBUG=-all wine "C:\Program Files\World of Warcraft\Wow.exe" -opengl

(Don't worry about changing anything in the above command, when I wrote this I used wildcards to automatically tell the system were stuff is. Alternatively you can replace $USER with your user name and it will still work just fine. I wrote it this way so you can just copy paste it into the file) (Also this script assumes that you only have one user account on the system who intends to play WoW.  If you have more than one user setup on the system that also wants to play WoW you need to change some options which I will explain at the end of this guide)

Now click the save button and close the text editor.  All you have to do now to get World of Warcraft to be easy to start is make the new launcher script you just created executable.
Type the following command (This command just tells the system that this script can be executed):

sudo chmod +x /usr/bin/wow

Your done!  You can now start WoW by either typing "wow" into a terminal, or opening the "Run Dialog" by pressing Alt-F2 and typing "wow"or making a menu icon thru the menu editor and just clicking on it in the menu.

Special Setup Instructions For Systems That Have More than 1 User Account Which Will Run World of Warcraft:

The only change you will make to the above instructions is to setup permissions on your ".wine" folder and modify the start up script. To do this open your "Home" folder in the file manager.
Click the "View" tab at the top of the windows and check mark the box next to "Show Hidden Files" Scroll down until you see the ".wine" folder and right click on it.  Select "Properties" to open the folders properties menu. Click on the "Permissions" tab and change the "Access" for all sections to read:

Folder Access ===>> Create and Delete Files
File Access ===>> Read and Write

Now click on the "close" button to exit the editor.

Lastly you need to make an adjustment to the launcer script from above to point explicitly to the location where World of Warcraft is installed.

Edit the file with the same command from above:

sudo gedit /usr/bin/wow

Change:

env WINEPREFIX="/home/$USER/.wine" WINEDEBUG=-all wine "C:\Program Files\World of Warcraft\Wow.exe" -opengl

To:

env WINEPREFIX="/home/(YOUR USER NAME)/.wine" WINEDEBUG=-all wine "C:\Program Files\World of Warcraft\Wow.exe" -opengl

Save the file and you are done.

Okay easy enuf.... lol sorry man I still tend to do most things from the command line, even though I know that there are easier ways to do it from a GUI. I would bet that you can find guides for a GUI method somewere by searching google.  I have just found over the years it is faster to just hammer it out the old fashioned way.

 

If anyone has any comments or suggestions feel free to let me know.

 

Cheers,

Xipher

 

Flash, Kongregate, Web browsers and evil dependencies

It seems that for some reson, Firefox (or Conkeror (and from that I reson any xlrunner based browser)) running on Arch Linux x86_64 will not run the Kongregate (www.kongregate.com) flash api that they inseart to their games. However, using midori they all run fine. So the obviouse answer is to install midori, or, if I don't like midori enough for every day useage, install it, and only use it for kongregate.com. Personaly I don't like midori at all, and thus I am using Conkeror to write this blog. But this leaves me in the uncomfterbal situation of having aproximatly 5 browsers install. I have Conkeror for my every day browsing, Firefox for the extensions I can't do without and midori for playing games. I also have konquor for some reson (I don't mind especialy, I love kdemod3) and a couple of other browsers that I was playing about with, trying to get them to comile, and I cba to find the relevent files and remove them now, 6 months down the line. I know, it's shadmin, but it's how I've lived my life so far, and I see no reson to change. But anyway, back to the question. Like president kennedy when it came to the cuban missile crises, I have 3 choices, all of wich leave me unsatisfied. I can continue doing what I do now, using 3 browsers, and adding more as I see fit, thus gradualy losing controll of my machine, and giving the power over to the beast that is dependency tracking, or I can only use one browser, Conkeror, thus missing out on many of the firefox spesific extensions and using a site that isn't kongregate for flash games, or finaly, I can go and mone at adobe or whoever is responicble for the firefox-kongregate incompatibility (kongreagte blame adobe) and see if it gets patched. My current feeling is the first, as I'm lazy, the second one will never happen (I love kongregate and xmarks) and the third will probabaly be done by someone somewhere (I know, not the right attitude, but who cares). Also, out of my pick, Conkeror, Firefox, Midori and Konqueror, which do people like. I never could get into Konqueror, as I felt it was a below standard web-browser, and a below standard filemanager. Someone, please prove me wrong.

 

Speed up firefox (ever so slightly)

So I noticed my places.sqlite has grown to over 80M. Since Firefox 3 thats where things like bookmarks are stored. I guess favicons are stored in that same database. At any rate I am very tab happy. I have to control myself and about once every 2 weeks or so I have to sit down and close out a bunch of tabs. Its not uncommon for me to have 90ish tabs open. Boy firefox gets sluggish. Anyway you can perform a bit of maintenance on your firefox databases. I saw a significant speed improvement when opening firefox as well as opening new tabs after doing this. You have to close all firefox instances that are using the profile and it might be a good idea to just backup your profile before you do this but its pretty safe.

Read more

 

Nützliche Firefox-Addons





Hier mal eine Auswahl der von mir genutzten Firefox-Addons:


Adblock Plus - Der ultimative Werbeblocker

https://addons.mozilla.org/de/firefox/addon/1865


Colorful Tabs - Um Tabs in verschiedenen Farben darzustellen...gut für die Übersicht

https://addons.mozilla.org/de/firefox/addon/1368


Copy Links - Um in einem markierten Bereich alle Links gleichzeitig zu markieren und kopieren...gut für Rapidshare-Links und dazugehörige Downloadprogramme wie Cryptload oder JDownloader

https://addons.mozilla.org/de/firefox/addon/7852


SpeedDial - Simuliert die nette Kachel-Funktion aus Opera fast perfekt

https://addons.mozilla.org/de/firefox/addon/4810


Fasterfox - Geschwindigkeits- und Netzwerkoptimierung...weiss nicht, obs wirklich was bringt...ich bilde es mir ein

https://addons.mozilla.org/de/firefox/addon/9037


FaviconizeTab - Addon, um Tabs auf die Größe des Favicons zu reduzieren...praktisch bei sehr vielen geöffneten Tabs

https://addons.mozilla.org/de/firefox/addon/3780


Forecastfox - Wetter in der Status- oder Symbolleiste

https://addons.mozilla.org/de/firefox/addon/398


FoxyTunes - Addon, um Audio-Player, wie Foobar2000, Songbird, Winmap, Windows Media Player und viele andere über die Firefox-Statusleiste zu steuern

https://addons.mozilla.org/de/firefox/addon/219


Google Images Re-Linker - Addon, um in der Google Bildersuche Bilder beim Anklicken direkt angezeigt zu bekommen ohne den nervigen Zwischenschritt

Google Images Re-Linker deutsch - www.erweiterungen.de


Googlepedia - Zeigt neben Googleergennissen die Wikipedia Suchergebnisse direkt daneben an...ziemlich praktisch

https://addons.mozilla.org/de/firefox/addon/2517


Google Preview - Zeigt direkt neben Google Sucheergebnissen ein Vorschaubild an

https://addons.mozilla.org/de/firefox/addon/189


IE Tab - Wahlweise die Browser-Engine des IEs nutzen...beispielsweise für das Windows Update ganz gut

https://addons.mozilla.org/de/firefox/addon/1419


Imageshack right-click - Addon, um Bilder, die man im Netz findet, per Rechtsklick direkt zu Imageshack hochzuladen...sehr praktisch für die Singlecore-Bandbearbeitung

ImageShack right-click deutsch - www.erweiterungen.de


Nightly Tester Tools - Addon, um alte Addons, die noch nicht kompatibel sind, kompatibel zu machen

https://addons.mozilla.org/de/firefox/addon/6543


NoScript - Kann diverse Skripte wie Java blocken

https://addons.mozilla.org/de/firefox/addon/722


OpenAddons - Bringt einen Button in der Symbolleiste, um direkt ins Addon-Menü zu gelangen

https://addons.mozilla.org/de/firefox/addon/7116


Paste and Go 3 - Es lassen sich damit Links, die man in die Adressleiste einfügt, direkt per Klick öffnen, ohne den Link erst einzufügen und dann mit Enter aufzurufen...vom Opera-Browser geklaut

https://addons.mozilla.org/de/firefox/addon/9133


PDF Dowload - Erlaubt es, zu wählen, ob eine PDF-Datei heruntergeladen oder direkt angeschaut wird

https://addons.mozilla.org/de/firefox/addon/636


QuickRestart - Bringt einen Button in die Menüleiste, um den Firefox direkt darüber neu zu starten, ohne ihn manuell zu beenden und neu zu starten

https://addons.mozilla.org/de/firefox/addon/3559


SecureLogin - Ähnlich dem Wand-Plugin in Opera

https://addons.mozilla.org/de/firefox/addon/4429


Stylish - Anpassen des Aussehens von Websites sowie der Programmoberfläche mit Hilfe eigener CSS-Stile, die im Web heruntergeladen werden können

https://addons.mozilla.org/de/firefox/addon/2108


Update Channel Selector - Man kann beim updaten auswählen, ob man Beta-Versionen, Release Candidates oder finale Versionen herunterladen will

https://addons.mozilla.org/de/firefox/addon/6263
 

Windows 7 & Ubuntu 9.04

Well, congratulations for the Linux.com launch. Now onto other things.

I bought a new PC, and it just came in. Installed Windows 7 and Jaunty, both 64 bit editions. I must say I am equally impressed by MS and Canonical. Windows 7 picked up my wireless out of the box. This has never happened before for me. I'm not doing a review, so I'll sum it in little. 7 is what Vista should've been. And it's good. It's streamlined, less resource hungry, and just a nicer experience. The interfaces are intuitive, but a little awkward to use. Other than that I must say 7 is nice.

 Ubuntu too, installed fast, easy to upgrade, supported my wireless out of the box. Nvidia was easy to configure with restricted drivers. It's easy to navigate, install apps, fast, and not at all resource hungry. Good job.

 Overall both systems are nice, and I suggest you try Windows 7 if you're able.

 

Forwarding X11 Apps through SSH

This quick post illustrates you how to forward remote X11 applications from another machine (called "server" in my example) to local Linux machine (or XWindow server on Windoze machine).

When you're in an insecure network just avoid to use X11 apps, but if you wish to get something else from remote you can do it with SSH, here's a quick example:

your computer name: "client"
other remote host: "server"

Remote username: "ben"
Application to run: "xterm"

 

Here's a quick and dirty hack for it, no DISPLAY settings or strange things, just one setup.

 

First setup remote host to allow X11 Port forwarding:

edit /etc/ssh/sshd_config to enable X11Forwading, change or add a line like this:
X11Forwarding yes
Then to make a test try to:
server ~$ cat /etc/ssh/sshd_config |grep X11Forwarding
X11Forwarding yes
If this is the result you've it enabled, note there's no "#" at the beginning of the line

 

Then connect to remote machine using ssh:

~$ ssh -X -Y ben@server
Please note -X -Y flags for ssh (port forwarding, see man ssh)

 

Now start your favorite X11 program (xterm in my example)

server ~$ xterm &
[1] 7448

And you're set ! Easy isn't it ?

 

 

Hope it helps

Andrea Benini (Ben )

 

Just upgraded to KDE 4.2

Today I just upgraded to KDE 4.2 from KDE 4.1 on my openSUSE 11.1 (64bit) machine and it seems everything is working fine. The eye candy effects based on compiz are really nice and fast! :) (although they were already working fine with KDE 4.1)

 I just imported four repositories (you'll find them at the end of this article) via YaST and selected Packages > all packages >  Update if newer version is available. There were about 140 packages to update and I just had to adjust some dependecies. Finally all new packages had an amount of approximately 700MB.

The main KDE applications I always use haven't crashed jet and there are no graphic errors.

All in all I'm really happy with the new stable KDE and I await eagerly KDE 4.3 with its new innovative features.

List of openSUSE 11.1 repositories needed for KDE 4.2:

  • core packages: http://download.opensuse.org/repositories/KDE:/42/openSUSE_11.1
  • more packages: http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.1_KDE_42
  • more (experimentally) packages: http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.1_KDE_42
  • Qt 4.5 packages (required!): http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_11.1
 
Page 10 of 11

Upcoming Linux Foundation Courses

  1. LFD211 Introduction to Linux for Developers
    08 Dec » 09 Dec - Virtual
    Details
  2. LFS220 Linux System Administration
    08 Dec » 11 Dec - Virtual
    Details
  3. LFS520 OpenStack Cloud Architecture and Deployment
    08 Dec » 11 Dec - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board