Difference between revisions of "GNU/Linux"
(Added another way to fix sound) |
|||
Line 28: | Line 28: | ||
</nowiki> | </nowiki> | ||
Save and allow the file to be executable. Running this script in the terminal will make it much easier end the server when you are finished with it. | Save and allow the file to be executable. Running this script in the terminal will make it much easier end the server when you are finished with it. | ||
− | Alternatively you can set the path to a terminal emulator like Xterm <code>/usr/bin/uxterm</code> and launch the game from a terminal in the new server. You could even | + | Alternatively you can set the path to a terminal emulator like Xterm <code>/usr/bin/uxterm</code> and launch the game from a terminal in the new server. You could even launch a file browser like nautilus <code>/usr/bin/nautilus</code> |
Press <code>Alt</code>+<code>Ctrl</code>+<code>F7</code> to return to the main desktop and <code>Alt</code>+<code>Ctrl</code>+<code>F8</code> to go back to the newly created one. | Press <code>Alt</code>+<code>Ctrl</code>+<code>F7</code> to return to the main desktop and <code>Alt</code>+<code>Ctrl</code>+<code>F8</code> to go back to the newly created one. | ||
{{Fixbox|1= | {{Fixbox|1= |
Revision as of 07:21, 24 October 2012
Traditionally, few games have been made available for Linux. This is slowly changing, as more indie developers are releasing Linx versions of their games. Not only this, but Valve is working on a version of Steam for linux which should be out within a year.[1]
Terminal commands
$ lshw
lists hardware.
$ lspci
lists all PCI devices.
$ lsusb
lists all USB devices.
To create a text document of the Terminal output, append > filename.txt to the command.
$ lshw > lshw.txt
To have the text document on the desktop:
$ lshw > ~/Desktop/lshw.txt
Wine
Wine is a compatibility layer that aims to make Windows games playable on Linux systems. The number of games that work properly is steadily growing, although not all games are supported.
Running games on a separate X server
Running games on a different X server from ones main desktop can dramatically improve performance and generally reduces the amount of problems with the game especially when using an advanced compositing window manager like Compiz. To launch a separate X server with a game create a new .sh file and paste in the fallowing code:
#! /bin/bash DISPLAY=:1.0 xinit $cd '/YOURGAMEPATH' $* -- :1
Save and allow the file to be executable. Running this script in the terminal will make it much easier end the server when you are finished with it.
Alternatively you can set the path to a terminal emulator like Xterm /usr/bin/uxterm
and launch the game from a terminal in the new server. You could even launch a file browser like nautilus /usr/bin/nautilus
Press Alt
+Ctrl
+F7
to return to the main desktop and Alt
+Ctrl
+F8
to go back to the newly created one.
Instructions |
---|
Instructions |
---|
Instructions |
---|
Instructions |
---|
- ↑ www.engadget.com/2012/04/25/steam-for-linux/