Friday, March 21, 2008

Steam problems - Ubuntu Forums

*********ADDITION**********
I just wanted to add the following URL (http://www.fsckin.com/2007/10/15/how-to-run-team-fortress-2-half-life-2-hl2-ep-12-in-ubuntu-using-wine/) that I found which talks about installing The Orange Box set, I assume some of these steps should also work for Steam as The Orange Box uses Steam.

*********UPDATE************
Non of the earlier suggestions lower in this post seemed to be working for me, but in searching I found the below post at ...
http://ubuntuforums.org/archive/index.php/t-615763.html
" OK, here's the story:

Reinstalling wine worked. Also the 'install gecko' worked also.

On the original install, I did not 'wait' for the over 5 minute installation of
'winecfg' to work. I just renamed the wine.xxxx to wine and went from there.
A big mistake.


(copy Steam to another directory for safe keeping)
1. Removed .wine via cd home directory, rm -rf .wine
2. Full Removal of package via Synaptics
3. Reinstalled via Synaptics (must have new repo's in config for latest wine) https://help.ubuntu.com/community/Wine
4. Open terminal, cd home directory, run 'winecfg', see multiple errors with
mixer/printer, etc, IGNORE.
5. Take coffee break, come back 10 minutes later
6. Wine installed
7. Moved my Steam directory back into Program Files.
8. cd to Steam, run wine ./Steam.exe
9. Steam opens up, asks for Gecko install, say yes
10. All is well, can't seem to keep video settings, but I'll work that out.


For Vitaliy Margolen/WINE, Thanks for the help with my noob mistakes .
I closed the BUG report."

I haven't tried this method yet, but I think it sounds like the next step for me. However, Nautilus is acting up as well as other things, so I'm going to reboot my PC and see if some issues clear up.

*********UPDATE************
This did not solve my problem, but my guess is because POL creates "bottles" for each game/application. As I understand it, "bottles" are autonomous WINE instances, so you can have different WINE settings for each game/app. So, while the below worked to install Gecko into WINE, it was not in the bottle containing Steam.

What DID solve my problem was running "wineboot" from a terminal, then running Steam from POL again... this time it came up to the Steam app window with no content in it. Switching between the tabs and back to "Store" made the Gecko install message show back up. The difference is, this time when I clicked "Install", it actually ran the install in this "bottle"... well, it's still "Downloading" the install... so this STILL may not be the answer, but I'm getting closer I think. ;-)
*********************

Steam problems - Ubuntu Forums:
"Re: Steam problems
Open a terminal and enter the following:
Code:

wine iexplore http://winehq.org


This will install gecko. Once installation finishes, run Steam again."

I had this problem when I would run Steam after installing it through PlayOnLinux (POL). This was VERY helpful and simple.

I will post more on POL, but right out of the box, after installation there was no icon to launch it. I'm not sure if I did something wrong, but I had to browse to the installed location to launch it (it installs to /usr/share/playonlinux in case you are looking for it too). I will create a n icon for it... but I tried to use a steam install script off the web designed for POL and it would immediately exit... not sure why yet, but when I opened POL it had a choice to install Steam right from the app.. maybe POL needs to be running in order to run the scripts??

Les scripts - PlayOnLinux - Play On Linux easily

Les scripts - PlayOnLinux - Play On Linux easily

This is a list of games that PlayOnLinux already has scripts for and therefore you know are supported. Thankfully, Steam is on there, so (in theory) I should be able to play ALL my Steam games (of which I own MANY). I wonder what the performance will be??

What I do not see are some of the newer games (I didn't really expect to see them) like COD4 and MOH: Airborne, etc. Looks like I will still need to boot into XP to play those for now (ho hum).

Wine HQ - Wine for Debian based distributions

Wine HQ - Wine for Debian based distributions:
"Adding the WineHQ APT Repository:

First, open a terminal window. Then add the repository's key to your system's list of trusted APT keys by copy and pasting the following:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Next, add the repository to your system's list of APT sources:

For Ubuntu Gutsy (7.10):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Feisty (7.04):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Edgy (6.10): *64-bit packages not available*
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Dapper (6.06): *64-bit packages not available*
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list -O /etc/apt/sources.list.d/winehq.list

For Debian Etch (4.0):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list -O /etc/apt/sources.list.d/winehq.list

Then, you can install Wine from WineHQ like it were any other package, such as by using the Synaptic Package Manager under System->Administration. Alternatively, you can install from the terminal by running 'sudo apt-get update' to update APT's package information and then 'sudo apt-get install wine'."

My friend turned me on to PlayOnLinux for a way to install Windows games on Linux. While I haven't actually tried it yet, in reading I realized that I did not have the latest version of Wine installed and found the above from the WineHQ which means I will automatically get any official Wine updates! (yay)

I will post more on PlayOnLinux and what my experience is with trying to run games on Linux. For those that don't know already, my only gaming consoles are the original XBOX and the Wii. While both are great, they do not run the latest FPS games I am interested in, so my PC was my main gaming medium. I'd much rather have an XBOX 360, but I just can't afford/justify it at this time. I will probably blog about my opinions on gaming at some other time, but the short story is that I much prefer the newer consoles (360 or PS3) over PC gaming because it is basically guaranteed to work with a game you put in without having to worry about updating drivers or hardware. PLUS, the performance is pretty much guaranteed, whereas the PC is a gamble with too many variables involved. I think the PC holds a higher level of graphics and such, but the cost to get there is SERIOUSLY prohibitive! For instance, my graphics card alone (nvidia 8800 GTS 640MB) cost $400, the same price (or more) than a 360 Premium!!! That's just crazy now that I look back on it. At this point, the rest of my PC is the bottleneck. :-(

Tuesday, March 11, 2008

Ubuntu LAMP Server Installation With Screenshots -- Debian Admin

Ubuntu LAMP Server Installation With Screenshots -- Debian Admin:
"Configuring Static ip address in Ubuntu server

Ubuntu installer has configured our system to get its network settings via DHCP, Now we will change that to a static IP address for this you need to edit Edit /etc/network/interfaces and enter your ip address details (in this example setup I will use the IP address 172.19.0.10):

#vi /etc/network/interfaces

and enter the following save the file and exit

# The primary network interface

auto eth0
iface eth0 inet static
address 172.19.0.10
netmask 255.255.255.0
network 172.19.0.0
broadcast 172.19.0.255
gateway 172.19.0.1

Now you need to restart your network services using the following command

#/etc/init.d/networking restart

You need to setup manually DNS servers in resolv.conf file when you are not using DHCP.

#vi /etc/resolv.conf

You need to add look something like this

search domain.com

nameserver xxx.xxx.xxx.xxx

This is really simple and easy server installation for new users and who wants a quick server."

My server will not get an IP from a DHCP server... I'm guessing it is because I installed it as a DNS server as well, but not positive. Anyway, I previously set the IP with some ifconfig commands, but upon reboot that info disappeared. So I found this as a more permanent fix. ;-)

Google Browser Sync

Google Browser Sync:
"Google Browser Sync for Firefox is an extension that continuously synchronizes your browser settings – including bookmarks, history, persistent cookies, and saved passwords – across your computers. It also allows you to restore open tabs and windows across different machines and browser sessions. For more info, please visit our FAQ."

Okay, my friend pointed me to this (5 times he says... whatever ;-) and I don't want to lose it.

I have been using the Google Toolbar because I like the way it keeps my bookmarks the same across all my PCs and integrates Gmail, Google Calendar and Blogger stuff in one consistent package across my Windows and Linux OSes... even between Firefox and IE, the latter of which I am forced to use for certain things.

While the Google Toolbar serves most of my needs, it does NOT sync cookies and password management across PCs, so this browser sync is a welcome addition!!

Monday, March 10, 2008

redhat.com | Doing more with more: Dual-head display

redhat.com | Doing more with more: Dual-head display:

"In startup.sh, set the first display and type in the applications you want to start there. Then, set the second display and type in the applications you want to start on that monitor. You may want to put the 'intrusive' applications (email, IRC) on the secondary monitor.

Here is an example start-up script for a dual-independent display (that is, on in which you specify either DISPLAY=:0.0 or DISPLAY=:0.1):"

Go to the page for the example. This page was written for Red Hat, but it should work on any Linux distro (possibly with some tweaking).

I have two monitors of different sizes on my main PC, and TwinView (one display expanded across both monitors) didn't work well with my different resolutions (there was "dead space" where the virtual desktop continued but I had no monitor to show that portion... so I would sometimes lose applications there).

I have certain apps I like to run on my smaller display so they are 1) always visible, and 2) aren't taking up my primary workspace. I tried to start one of these applications at "startup" on my secondary display, but it starts on my primary display. I found this post and will try this. Hopefully it won't take too much tweaking for Ubuntu.

Saturday, March 8, 2008

Gain root on your N800

In a previous post I talked about how difficult it was to find the package that allows you to gain root on the n800. I found links that talked about installing fakeroot and such, but could never find the package for os2008.

Well, I finally found it and installed it (a while ago), but i forgot to log it here. I also didn't have the command to gain root listed on 'my' blog, so when I needed it and couldn't remember, I had to follow a path to it. So I wanted to list the command here in case I forget again.

sudo gainroot

Seems hard to forget, but my mind is a sieve. ;-)

