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
(Added instructions for how to run games in a new X server.)
(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.
+
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 use
 
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=
Line 39: Line 39:
 
:# open <pre>/etc/X11/Xwrapper.config</pre>
 
:# open <pre>/etc/X11/Xwrapper.config</pre>
 
:# Set <pre>allowed_users=root or console</pre> to  <pre>allowed_users=anybody</pre>
 
:# Set <pre>allowed_users=root or console</pre> to  <pre>allowed_users=anybody</pre>
 +
}}
 +
{{Fixbox|1=
 +
{{Fixbox/instructions|Permanent no sound fix}}
 +
:# Open the fallowing file as root in a text editor <pre>/etc/group</pre>
 +
:# Find the fallowing line <pre>audio:x:29:pulse</pre>
 +
:# Add a comma and your username ex: <pre>audio:x:29:pulse,linus</pre>
 
}}
 
}}
 
{{Fixbox|1=
 
{{Fixbox|1=
Line 44: Line 50:
 
:# When on the new X server run the command <pre>ck-launch-session</pre>
 
:# When on the new X server run the command <pre>ck-launch-session</pre>
 
}}
 
}}
 
 
<references/>
 
<references/>
  
 
[[Category:Guide]]
 
[[Category:Guide]]
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 06:29, 24 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. You could even use 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
  1. www.engadget.com/2012/04/25/steam-for-linux/