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
(Redirected page to Linux)
 
Line 1: Line 1:
{{cleanup}}
+
#REDIRECT [[Linux]]
{{Stub}}
 
 
 
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.<ref>www.engadget.com/2012/04/25/steam-for-linux/</ref>
 
 
 
== Terminal commands ==
 
<code>$ lshw</code> lists hardware.<br />
 
<code>$ lspci</code> lists all PCI devices.<br />
 
<code>$ lsusb</code> lists all USB devices.
 
 
 
To create a text document of the Terminal output, append > filename.txt to the command.
 
 
 
<code>$ lshw > lshw.txt</code>
 
 
 
To have the text document on the desktop:
 
 
 
<code>$ lshw > ~/Desktop/lshw.txt</code>
 
 
 
=== 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:
 
<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. 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.
 
{{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|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/instructions|No sound}}
 
:# When on the new X server run the command <pre>ck-launch-session</pre>
 
}}
 
<references/>
 
 
 
[[Category:Guide]]
 
[[Category:Linux]]
 

Latest revision as of 19:30, 9 November 2012

Redirect to: