Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › A GUI F@H installer for Linux!
New Posts  All Forums:Forum Nav:

A GUI F@H installer for Linux! - Page 8

post #71 of 214
Thread Starter 
Wow, maybe I just fail with Suse, but I'm having a hard time figuring it out. So while it is very beautiful, I'm going back to Ubuntu for right now. Maybe I can go back and mess with Suse later.
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
post #72 of 214
Hey, I modded Testgui a bit and came up with something that automatically determines whether the operating system is 32 or 64-bit and launches the appropriate shell script.. I realize this makes the GUI pointless, and I suppose puts this outside the realm of the project, but I do see a possible future use for the gui in setting up multiple SMP clients, as well as getting the (hopefully forthcoming) Linux GPU2 client working
Jesus PC v5.3
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-950 Gigabyte X58A-UD3R 5850 GSkill 1600 MHz 4x4GB 
Hard DriveOptical DriveOSMonitor
3x1200.12 500GB RAID 0, 2x2TB Deskstar RAID 1 Samsung Writemaster SATA Gentoo, Windows 7 x64 3x 21.5" Samsungs 
PowerCaseMouse
Thermaltake 750W RocketPwn G500 
  hide details  
Reply
Jesus PC v5.3
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-950 Gigabyte X58A-UD3R 5850 GSkill 1600 MHz 4x4GB 
Hard DriveOptical DriveOSMonitor
3x1200.12 500GB RAID 0, 2x2TB Deskstar RAID 1 Samsung Writemaster SATA Gentoo, Windows 7 x64 3x 21.5" Samsungs 
PowerCaseMouse
Thermaltake 750W RocketPwn G500 
  hide details  
Reply
post #73 of 214
Well I modified the gui I posted earlier, and used the old installer I had made for F@H some time ago for OCnix. I just modified it a bit to be more flexible with the gui front end. I attached a zip file, inside that is the gui, shell script and startup icon. You can just unzip the package and click the icon "fah" and that will start up the gui. No need to touch the terminal really unless your desktop environment doesn't have a way to graphically unpack a zip file.

Edit: I'll add an option for an alias I guess aswell, and wait to talk to GoG first. Then I can post files again.
Edited by dangerousHobo - 6/28/08 at 8:22pm
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #74 of 214
Thread Starter 
You guys are awesome! Like stated many times before. My programming skills aren't amazing by any stretch of the imagination.

