New Posts  All Forums:Forum Nav:

[Ubuntu] Using HFM.NET

post #1 of 18
Thread Starter 
I was working on running HFM.NET on my main rig and had it going but found this guide already published in the Google Groups page for HFM.NET. The first part is directly attributed to the linked guide, I have added more information after that. The Overclock.net HFM thread can be found here.

HFM.NET is based off of the .Net framework which is by Windows so doesn't natively have support for Linux. The mono project solves this issue:
Quote:
Mono is a software platform designed to allow developers to easily create cross platform applications. Sponsored by Novell, Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for development of Linux applications.
Installing HFM.NET:
First, edit your package sources with a text editor like gedit, nano, etc
Code:
sudo gedit /etc/apt/sources.list
Add these sources at the bottom of the file:
Code:
deb http://ppa.launchpad.net/directhex/monoxide/ubuntu jaunty main 
deb-src http://ppa.launchpad.net/directhex/monoxide/ubuntu jaunty main
Then add the GPG key
Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 23DC003A
Update repositories
Code:
sudo apt-get update
Install winforms libraries
Code:
sudo apt-get install libmono-winforms2.0-cil
Download HFM.NET (in .zip form)

Extract to a folder. I put it in my home directory in a folder call HFM

Run in terminal
Code:
mono ~HFM/HFM.exe
Source of above material.

Running HFM.NET:
This will allow you to run in terminal by typing HFM.

Create a file called HFM on your desktop, no file extension. You can name it whatever you want, unless that name is already in use. Check /bin for those commands.

Paste the following text in and save:
Code:
mono /home/username/HFM/HFM.exe
Open terminal any navigate to the desktop
Code:
cd Desktop
or
Code:
cd /home/username/Desktop
Then move the file
Code:
sudo mv HFM /bin
Move to the bin directory
Code:
cd /bin
Make executable
Code:
chmod +x HFM
Now when you type HFM in terminal, the client will run.

Creating a launcher for HFM.NET:
Right click on the top panel, or any panel, and select add to panel. A window will appear and select "Custom Application Launcher".

Add this information to the new window:
Quote:
Type: Application
Name: HFM.NET (or whatever you want to call it)
Command: HFM
And click Okay. You can drag this on to the desktop if you wish. This launcher will allow you to run HFM.NET without a terminal window running.
Edited by mortimersnerd - 4/17/10 at 4:05pm
Mr. Windy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9650 Asus Maximus II Formula EVGA GTX 460 8GB OCZ 800Mhz 
Hard DriveOSMonitorPower
2x300 V-Raptor, 2x1TB WD, 2xSegate 320GB Fedora 14 2x Samsung 245BW Corsair 750TX; APC BR1500 
Case
Soldam Windy Altium FC 700 
  hide details  
Reply
Mr. Windy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9650 Asus Maximus II Formula EVGA GTX 460 8GB OCZ 800Mhz 
Hard DriveOSMonitorPower
2x300 V-Raptor, 2x1TB WD, 2xSegate 320GB Fedora 14 2x Samsung 245BW Corsair 750TX; APC BR1500 
Case
Soldam Windy Altium FC 700 
  hide details  
Reply
post #2 of 18
just used this guide, works fantastic
Silk
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 @ 3.5 Gigabyte P55-UD4 HIS 5770 + XFX 8800GS (Physx) G.Skill 4GB Ripjaw @ 8-8-8-22-1T @ 1600Mhz 
Hard DriveOSMonitorPower
OS (200GB) Media (750GB) Windows 7 x64 Acer S243HL Corsair HX850 
Case
Lian Li A05 
  hide details  
Reply
Silk
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 @ 3.5 Gigabyte P55-UD4 HIS 5770 + XFX 8800GS (Physx) G.Skill 4GB Ripjaw @ 8-8-8-22-1T @ 1600Mhz 
Hard DriveOSMonitorPower
OS (200GB) Media (750GB) Windows 7 x64 Acer S243HL Corsair HX850 
Case
Lian Li A05 
  hide details  
Reply
post #3 of 18
What, no Wile E Coyote picture?

I kid. Nice guide; think mine looks a bit nicer, but it's Ubuntu, so not your fault.
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
post #4 of 18
Thread Starter 
Quote:
Originally Posted by zodac View Post
What, no Wile E Coyote picture?

I kid. Nice guide; think mine looks a bit nicer, but it's Ubuntu, so not your fault.
Nope, this is linux, you don't need a Wile E Coyote picture.

How are you suppose to make terminal commands pretty?

I'm glad it worked, I wrote it as I did that on my machine. Feel free to call me out on the typos, I'm sure there are at least a few in there.
Mr. Windy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9650 Asus Maximus II Formula EVGA GTX 460 8GB OCZ 800Mhz 
Hard DriveOSMonitorPower
2x300 V-Raptor, 2x1TB WD, 2xSegate 320GB Fedora 14 2x Samsung 245BW Corsair 750TX; APC BR1500 
Case
Soldam Windy Altium FC 700 
  hide details  
Reply
Mr. Windy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9650 Asus Maximus II Formula EVGA GTX 460 8GB OCZ 800Mhz 
Hard DriveOSMonitorPower
2x300 V-Raptor, 2x1TB WD, 2xSegate 320GB Fedora 14 2x Samsung 245BW Corsair 750TX; APC BR1500 
Case
Soldam Windy Altium FC 700 
  hide details  
Reply
post #5 of 18
You know, some embellishments. Like the "sudo", "cd" or "mono" commands in bold.

But yeah, it's never going to win any beauty contests.

Quote:
Originally Posted by mortimersnerd View Post
Feel free to call me out on the typos, I'm sure there are at least a few in there.
I'd argue that Linux should have a capital 'L', but it's fine other than that.
Edited by zodac - 4/17/10 at 3:58pm
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
post #6 of 18
I ran into a few problems. In the event someone else encounters these problems, here are the solutions.

1. While adding the GPG key, the Ubuntu server would timeout. So I used hkp://pool.sks-keyservers.net instead of keyserver.ubuntu.com in the command.

2. Upon executing "mono ~HFM/HFM.exe", the computer came back with
Code:
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll' directory.
To fix this, run the following
Code:
sudo apt-get install nant
I've got no bloody clue what nant is, but it requires a lot of the mono libs, including the package that installs mscorlib.dll

3. With Gnome, Compiz and AWN installed, opening HFM.NET is fine. But sometimes, when it is minimized, it won't appear in the Window Selector, or AWN. Go through the menus again to open it up again. I am unsure if this is a problem with mono, or what. Simple fix, make a launcher for it (as the guide). Second problem with minimizing is that sometimes, it causes Compiz to fail. Fix this by making a launcher with the following settings:
Code:
Type: Application in Terminal
Name: Restart Compiz
Command: compiz --replace &
When Compiz fails, just click on that, and within 5 seconds everything will be back to normal. I added it to my Menu under Applications -> Accesories.



Jun 22 '10: Add 3rd fix. This one may just be my setup/config of Compiz, but eh, ya never know.
Edited by jonathanh - 6/22/10 at 11:47am
Unnamed
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6550 Gigabyte GA-P35-DS3R Rev. 2 Geforce 9400GT 2x1GB 800Mhz A-Data 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 7200.10 250GB LG Super-Multi Ubuntu 10.04 2x 17in 
PowerCase
Thermaltake Purepower 600NP Cooler Master Mystique 
  hide details  
Reply
Unnamed
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6550 Gigabyte GA-P35-DS3R Rev. 2 Geforce 9400GT 2x1GB 800Mhz A-Data 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 7200.10 250GB LG Super-Multi Ubuntu 10.04 2x 17in 
PowerCase
Thermaltake Purepower 600NP Cooler Master Mystique 
  hide details  
Reply
post #7 of 18
I know this might be a bit more appropriate for the Ubuntu Forums, but due to my inability to decide where this question should be asked, I'll ask it here.

With HFM.NET, the text is near white on a white background, making it illegible until one of the clients is single clicked and the background color changes. Has this happened to anyone as well? And if so how did you fix it? (A theme change didn't work)
Unnamed
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6550 Gigabyte GA-P35-DS3R Rev. 2 Geforce 9400GT 2x1GB 800Mhz A-Data 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 7200.10 250GB LG Super-Multi Ubuntu 10.04 2x 17in 
PowerCase
Thermaltake Purepower 600NP Cooler Master Mystique 
  hide details  
Reply
Unnamed
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6550 Gigabyte GA-P35-DS3R Rev. 2 Geforce 9400GT 2x1GB 800Mhz A-Data 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 7200.10 250GB LG Super-Multi Ubuntu 10.04 2x 17in 
PowerCase
Thermaltake Purepower 600NP Cooler Master Mystique 
  hide details  
Reply
post #8 of 18
White text? It was plain old black when I installed it.
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
post #9 of 18


Yeah, go figure.
Unnamed
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6550 Gigabyte GA-P35-DS3R Rev. 2 Geforce 9400GT 2x1GB 800Mhz A-Data 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 7200.10 250GB LG Super-Multi Ubuntu 10.04 2x 17in 
PowerCase
Thermaltake Purepower 600NP Cooler Master Mystique 
  hide details  
Reply
Unnamed
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E6550 Gigabyte GA-P35-DS3R Rev. 2 Geforce 9400GT 2x1GB 800Mhz A-Data 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 7200.10 250GB LG Super-Multi Ubuntu 10.04 2x 17in 
PowerCase
Thermaltake Purepower 600NP Cooler Master Mystique 
  hide details  
Reply
post #10 of 18
That just looks completely wrong. I'd try reinstalling it...
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home