When I find the location of the package I'll post it in here as well.

Tuesday, March 4, 2008

XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them - Tech-Recipes.com

XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them - Tech-Recipes.com

This post has a free utility to mount ISO files... it's not very user friendly, but it's free. ;-)

Nautilus scripts - Tag MP3 Files

Nautilus scripts:
"This program adds a new entry to the contextual menu which allows us to fill the ID3 tags of mp3 files with its appropriate genre, artist, year, album, number of song and title using its path. For this program to work your music has to be stored using a path like /Genre/Artist/Year - Album/Number - Title.mp3

Also if you have an image for the artist at the 'Artist' folder and / or one for the album at the 'Year - Album' folder, these will be added too to their corresponding ID3 tags."

I know I already have a post about these scripts, but I wanted to point this script out specifically because of the method and filing system it is using. I have been struggling with my music library for a long time and finally started to reign it in. However, I was using a method that is somewhat haphazard compared to this. I have a directory where all my media exists, and then sub-folders for music, videos, movies, etc. Under Music, I have some genre folders, but mostly artist folders right at the root. Really, the order is one that makes sense to me, but the rules I make up are probably not rigid enough.

So I may start toying with filing my music like this. I'm still in the early stages of organization so it won't be that bad... and the stuff I already organized will be easier since I know much about it already.