Okay here are my thoughts so far, based on both of ya'll's descriptions of your contributions (that doesn't seem like the correct word...).

FMC-I love the idea that it auto detects (or has the potential to) the type of operating system. However, I'd like to add it as a choice in the GUI as opposed to it just running. Maybe something like this.

[32-bit]
[64-bit]
[Let Installer make the best choice for me]

Later when GPU2 comes into play, it would be awesome to have your program detect whether the user has a compatible card for GPU2. We might be able to work something out with the creator of Envy (driver installer for ATI and NVIDIA cards) so we can install the correct driver needed for the video card.

So, in short, yes I love the idea, but I believe the GUI is needed for the future as Linux comes more into play as a main stream distro. Also, for those people who only want to use Linux to fold, I'd love for this program to be something they can install, click, input the information, and go.

dangerousHobo- Thanks a lot for the work on the GUI. Anything you want to do to make it look better is fine by me. As for the "alias" thing, I think you are talking about the name used for the FAH site correct? I know you wrote the config file for the Desktop shortcut in OCNix, do you think it would be possible to have the user's input their information in the GUI then save that information into a config file? This way the use would not have to mess with the terminal at all. I'm just throwing this idea around right now and it is not necessary at the moment, but I think it would be awesome.

I think it would be a good idea to hold off the Mac project for right now until we have the Linux one nailed down pretty good.

But one more thing before I ask ya'll for your continued help. I have a very Linux approach to programs. As in, I believe that they should be both free as in beer and free as in freedom. If you both agree (dangerousHobo seems to hold this idea as well seeing as he offers both his FAH-installer and his Perlmon for free) I'd love to have you on board for this project.

NOTE TO PEOPLE INTERESTED IN HELPING, PLEASE FEEL FREE TO HELP IN ANYWAY! OR IF YOU'D LIKE TO HELP, BUT DON'T KNOW HOW, PM ME OR POST HERE FOR MORE INFORMATION.
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
post #75 of 214
I'm a big believer in free beer, as well as making the recipe publicly available

Attached is the Testgui mod, named TestguiAUTO (i figured giving it a second name would let the two live together), just throw it in the existing 'GUI-FAH-Installer' and chmod it to executable (i may have done that already.. try a double click first)

Its a simple if-else statement, which you'd just have to toss into the wxGlade functions...

Thanks for doing this in python, its forcing me to learn my way around it... nifty little bugger it is


EDIT: Envy is still Debian supported only... looks like the three of us are out of luck, heh
Edited by FearMeansControl - 6/29/08 at 2:34pm
Jesus PC v5.3
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-950 Gigabyte X58A-UD3R 5850 GSkill 1600 MHz 4x4GB 
Hard DriveOptical DriveOSMonitor
3x1200.12 500GB RAID 0, 2x2TB Deskstar RAID 1 Samsung Writemaster SATA Gentoo, Windows 7 x64 3x 21.5" Samsungs 
PowerCaseMouse
Thermaltake 750W RocketPwn G500 
  hide details  
Reply
Jesus PC v5.3
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-950 Gigabyte X58A-UD3R 5850 GSkill 1600 MHz 4x4GB 
Hard DriveOptical DriveOSMonitor
3x1200.12 500GB RAID 0, 2x2TB Deskstar RAID 1 Samsung Writemaster SATA Gentoo, Windows 7 x64 3x 21.5" Samsungs 
PowerCaseMouse
Thermaltake 750W RocketPwn G500 
  hide details  
Reply
post #76 of 214
Quote:
Originally Posted by GodofGrunts View Post

dangerousHobo- Thanks a lot for the work on the GUI. Anything you want to do to make it look better is fine by me. As for the "alias" thing, I think you are talking about the name used for the FAH site correct? I know you wrote the config file for the Desktop shortcut in OCNix, do you think it would be possible to have the user's input their information in the GUI then save that information into a config file? This way the use would not have to mess with the terminal at all. I'm just throwing this idea around right now and it is not necessary at the moment, but I think it would be awesome.

I think it would be a good idea to hold off the Mac project for right now until we have the Linux one nailed down pretty good.
I re-attached the package (alias stuff not added yet). Please let me know what you think. Gui is written in Perl-Gtk2 and installer is in Unix shell(Bourne Shell).

By alias I mean an easy way to start FAH from in a terminal. Like just by typing startfah.
Right now in my package, you unzip it and click the fah(fah.desktop file) icon and that starts the gui. Then from the gui you can choose to have a desktop icon created to be able to click which will open a terminal and start folding. So really as of right now you don't have to use the terminal to install or start F@H.
Edited by dangerousHobo - 6/30/08 at 4:45pm
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #77 of 214
Thread Starter 
Quote:
Originally Posted by FearMeansControl View Post
I'm a big believer in free beer, as well as making the recipe publicly available
Oh, I see what you did there.

Quote:
Originally Posted by FearMeansControl View Post
Attached is the Testgui mod, named TestguiAUTO (i figured giving it a second name would let the two live together), just throw it in the existing 'GUI-FAH-Installer' and chmod it to executable (i may have done that already.. try a double click first)

Its a simple if-else statement, which you'd just have to toss into the wxGlade functions...

Thanks for doing this in python, its forcing me to learn my way around it... nifty little bugger it is


EDIT: Envy is still Debian supported only... looks like the three of us are out of luck, heh
Thanks a lot for the attachment, constant lighting storms have causes my paranoia to force me to keep my sig rig unplugged so I'm working from my laptop right now. I'm trying to get wubi to run on it, but my laptop model is known to have problems with Ubuntu both graphically and wirelessly... sigh... It's a Dell though so maybe I can get some support for it...

I'll take a look at the code and see if I can make heads or tails out of it (This was my first thing that I've programmed in Python, actually a GUI maker did it for me, but originally I had an installer written mostly in python)

I also forgot that Envy was Debian only, we still might be able to use it though for Debian users, but we'll cross that bridge when we get there.

EDIT: I just looked at your code. and it seems to just run an if then statement. I could be wrong since I am viewing it in notepad and not actually testing it, but won't this code just run the 32-bit unless it fails?

Quote:
Originally Posted by dangerousHobo View Post
I re-attached the package (alias stuff not added yet). Please let me know what you think. Gui is written in Perl-Gtk2 and installer is in Unix shell(Bourne Shell).

By alias I mean an easy way to start FAH from in a terminal. Like just by typing startfah.
Right now in my package, you unzip it and click the fah(fah.desktop file) icon and that starts the gui. Then from the gui you can choose to have a desktop icon created to be able to click which will open a terminal and start folding. So really as of right now you don't have to use the terminal to install or start F@H.
I had looked at the GUI before (I'm assuming the zip is the same file right?) but I forgot what it looks like... I think I recall it looking a lot like mine. I PM'd admin to see if we could include the OCN logo, but it's a no go for right now. As mentioned earlier, I'm trying to get Wubi to work on my laptop. Hopefully, I'll get it up tomorrow and I can start working again.

Oh that is what that is called. Alias huh? I've always wondered how you got perlmon to start in the terminal like that. That would be a cool feature to add! If we did that do you think we could make an icon on the desktop that opened up a terminal and ran the alias command? That seems like it would be easier. Great idea and I'm glad you know how to do that.

I'm so excited to have you two working with me. I really thought I was going to have to do this on my own, which would have taken me forever to get to beta. Once we get a beta up we might even be able to sourcefuge (or whatever it's called) this project. Speaking of which, we need a name...

