Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "GNU/Linux"

From PCGamingWiki, the wiki about fixing PC games
m (Robot: Cosmetic changes)
(Added instructions for how to run games in a new X server.)
Line 16: Line 16:
  
 
<code>$ lshw > ~/Desktop/lshw.txt</code>
 
<code>$ lshw > ~/Desktop/lshw.txt</code>
 
+
 
 
=== Wine ===
 
=== 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.
 
[[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:
 +
<nowiki>
 +
#! /bin/bash
 +
DISPLAY=:1.0
 +
xinit $cd '/YOURGAMEPATH' $* -- :1
 +
</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.
 +
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.
 +
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/instructions|X server Permission error Debian/Ubuntu}}
 +
:# run <pre># dpkg-reconfigure x11-common</pre>
 +
:# Set: Move down and select "Anybody"
 +
}}
 +
{{Fixbox|1=
 +
{{Fixbox/instructions|X server Permission error Any}}
 +
:# open <pre>/etc/X11/Xwrapper.config</pre>
 +
:# Set <pre>allowed_users=root or console</pre> to  <pre>allowed_users=anybody</pre>
 +
}}
 +
{{Fixbox|1=
 +
{{Fixbox/instructions|No sound}}
 +
:# When on the new X server run the command <pre>ck-launch-session</pre>
 +
}}
  
 
<references/>
 
<references/>

Revision as of 22:57, 23 October 2012

This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.
This page is a stub: it lacks content and/or basic article components. You can help to expand this page by adding an image or additional information.

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. 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
  1. www.engadget.com/2012/04/25/steam-for-linux/