Debian and Ubuntu Linux Run Levels -- Debian Admin

Debian and Ubuntu Linux Run Levels -- Debian Admin

As usual, my friend sent me some more great info on Linux as I try to understand this OS and it's depths. This is some cool stuff here. I plan on looking at it in more detail later, but i didn't want to lose track of it.

Monday, March 3, 2008

Howto: Install VMware Server on Ubuntu 7.10 (Part 2) at x86 Virtualization

Howto: Install VMware Server on Ubuntu 7.10 (Part 2) at x86 Virtualization:
"[Optional Steps]
Remove CD from repository list:
sudo vi /etc/apt/sources.list

Once inside of VI, hit i to be in insert mode, scroll down to deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ …. and add # to the beginning of the line. hit esc, then :x to save and exit"

There are other good tips on here, but this one is huge for anyone running a Linux server that you are not near to put in the CD whenever you try to do an apt-get that wants to pull something off the CD. ;-)


*********UPDATE*************
Okay, I have my Ubuntu 7.10 server installed without X11, and therefore could NOT complete the configuration of VMware Server!! I couldn't find anywhere that says X11 is a requirement of VMware Server.

Anyway, it would throw up a list of the libraries I was missing and it took me FOREVER to find a post that gave me some good information to go on.

FIRST, install "apt-file" by typing: sudo apt-get install apt-file.
Second, update apt-file by typing: sudo apt-file update (this will take a long time as it is reading the package contents of all the packages it can find from your apt sources.list locations).
Third, look for a library/file by typing: sudo apt-file find .
Fourth, run apt-get install and the name of the package/s you need.

Once I resolved all the missing libraries the config went smooth as butter. I'm guessing this wouldn't be a problem on a workstation or server install that has X11 installed and configed.

What a PITA!

***********UPDATE************* (3/4/08)
While the above worked for me, I figured there must be an easier way. I found this bit of apt-get code that may have worked for me if I had tried it. It's too late now, but for anyone else and for my future use.
apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential

The previous apt-get command that I kept finding and trying had a package that was not valid for my version of Ubuntu (7.10)... I believe it was for v.7.04 or even earlier.

How to Install Vmware Server in Ubuntu 7.10 (Gutsy Gibbon) -- Ubuntu Geek

How to Install Vmware Server in Ubuntu 7.10 (Gutsy Gibbon) -- Ubuntu Geek:

I'm using this how-to to install VMware server on my Gutsy server. So far so good. ;-)

*********UPDATE*************
Okay, I have my Ubuntu 7.10 server installed without X11, and therefore could NOT complete the configuration of VMware Server!! I couldn't find anywhere that says X11 is a requirement of VMware Server.

Anyway, it would throw up a list of the libraries I was missing and it took me FOREVER to find a post that gave me some good information to go on.

FIRST, install "apt-file" by typing: sudo apt-get install apt-file.
Second, update apt-file by typing: sudo apt-file update (this will take a long time as it is reading the package contents of all the packages it can find from your apt sources.list locations).
Third, look for a library/file by typing: sudo apt-file find .
Fourth, run apt-get install and the name of the package/s you need.

Once I resolved all the missing libraries the config went smooth as butter. I'm guessing this wouldn't be a problem on a workstation or server install that has X11 installed and configed.

What a PITA!

Ubuntu Open Terminal Here for Nautilus - It Came From The Internet

Ubuntu Open Terminal Here for Nautilus - It Came From The Internet:
"If you ever get tired of trying to quickly type in the terminal the exact path to a directory, there is an easier way. In Nautilus (your file manager) can use Open Terminal Here in your right click menu.

To make this work, just install this package by opening a terminal and entering:

sudo apt-get install nautilus-open-terminal



Now you can right click in any directory in Nautilus and open a terminal that is already set to that directory.

One note though, if you want to use it for the Desktop, open Nautilus first, and click on Desktop in Nautilus. Don't try just right clicking on the Desktop directly or it won't work. ;-)"

This is a necessity as far as I'm concerned.

My oldest son is now a Trekky

Last night my wife had to run out to help her family and our kids were still getting over a HORRIBLE bout with the stomach flu (lasting about 2 weeks off and on in each kid). The two middle kids (I have 4) were fast asleep on the couches, and the baby was face down asleep on the floor. So I told my wife as she was leaving that I would just sleep downstairs with all of them.

I had started to watch Episode 1 of the first season of Star Trek: The Next Generation DVD collection earlier that day but didn't get through it very far. So I wanted to finish it and my oldest was begging me to watch it. So I agreed and put it on.

It's funny watching kids relate things that they know to things they are only just experiencing. My son said to me, "This reminds me of Galaxy Quest", to which I said, "Galaxy Quest is a play-off of the original Star Trek series." He said, "This is much better than Galaxy Quest." ;-)

So, after the episode ended, he started BEGGING me to watch the next episode! I told him it was a school night and he needed to get to sleep. So I put in Tron which he's seen a million times with me and could fall asleep because nothing about it was new and exciting keeping his interest. Now he'll be begging me to watch more episodes, so it's a good thing I have the first 3 seasons already. ;-)

I'd love for him to watch the movies too, but they can get a little scary for a kid, like the Borg in "First Contact" (one of my all time favorite movies by the way). We'll see how he does with the shows and then maybe I'll let him see some of the movies during daylight hours. ;-)

Ubuntu 7.10 (Gutsy Gibbon) LAMP Server Setup -- Ubuntu Geek

Ubuntu 7.10 (Gutsy Gibbon) LAMP Server Setup -- Ubuntu Geek

I recently changed my home server from CentOS 5 to Ubuntu 7.10 (Gutsy Gibbon) Server Edition and installed it choosing "DNS server", "LAMP server" (Linux + Apache + MySQL + PHP), "OpenSSH server" and "Samba File server"during the software selection portion. I did NOT follow the linked setup guide, but found it later when I was looking for an easy way to install Webmin on it from a command prompt.

I plan on going through this guide now to see if I missed anything beneficial, etc. I will also try to go into more detail of why I switched to Ubuntu from CentOS, but the "straw that broke (this) camel's back" was the difficulty in getting Samba shares setup and usable from client PCs. When I got the same function working in only minutes from my Ubuntu desktop PC, I decided to make the switch. It was very recent and I haven't had any time to look at the Samba sharing, but I will provide and update with my findings/experience.

