Overly Chatty Penguins

The Ready Room => Off Topic => Topic started by: holy_devil on December 21, 2005, 06:14:25 PM

Title: linux as a..
Post by: holy_devil on December 21, 2005, 06:14:25 PM
http://www-128.ibm.com/developerworks/linu...ary/l-scrnsave/ (http://www-128.ibm.com/developerworks/linux/library/l-scrnsave/)

sup okay? seems fun :o
Title: linux as a..
Post by: Fewlio on December 22, 2005, 11:02:36 PM
What the crap?
Title: linux as a..
Post by: lolfighter on December 23, 2005, 05:39:52 AM
Sounds odd. Either way, as I pointed out in IRC it's another perfect example of the Linux community attempting to get more mainstream attention and shooting itself in the foot at the same time. Heads up:
Once you have something like this, more than 90% will immediately close the browser window:

Quote
You need to rebuild QEMU -- I learned how by following instructions in a QEMU forum (see Resources). Get these packages:

    * The Minimalist GNU for Windows components:
          o MinGW. This collection of freely available and freely distributable Windows-specific header files and import libraries combined with GNU toolsets allows you to produce native Windows programs that do not rely on any third-party C runtime DLLs.
          o MSYS, a Minimal SYStem. This allows POSIX/Bourne configuration scripts to execute and create a makefile used by make.
          o msysDTK. These add-ons for MSYS include telnet and rlogin.
    * SDL, Simple DirectMedia Layer. This cross-platform multimedia library is designed to provide low-level access to audio, keyboard, mouse, joystick, and 3D hardware via OpenGL and 2D video framebuffer.
    * zlib. This lossless data-compression library can be used on virtually any computer hardware and operating system, required by SDL.
    * directx. This is required when SDL runs under Windows.
    * Inno Setup. This is a free installer for Windows programs.


In short, "The perceived difficulty [...] of installing Linux" is not perceived at all.
Title: linux as a..
Post by: 2_of_8 on December 25, 2005, 01:58:23 PM
... yeah. How about I don't spend hours and hours trying to get a screensaver to work :)
Title: linux as a..
Post by: lolfighter on December 25, 2005, 03:28:29 PM
Well, I've seen one easy procedure so far:Voila, Linux on your compy.
Title: linux as a..
Post by: NewBorn on December 25, 2005, 06:45:11 PM
One question.......What benefit's would one receive for having linux running in a windows enviroment? why not just have a dual-boot machine? I know I do.
Title: linux as a..
Post by: lolfighter on December 25, 2005, 07:29:08 PM
I think it's more of a "proof of concept" thingy.
Title: linux as a..
Post by: Black Mage on December 27, 2005, 10:25:40 AM
Listing 1. Modifications to QEMU to enable it to run as screensaver:
Code: [Select]
for(;;) {
        if (optind >= argc)
            break;
        r = argv[optind];
        if (r[0] != '-') {
            if ( 0 == strcmp(r,"/s") ) {
              /* Going to run as a Windows screen saver */
              full_screen = 1;
              bios_dir = ".";
              ram_size=512*1024*1024;
              boot_device='d';
              hd_filename[cdrom_index] = "knosciences-0.95.iso";
              rtc_utc = 0;
              net_if_type = NET_IF_DUMMY;
              optind += 1;
            } else {
               hd_filename[0] = argv[optind++];
            }
        } else {
  ...
    }
    if ( full_screen == 1 )
    {
       putenv("SDL_VIDEODRIVER=windib");
    }

[about three more screenfulls of stuff]

Quote
That's really all it takes to install Linux from a LiveCD to run as a screensaver on a Windows machine. Have fun with it!

sometimes people ask me why i run windows...