EDIT: The attachment you put up is just a folder
Edited by GodofGrunts - 6/30/08 at 12:42am
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
post #78 of 214
Quote:
Originally Posted by GodofGrunts View Post

EDIT: The attachment you put up is just a folder


I checked it this time.
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #79 of 214
Quote:
Originally Posted by GodofGrunts View Post
I just looked at your code. and it seems to just run an if then statement. I could be wrong since I am viewing it in notepad and not actually testing it, but won't this code just run the 32-bit unless it fails
If it were:

Code:
if sys.maxint == 2147483647:
    os.system("chmod +x thirtytwo.sh && ./thirtytwo.sh")
else if:
    os.system("chmod +x sixtyfour.sh && ./sixtyfour.sh")
then you would be correct in it running either 32-bit or failing, but since it's just an if-else, its simply "if this condition is met, do this, or in all other cases, do this" (i'm not sure if you already know this, so don't be insulted if you do )

... and as I just typed that out, I realized my own failed logic, as this is only accounting for 32 and 64 bit operating systems, and there's no stipulation for running something in 16-bit. I'm 99.9 % sure this shouldn't cause a problem, but it may not be a bad idea to throw a line in there that checks for 16 bit, and flags an error...

..i'm working partially from windows, partially from a *nix server at work during the week, and my linux situation at home right now is an ubuntu 32 bit build file server (i'm having problems installing gentoo on a Fake Raid), i'm hoping to have 64 bit linux on my sig rig again in a day or two, either by single drive or solving the problem
Jesus PC v5.3
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-950 Gigabyte X58A-UD3R 5850 GSkill 1600 MHz 4x4GB 
Hard DriveOptical DriveOSMonitor
3x1200.12 500GB RAID 0, 2x2TB Deskstar RAID 1 Samsung Writemaster SATA Gentoo, Windows 7 x64 3x 21.5" Samsungs 
PowerCaseMouse
Thermaltake 750W RocketPwn G500 
  hide details  
Reply
Jesus PC v5.3
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-950 Gigabyte X58A-UD3R 5850 GSkill 1600 MHz 4x4GB 
Hard DriveOptical DriveOSMonitor
3x1200.12 500GB RAID 0, 2x2TB Deskstar RAID 1 Samsung Writemaster SATA Gentoo, Windows 7 x64 3x 21.5" Samsungs 
PowerCaseMouse
Thermaltake 750W RocketPwn G500 
  hide details  
Reply
post #80 of 214
Thread Starter 
Quote:
Originally Posted by dangerousHobo View Post


I checked it this time.
Haha, thanks.

Quote:
Originally Posted by FearMeansControl View Post
If it were:

Code:
if sys.maxint == 2147483647:
    os.system("chmod +x thirtytwo.sh && ./thirtytwo.sh")
else if:
    os.system("chmod +x sixtyfour.sh && ./sixtyfour.sh")
then you would be correct in it running either 32-bit or failing, but since it's just an if-else, its simply "if this condition is met, do this, or in all other cases, do this" (i'm not sure if you already know this, so don't be insulted if you do )

... and as I just typed that out, I realized my own failed logic, as this is only accounting for 32 and 64 bit operating systems, and there's no stipulation for running something in 16-bit. I'm 99.9 % sure this shouldn't cause a problem, but it may not be a bad idea to throw a line in there that checks for 16 bit, and flags an error...

..i'm working partially from windows, partially from a *nix server at work during the week, and my linux situation at home right now is an ubuntu 32 bit build file server (i'm having problems installing gentoo on a Fake Raid), i'm hoping to have 64 bit linux on my sig rig again in a day or two, either by single drive or solving the problem
I understand if-then-else statements, but I wasn't seeing how it was checking for the operating system type.

So,
Code:
if sys.maxint == 2147483647:
checks to see if the operating system can generate the same number? I'm assuming that 64-bit generates a bigger number then? If that is how it works, that is brilliant! If you could do me a favor and write comments in your code (since three people are working on this) that would be awesome. As for the 16-bit part a simple statement could be added right before that code. Something like:
Code:
 if sys.maxint =! {insert correct number here}:
then (or whatever python uses):

...

else if: os.system("echo "Folding at home can not be ran on 16 bit operating systems. Check the error log." > /location/to/errorlog.txt")
Or something like that.
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
Damit
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 965 Black MSI 790FX-GD70 Asus ATI 5850 4x2 GBs RipJaw DDR3 1066 MHz 
Hard DriveOptical DriveOSMonitor
RAID 0 500 GB WD Black Lite-On Blue Ray, Samsung DVD Arch Linux/Ubuntu 10.04 25.5" Samsung 
KeyboardPowerCaseMouse
PS2 by Compaq 750 Watt COOLER MASTER Elite RC-332-KKN1-GP Death Adder 
Mouse Pad
Custom 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Overclock.net Folding@Home Team
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › A GUI F@H installer for Linux!