Saturday, March 1, 2008

HOW TO: setup vnc4server - Ubuntu Forums

HOW TO: setup vnc4server - Ubuntu Forums

Okay, I just set this up and quickly tested it... it controls my secondary display (dual-display configuration using two X sessions). ;-) I have to tweak this a bit to create a X display I'm not already using.

HOWTO: 5 button mouse working on firefox (back/forward buttons) - Page 11 - Ubuntu Forums

HOWTO: 5 button mouse working on firefox (back/forward buttons) - Page 11 - Ubuntu Forums:
"Section 'InputDevice'
Identifier 'Configured Mouse'
Driver 'mouse'
Option 'CorePointer'
Option 'Device' '/dev/input/mice'
Option 'Protocol' 'ExplorerPS/2'
Option 'ZAxisMapping' '4 5'
Option 'Buttons' '7'
Option 'ButtonMapping' '1 2 3 6 7'
Option 'Emulate3Buttons' 'true'
EndSection"

I have a Creative Fatal1ty mouse (the higher-end model) and was having trouble getting the forward/back buttons working properly. Finally I realized that the "protocol" was set to something other than "ExplorerPS/2". Changing this fixed the problem for me (because I had already set all the other values properly and it still didn't work).

RestrictedFormats/PlayingDVDs - Community Ubuntu Documentation

RestrictedFormats/PlayingDVDs - Community Ubuntu Documentation: "Note : While Totem-gstreamer can play a DVD automatically when it is inserted into the DVD drive, it cannot navigate the DVD nor play it by selecting Movie → Play Disc 'DVD Name' (see [WWW] Bug #41335). If you use vlc media player you can navigate through the menu, forward in the movie and select subtitles. Just select open disc, probe Disc(s) and click ok."

Okay, so I *probably* should have seen this before when I viewed this page, but I think I didn't understand it even when I did read it. Still being a n00b makes life hard.

Anyway, it appears that Totem-gstreamer will not play back DVDs once you install libdvdnav4... I add this because I successfully played back an unencrypted DVD movie before installing libdvdnav4. It simply started the main title with no menu navigation. Seeing that DVD playback was working I decided to see if I could get navigation to work. After installing libdvdnav4 Totem-gstreamer throws an error and also wouldn't auto-launch upon DVD insertion like it did before installing libdvdnav4.

I glad I came back to this page and saw that little note. It was EXTREMELY frustrating me on my previous install. Yes, that's right... I blew away my original install. It wasn't for this, although it WAS something that bothered me. It was for a whole host of reasons and things not working right. I am certain I inflicted the issues on myself by not being careful about what I installed and looking for conflicts carefully. One of the things that plagued me was ALL video playback, be it DVD or mpg, avi, divx, etc, it ALL played back with a limited color palette. I honestly have no idea what caused this to happen because it was not always like that from the start after my original install. I plan on trying to be more careful and selective in my installs from here on out, and at a minimum keep track of what I install so I know how to back out when something goes wrong.

Anyway, this method, using Totem-xine seems to work just fine now, and I can even playback my newest encrypted DVD (Pirates of the Caribbean 3). So I'd say it's all good.

Create Your Own Cross-Platform Backup Server

Feature: Create Your Own Cross-Platform Backup Server

This looks pretty cool... it uses the same concept as say Veritas BackupExec and other enterprise backup software solutions where they "pull" the files to be backed up instead of the client "pushing" them to the server/share.

As my friend mentioned, the problem with this solution is what if the IP changes on a client machine and there is no dynamic DNS registration taking place. This solution seems directed at consumers for their homes, and most houses do not have dynamic DNS registration setup on their private network. I personally do, but I'm not a normal consumer.

With that said, this is still a cool solution that seems to be pretty easy to setup for cross-platform backups. However, the one common thread across Windows, OS X and Linux (the most common OSes for consumers) is the ability to attach to a Samba (SMB) share. So, really, all you need is a Samba share that your clients can connect to and then you can easily push the files. This could even be accomplished over the internet from a laptop not on your home network quite frankly. There is more setup involved on the firewall side of things, but it's possible with a push solution where the pull will not be able to find the laptop if it's not on the home network.