Wine Steam game links

17 10 2008

I recently setup Steam within wine to enjoy hl2 again. All is good except when I notice Trackmania Forever on the main Steam page as a free download. Try as I might the little clicky install thingy wouldn’t do its job.

Having a sniff around, I came across this, comment #2. http://bugs.winehq.org/show_bug.cgi?id=15263

Basically from your browser of choice goto http://store.steampowered.com/

Navigate to the game your after, click on the purchase/install link and that should open up a small popup window asking whether or not you have steam installed. Right click anywhere within that window and choose “view page source”.

Now your after a chunk of code that looks something like this:

<td
        width="260" height="115"
	align="center"
	class="gotSteam_yes" onmouseover="this.className='gotSteam_yes_ovr';" onmouseout="this.className='gotSteam_yes';"
	onclick="opener.location.href='steam://run/11020'; window.close();"
	>Yes, I already have<br>Steam installed!
</td>

The bit that we find interesting is this, “opener.location.href=’steam://run/11020′;

Open that location through wine as noted within the original comment or through Playonlinux like this

playonlinux --run Steam steam://run/11020




Debian amd64 on a Lenovo R61.

4 01 2008

I just brought myself a Lenovo R61 (89185KM). These are some basic notes on how my install of Debian etch via an i386 net-install cd went. I had initially tried amd64 but still flakey flash, java etc.

Booted fine.

Partition table created fine. Leaving a windows partition.

ethernet card detected and working fine.
Apt working fine. I did have a hiccup at package installation but re-running it solved what ever the problem was. I only chose to load laptop support and base config at this time. I Will load up X desktop later.

Grub installed fine.

On the initial reboot, acpi support complained about no such file or directory for system-manufacturer, system-product-name, system-version and bios-version. Vbetool segfaulted.

The Proprietary Nvidia drivers installed nicely and gave me a basic X session. All good. This is with the x86-169-07.pkg2 drivers. A nice guide can be found here.

For a stable eth and for sound, you’ll need to either install kernel version 2.6.23 from source or pull it from sid although there are some patches floating around.

Note on sound. For sound to work correctly on boot, you’ll need to have the modem enabled in bios otherwise all hell breaks loose.. 😉





Moving from Nvidia to Ati on Linux

19 12 2007

Being a gamer, I use the proprietary Linux drivers and with the recent Ati activity, have found cause to move over.
I’ve just finished my first move and found a few gotchas along the way. Here is a method to avoid them.

1.) Remove the nvidia driver.

As root, run sh NVIDIA-Linux---pkg.run --uninstall

2.) Install the ati driver in the same manner you would a nvidia one. You can get them from here

3.) If all went well, you’ll still need to edit your xorg.conf. Although the ati install had edited it, it still left behind the nvidia parts and didn’t fix the nvidia tweaks.

In Section “Module”, add
Load "GLcore"
Load "dri"

They were removed with the nvidia install.

In Section “Screen”, I found that no modes had been entered.. :/

ie. Modes “1200×1024” “1024×768”

Lastly, you’ll need to re-add the Section “DRI”,

Section "DRI"
Group 100
Mode 0660
EndSection

This assumes your a member of the group users, if not edit /etc/group





Put a transparent terminal on your desktop using aterm and Compiz-fusion

7 11 2007

I came across this link describing how to put a transparent terminal on your desktop using gnome-terminal. What happens if you don’t have gnome installed? Well you can get around this by using aterm. The process is basically the same except for a few points that I’ve listed below.

http://ubuntuforums.org/showthread.php?p=3254093

Part 1.

Since aterm doesn’t have profiles like gnome-terminal, the settings have to go into ~/.Xdefaults. If you don’t have it, create it.

! Setup aterm for use with compiz-fusion
aterm*transparent: true
aterm*font: 9×15
! I wanted the name to be more unique.
aterm*title: transaterm
aterm*scrollBar: false
aterm*internalBorder: 0
aterm*borderWidth: 0
aterm*borderLess: true
aterm*geometry: 80×36
aterm*shading:99
aterm*foreground:White

Part 2.

This section is much the same as the tutorial, with only personal preferences to worry about.

I left out ‘Window rules -> sticky’ as I have different backgrounds on my workspaces and using .Xdefaults we can only have one profile. Unfortunately what happens is the background on the first workspace will be carried over to the others.

In “Place windows” goto “Fixed window placement”. This is where you can appoint the position of your terminal. I always have a terminal opened in the bottom left corner of my screen so this is where I’ve placed it.

Windows with fixed positions

title=^transaterm$ 10 600

Windows with fixed viewpoint

title=^transaterm$ 0 0

Now you should be right to restart X.

Update. I recently had trouble with the transparency, whereas I would only get a black background. The workaround for this was to scrape aterm and start using tilda. :p It does true transparency and is a pinch to setup. Right click -> properties and just set it up the way you want. Easy.





Greetings to all…

23 04 2007

May peace find you and your heart not be turned…