https://wiki.archlinux.org/api.php?action=feedcontributions&user=Convergence&feedformat=atomArchWiki - User contributions [en]2024-03-19T06:30:10ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Talk:EncFS&diff=326114Talk:EncFS2014-07-21T23:05:57Z<p>Convergence: Created page with "==login== This section under mount at login doesn't explicitly say what file should be edited. It also doesn't say what file to edit in the upstream howto. The section for G..."</p>
<hr />
<div>==login==<br />
This section under mount at login doesn't explicitly say what file should be edited. It also doesn't say what file to edit in the upstream howto. The section for GDM login does however say what file to edit. I think I've figured it out (/etc/pam.d/login) because it looks a lot like the file shown, and it makes sense. Maybe it is obvious to everyone but me though. The section '''is''' called "login". I'm not going to make the change though since I may be wrong. --[[User:Convergence|Convergence]] ([[User talk:Convergence|talk]]) 23:05, 21 July 2014 (UTC)</div>Convergencehttps://wiki.archlinux.org/index.php?title=Privoxy&diff=308671Privoxy2014-04-05T20:16:25Z<p>Convergence: /* Ad Blocking with Privoxy */</p>
<hr />
<div>[[Category:Proxy servers]]<br />
[[it:Privoxy]]<br />
{{Related articles start}}<br />
{{Related|Tor}}<br />
{{Related|Polipo}}<br />
{{Related|Hostsblock}}<br />
{{Related articles end}}<br />
<br />
[http://www.privoxy.org/ Privoxy] is a filtering proxy for the HTTP protocol, frequently used in combination with [[Tor]]. Privoxy is a web proxy with advanced filtering capabilities for protecting privacy, filtering web page content, managing cookies, controlling access, and removing ads, banners, pop-ups, etc. It supports both stand-alone systems and multi-user networks.<br />
<br />
Using Privoxy is necessary when they use a [[Wikipedia:SOCKS|SOCKS]] proxy directly because browsers leak your DNS requests, which reduces your anonymity.<br />
<br />
==Installation and setup==<br />
[[pacman | Install]] the {{Pkg|privoxy}} package from the [[official repositories]].<br />
<br />
When Privoxy is used in conjunction with [[Tor]] the two applications need to exchange information through a chain, which requires the specification of forwarding rules.<br />
<br />
{{warning|If you do not want to use Tor or another proxy there is no need to edit {{ic|/etc/privoxy/config}}. In fact, chaining to an invalid target will prevent your browser from opening any website.}}<br />
<br />
Edit your {{ic|/etc/privoxy/config}} file and add this line at the end (be sure to include the . at the end<br />
forward-socks5 / localhost:9050 .<br />
<br />
Preserve the file owner and group permissions of {{ic|/etc/privoxy/config}} as {{Ic|privoxy}}):<br />
chown privoxy:privoxy /etc/privoxy/config<br />
<br />
This example uses the default port used by Tor. If you changed the port number modify the example accordingly. The same basic example is valid for other targets. If you plan on chaining to another proxy specify the method (here [[Wikipedia:SOCKS#SOCKS5|SOCKS5]]) and the port to suit your needs. Refer to section 5 of the manual inside {{ic|/etc/privoxy/config}} for a complete list of options and examples.<br />
<br />
The above will forward all browser traffic through Tor. To only forward .onion sites through Tor, use this instead:<br />
forward-socks4a .onion localhost:9050 .<br />
<br />
To forward .i2p sites through the [[I2P]] router, add the following to {{ic|/etc/privoxy/config}}:<br />
forward .i2p localhost:4444<br />
<br />
Finally, if you plan to make Privoxy available to other computers in your network, just add:<br />
listen-address [SERVER-IP]:[PORT]<br />
<br />
For example:<br />
listen-address 192.168.1.1:8118<br />
<br />
==Tips==<br />
=== Privoxy and Polipo ===<br />
If you like to use a small and fast caching web proxy with Privoxy, you can use [[Polipo]]. Then you have to forward Privoxie's traffic to Polipo by forwarding all traffic to Polipo's port 8123:<br />
forward / localhost:8123 .<br />
<br />
==Ad Blocking with Privoxy==<br />
Using an ad blocking extension in a web browser can increase page load time. Additionally, extensions like AdBlock Plus are not supported by all browsers. A useful alternative is to install system-wide ad blocking by setting a proxy address in your preferred browser.<br />
<br />
Once Privoxy has been installed download and install the Opera urlfilter importer from [[AUR]] (i.e. [https://aur.archlinux.org/packages/blocklist-to-privoxy/?ID=63431 blocklist-to-privoxy]). You can optionally use an [[AUR Helper]] to do so.<br />
<br />
You can use adblock plus filters instead of the above "opera-fanboy" filters (fanboy filters haven't been updated in a long time anyway). The script here (https://github.com/Andrwe/privoxy-blocklist) automatically downloads adblock plus filters, converts them to a privoxy friendly format, and edits privoxy's config file to include those filters. 1) Run this script once to create /etc/conf.d/privoxy-blacklist 2) edit /etc/conf.d/privoxy-blacklist, and uncomment the line that says "PRIVOXY_USER=" and the two lines below it. 3) restart privoxy.<br />
<br />
To block tracking via embedded Facebook "Like" button, Twitter "follow", and Google Plus "+1", edit {{ic|/etc/privoxy/user.action}} and add these lines to the end:<br />
{+block-as-image{Facebook "like" and similar tracking URLs.}}<br />
www.facebook.com/(extern|plugins)/(login_status|like(box)?|activity|fan)\.php<br />
platform.twitter.com/widgets/follow_button?<br />
plusone.google.com<br />
<br />
==Usage==<br />
Start the Privoxy service:<br />
# systemctl start privoxy.service<br />
<br />
Enable the Privoxy service at boot:<br />
# systemctl enable privoxy.service<br />
<br />
Configure your program to use Privoxy. The default address is:<br />
localhost:8118<br />
<br />
For Firefox, go to:<br />
Preferences > Advanced > Network > Settings<br />
<br />
For Chromium you can use:<br />
<br />
$ chromium --proxy-server="localhost:8118"<br />
<br />
==Troubleshooting==<br />
If errors appear when accessing {{ic|/var/log/privoxy/}}, user can add the following after {{Ic|/bin/bash}} in {{ic|/etc/rc.d/privoxy}} and then restart privoxy.<br />
if [ ! -d /var/log/privoxy ] then<br />
mkdir /var/log/privoxy<br />
touch /var/log/privoxy/errorfile<br />
touch /var/log/privoxy/logfile<br />
chown -R privoxy:adm /var/log/privoxy<br />
fi<br />
<br />
==See also==<br />
* [http://www.privoxy.org/ Privoxy Official Website]<br />
* [https://www.torproject.org/index.html.en Tor Official Website]<br />
* [http://thestegemans.com/2011/06/03/blocking_ads_on_arch_linux_with_privoxy/ Blocking Ads on Arch Linux with Privoxy]</div>Convergencehttps://wiki.archlinux.org/index.php?title=Subsonic&diff=270552Subsonic2013-08-10T00:02:37Z<p>Convergence: /* Madsonic */</p>
<hr />
<div>[[Category:Audio/Video]]<br />
'''Subsonic''' is a music server that lets you store your music on one machine and play it from other machines, cell phones, via a web interface, or various other applications. It can be installed using the {{AUR|subsonic}} package on [[AUR]].<br />
<br />
==Additional config==<br />
===Run subsonic daemon NOT as root===<br />
<br />
By default, subsonic runs as root. This can be changed at any time after installation, even if the daemon has never run.<br />
<br />
Stop the daemon, if it's running:<br />
<br />
# rc.d stop subsonic<br />
<br />
Add a system user "subsonic" without home folder and add it to "audio" group if you want to use the [http://www.subsonic.org/pages/features.jsp jukebox] feature:<br />
<br />
# useradd --system --groups audio subsonic<br />
<br />
Change folder owners as follow. Path may change, and the ones listed below are the current (2013-02-05) defaults. If the {{ic|transcode}} folder does not exist, you should [[#Install Transcoders]].<br />
<br />
# chown -R subsonic:subsonic /tmp/subsonic<br />
# chown -R subsonic:subsonic /var/subsonic<br />
# chown -R root:root /var/subsonic/transcode<br />
# chown -R root:root /var/subsonic/jetty/*/webapp<br />
<br />
Change this line in {{ic|/var/subsonic/subsonic.sh}}:<br />
<br />
${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \<br />
<br />
to this:<br />
<br />
sudo -u subsonic ${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \<br />
<br />
and restart the subsonic daemon.<br />
<br />
# rc.d start subsonic<br />
<br />
===Install Transcoders===<br />
<br />
By default, Subsonic uses FFmpeg to transcode videos and songs to an appropriate format and bitrate on-the-fly. After installation, you can change these defaults so that, for example, Subsonic will transcode FLAC files using FLAC + LAME instead of FFmpeg. At a minimum, you should [[pacman|Install]] the {{Pkg|ffmpeg}} package from the [[Official Repositories|official repositories]]. You may also want to install {{Pkg|flac}} and {{Pkg|lame}}.<br />
<br />
For security reasons, Subsonic will not search the system for any transcoders. Instead, the user has to create links to the necessary transcoders in the {{ic|/var/subsonic/transcode}} folder. Create the {{ic|transcode}} folder if it does not already exist, then make the necessary symlinks.<br />
<br />
# mkdir /var/subsonic/transcode<br />
$ cd /var/subsonic/transcode<br />
# ln -s `which ffmpeg`<br />
# ln -s `which flac`<br />
# ln -s `which lame`<br />
<br />
Finally, restart subsonic daemon.<br />
<br />
# rc.d start subsonic<br />
<br />
=== Systemd Setup ===<br />
<br />
The subsonic installation includes a systemd service file. To install it:<br />
<br />
# cp /var/subsonic/subsonic.service /usr/lib/systemd/system/subsonic.service<br />
<br />
Then, run:<br />
<br />
# systemctl --system daemon-reload <br />
<br />
And finally enable it:<br />
<br />
# systemctl enable subsonic.service<br />
<br />
=== HTTPS Setup ===<br />
<br />
To enable HTTPS browsing and streaming, open {{ic|/var/subsonic/subsonic.sh}} in an editor and change this line:<br />
<br />
SUBSONIC_HTTPS_PORT=0<br />
<br />
To this:<br />
<br />
SUBSONIC_HTTPS_PORT=8443<br />
<br />
{{Note|port 8443 seems hard-coded somewhere. When attempting to change it to port 8080 it will automatically redirect the browser to port 8443 after manually accepting the invalid HTTPS certificate. You will still be able to re-navigate to port 8080 after the warning page and have it work on that port.}}<br />
<br />
And [[systemd|restart]] the ''subsonic'' service.<br />
<br />
==Troubleshooting==<br />
===UTF-8 file names not added to the database===<br />
You must have at least one UTF-8 [[locale]] installed.<br />
<br />
If you start subsonic using {{ic|/etc/rc.d/subsonic}}, and your /etc/[[rc.conf]] has {{ic|<nowiki>DAEMON_LOCALE="no"</nowiki>}}, then the subsonic daemon will be started with the C locale, and Java will skip any folders with "international characters" (e.g. ßðþøæå etc.). Either set {{ic|DAEMON_LOCALE}} to {{ic|"yes"}} (but this will affect '''all''' rc.daemons), or add a line to the beginning of {{ic|/var/subsonic/subsonic.sh}} which sets {{ic|LANG}} to an installed UTF-8 locale, e.g. {{ic|<nowiki>LANG=nn_NO.utf8</nowiki>}}.<br />
<br />
===FLAC playback===<br />
<br />
The FFmpeg transcoder doesn't handle FLAC files well, and clients will often fail to play the resultant streams. (at least, on [[User:Ichimonji10|my]] machine) Using FLAC + LAME instead of FFmpeg solves this issue. This workaround requires that the FLAC and LAME transcoders have been installed, as explained in [[#Install Transcoders]].<br />
<br />
Start Subsonic and go to {{ic|settings > transcoding}}. Ensure that the default FFmpeg transcoder does not get used on files with a "flac" extension, then add a new entry. You'll end up with something like this:<br />
<br />
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"<br />
! Name !! Convert from !! Convert to !! Step 1 !! Step 2<br />
|-<br />
| mp3 default || ... NOT flac ... || mp3 || ffmpeg ... || &nbsp;<br />
|-<br />
| mp3 flac || flac || mp3 || flac --silent --decode --stdout %s || lame --silent -h -b %b -<br />
|}<br />
<br />
==Madsonic==<br />
Madsonic is a fork of Subsonic with extra features, does not require a registration fee (read completely free) and is available in AUR.<br />
<br />
Once you start the server, pay close attention to the Transcoding options, as you will probably have to change the command from "Audioffmpeg" to "ffmpeg".<br />
<br />
==External links==<br />
* [http://www.subsonic.org Official web site]</div>Convergencehttps://wiki.archlinux.org/index.php?title=Subsonic&diff=270051Subsonic2013-08-06T00:48:40Z<p>Convergence: Added info about Madsonic, a free alternative to Subsonic.</p>
<hr />
<div>[[Category:Audio/Video]]<br />
'''Subsonic''' is a music server that lets you store your music on one machine and play it from other machines, cell phones, via a web interface, or various other applications. It can be installed using the {{AUR|subsonic}} package on [[AUR]].<br />
<br />
==Additional config==<br />
===Run subsonic daemon NOT as root===<br />
<br />
By default, subsonic runs as root. This can be changed at any time after installation, even if the daemon has never run.<br />
<br />
Stop the daemon, if it's running:<br />
<br />
# rc.d stop subsonic<br />
<br />
Add a system user "subsonic" without home folder and add it to "audio" group if you want to use the [http://www.subsonic.org/pages/features.jsp jukebox] feature:<br />
<br />
# useradd --system --groups audio subsonic<br />
<br />
Change folder owners as follow. Path may change, and the ones listed below are the current (2013-02-05) defaults. If the {{ic|transcode}} folder does not exist, you should [[#Install Transcoders]].<br />
<br />
# chown -R subsonic:subsonic /tmp/subsonic<br />
# chown -R subsonic:subsonic /var/subsonic<br />
# chown -R root:root /var/subsonic/transcode<br />
# chown -R root:root /var/subsonic/jetty/*/webapp<br />
<br />
Change this line in {{ic|/var/subsonic/subsonic.sh}}:<br />
<br />
${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \<br />
<br />
to this:<br />
<br />
sudo -u subsonic ${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \<br />
<br />
and restart the subsonic daemon.<br />
<br />
# rc.d start subsonic<br />
<br />
===Install Transcoders===<br />
<br />
By default, Subsonic uses FFmpeg to transcode videos and songs to an appropriate format and bitrate on-the-fly. After installation, you can change these defaults so that, for example, Subsonic will transcode FLAC files using FLAC + LAME instead of FFmpeg. At a minimum, you should [[pacman|Install]] the {{Pkg|ffmpeg}} package from the [[Official Repositories|official repositories]]. You may also want to install {{Pkg|flac}} and {{Pkg|lame}}.<br />
<br />
For security reasons, Subsonic will not search the system for any transcoders. Instead, the user has to create links to the necessary transcoders in the {{ic|/var/subsonic/transcode}} folder. Create the {{ic|transcode}} folder if it does not already exist, then make the necessary symlinks.<br />
<br />
# mkdir /var/subsonic/transcode<br />
$ cd /var/subsonic/transcode<br />
# ln -s `which ffmpeg`<br />
# ln -s `which flac`<br />
# ln -s `which lame`<br />
<br />
Finally, restart subsonic daemon.<br />
<br />
# rc.d start subsonic<br />
<br />
=== Systemd Setup ===<br />
<br />
The subsonic installation includes a systemd service file. To install it:<br />
<br />
# cp /var/subsonic/subsonic.service /usr/lib/systemd/system/subsonic.service<br />
<br />
Then, run:<br />
<br />
# systemctl --system daemon-reload <br />
<br />
And finally enable it:<br />
<br />
# systemctl enable subsonic.service<br />
<br />
=== HTTPS Setup ===<br />
<br />
To enable HTTPS browsing and streaming, open {{ic|/var/subsonic/subsonic.sh}} in an editor and change this line:<br />
<br />
SUBSONIC_HTTPS_PORT=0<br />
<br />
To this:<br />
<br />
SUBSONIC_HTTPS_PORT=8443<br />
<br />
{{Note|port 8443 seems hard-coded somewhere. When attempting to change it to port 8080 it will automatically redirect the browser to port 8443 after manually accepting the invalid HTTPS certificate. You will still be able to re-navigate to port 8080 after the warning page and have it work on that port.}}<br />
<br />
And [[systemd|restart]] the ''subsonic'' service.<br />
<br />
==Troubleshooting==<br />
===UTF-8 file names not added to the database===<br />
You must have at least one UTF-8 [[locale]] installed.<br />
<br />
If you start subsonic using {{ic|/etc/rc.d/subsonic}}, and your /etc/[[rc.conf]] has {{ic|<nowiki>DAEMON_LOCALE="no"</nowiki>}}, then the subsonic daemon will be started with the C locale, and Java will skip any folders with "international characters" (e.g. ßðþøæå etc.). Either set {{ic|DAEMON_LOCALE}} to {{ic|"yes"}} (but this will affect '''all''' rc.daemons), or add a line to the beginning of {{ic|/var/subsonic/subsonic.sh}} which sets {{ic|LANG}} to an installed UTF-8 locale, e.g. {{ic|<nowiki>LANG=nn_NO.utf8</nowiki>}}.<br />
<br />
===FLAC playback===<br />
<br />
The FFmpeg transcoder doesn't handle FLAC files well, and clients will often fail to play the resultant streams. (at least, on [[User:Ichimonji10|my]] machine) Using FLAC + LAME instead of FFmpeg solves this issue. This workaround requires that the FLAC and LAME transcoders have been installed, as explained in [[#Install Transcoders]].<br />
<br />
Start Subsonic and go to {{ic|settings > transcoding}}. Ensure that the default FFmpeg transcoder does not get used on files with a "flac" extension, then add a new entry. You'll end up with something like this:<br />
<br />
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"<br />
! Name !! Convert from !! Convert to !! Step 1 !! Step 2<br />
|-<br />
| mp3 default || ... NOT flac ... || mp3 || ffmpeg ... || &nbsp;<br />
|-<br />
| mp3 flac || flac || mp3 || flac --silent --decode --stdout %s || lame --silent -h -b %b -<br />
|}<br />
<br />
==Madsonic==<br />
Madsonic is a fork of Subsonic with extra features, does not require a registration fee (read completely free) and is available in AUR.<br />
<br />
Madsonic installs to the same directory as Subsonic, so follow the same directions about users and permissions above. <br />
<br />
Once you start the server, pay close attention to the Transcoding options, as you will probably have to change the command from "Audioffmpeg" to "ffmpeg".<br />
<br />
==External links==<br />
* [http://www.subsonic.org Official web site]</div>Convergencehttps://wiki.archlinux.org/index.php?title=Gamepad&diff=263690Gamepad2013-06-21T00:34:43Z<p>Convergence: </p>
<hr />
<div>[[Category:Input devices]]<br />
{{Out of date}}<br />
Joysticks can be a bit of a hassle to get working in Linux. Not because they are poorly supported, but simply because you need to determine which modules to load to get your joystick working, and it's not always very obvious!<br />
<br />
= Setup =<br />
== Determining Which Modules You Need ==<br />
For an extensive overview of all joystick related modules in Linux, you will need access to the Linux kernel sources -- specifically the Documentation section. Unfortunately, pacman kernel packages do not include what we need. If you have the kernel sources downloaded, have a look at <code>Documentation/input/joystick.txt</code>. You can browse the kernel source tree at [http://kernel.org/ kernel.org] by clicking the "C" (current changesets) link, then clicking the "tree" link near the top. Here's a link to the [http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.17.y.git;a=blob;h=d53b857a3710ccdde5bc504f212993dcb10a20be;hb=d2350c2ad1463a973b586cadb49c2fa0c83089b8;f=Documentation/input/joystick.txt Documentation from kernel 2.6.17.11].<br />
<br />
Some joysticks need specific modules, such as the Microsoft Sidewinder controllers (<code>sidewinder</code>), or the Logitech digital controllers (<code>adi</code>). Many older joysticks will work with the simple <code>analog</code> module. If your joystick is plugging in to a gameport provided by your soundcard, you will need your soundcard drivers loaded - however, some cards, like the Soundblaster Live, have a specific gameport driver (<code>emu10k1-gp</code>). Older ISA soundcards may need the <code>ns558</code> module, which is a standard gameport module.<br />
<br />
As you can see, there are many different modules related to getting your joystick working in Linux, so I couldn't possibly cover everything here. Please have a look at the documentation mentioned above for details.<br />
<br />
==Loading the Modules==<br />
You need to load a module for your gameport (<code>ns558</code>, <code>emu10k1-gp</code>, <code>cs461x</code>, etc...), a module for your joystick (<code>analog</code>, <code>sidewinder</code>, <code>adi</code>, etc...), and finally the kernel joystick device driver (<code>joydev</code>). Add these to your <code>/etc/rc.conf</code>, or simply modprobe them. The <code>gameport</code> module should load automatically, as this is a dependency of the other modules.<br />
<br />
==Testing Your Configuration==<br />
Once the modules are loaded, you should find a new device: <code>/dev/input/js0</code>. You can simply <code>cat</code> the device to see if it works - move the stick around, press all the buttons. I found my Logitech Thunderpad Digital had two buttons that weren't working with the <code>analog</code> module. After reading some docs, I saw there was a specific <code>adi</code> module for this controller. The moral of the story is, if it doesn't work the first time, do not give up, and read those docs thoroughly! I couldn't get anything working at all until I found that documentation.<br />
<br />
==USB Joysticks==<br />
You need to get USB working, and then modprobe your joystick driver, which is <code>usbhid</code>, as well as <code>joydev</code>. <br />
If you use a usb mouse or keyboard, <code>usbhid</code> will be loaded already and you just have to load the <code>joydev</code> module.<br />
<br />
==PS3 Controller==<br />
The Sixaxis gamepad works out of the box when plugged in via USB. (It works great for HL2 in Steam)<br />
<br />
Gamepad control over mouse is on by default. You may want to turn it off before playing games, See below.<br />
<br />
==Xbox 360 Controllers==<br />
The controllers should work without additional packages, but the wireless controller needs a wireless reciever (the charge-and-play cable can not be used for communicating with the controller). Both the wired controllers and the wireless reciever is supported by the {{ic|xpad}} kernel module.<br />
<br />
Unfortunately xpad has problems with new wireless controllers:<br />
* incorrect button mapping. ([https://github.com/ValveSoftware/steam-for-linux/issues/95#issuecomment-14009081 discussion in Steam bugtracker])<br />
* not-working sync. All four leds keep blinking, but controller works. ([https://bbs.archlinux.org/viewtopic.php?id=156028 discussion in Arch Forum])<br />
The working solution is use {{aur|xboxdrv}}. It is alternative driver wich works in userspace. It could be launched as system service.<br />
<br />
If you wish to use the controller for controlling the mouse, or mapping buttons to keys, etc. you should use the {{ic|xf86-input-joystick}} package (configuration help can be found using {{ic|man joystick}}). If the mouse locks itself in a corner, it might help changing the {{ic|MatchDevicePath}} in {{ic|/etc/X11/xorg.conf.d/50-joystick.conf}} from {{ic|/dev/input/event*}} to {{ic|/dev/input/js*}}.<br />
<br />
===xboxdrv with two controllers===<br />
xboxdrv supports a multitude of controllers, but it works only in [http://pingus.seul.org/~grumbel/xboxdrv/xboxdrv.html#idp147464 daemon mode].<br />
The simplest way is launch xboxdrv as service in daemon mode:<br />
ExecStart = /usr/bin/xboxdrv -D -c /etc/conf.d/xboxdrv<br />
And add support of the second controller in config file:<br />
[xboxdrv]<br />
silent = true<br />
next-controller = true<br />
[xboxdrv-daemon]<br />
dbus = disabled<br />
<br />
==Troubleshooting==<br />
<br />
===Joystick moving mouse===<br />
Sometimes USB joystick can be recognized as HID mouse (only in X, it is still being installed as /dev/input/js0 as well). Known issue is cursor being moved by the joystick, or escaping to en edge of a screen right after plugin. If your application can detect joystick by it self, you can remove xf86-input-joystick package:<br />
<br />
# pacman -R xf86-input-joystick<br />
<br />
More gentle solution is to add:<br />
<br />
Option "StartKeysEnabled" "False"<br />
Option "StartMouseEnabled" "False"<br />
<br />
at the end of your {{ic|/etc/X11/xorg.conf.d/50-joystick.conf}} of joystick {{ic|InputClass}}.<br />
<br />
===Joystick sending keystrokes===<br />
This is a good solution for systems where restarting Xorg is a rare event because it's a static configuration loaded only on X startup. I use it on my media PC running XBMC controlled with Logitech Cordless RumblePad 2. Due to a problem with the d-pad (a.k.a. "hat") being recognized as another axis, I used to run [[Joy2key]] as a workaround. Since I upgraded to XBMC 11.0 and joy2key 1.6.3-1, this setup no longer worked for me. I ended up taking a more direct approach and let Xorg handle joystick events.<br />
<br />
<br />
First, make sure you have {{pkg|xf86-input-joystick}} installed. Then, create {{ic|/etc/X11/xorg.conf.d/51-joystick.conf}} like so:<br />
Section "InputClass"<br />
Identifier "Joystick hat mapping"<br />
Option "StartKeysEnabled" "True"<br />
#MatchIsJoystick "on"<br />
Option "MapAxis5" "keylow=113 keyhigh=114"<br />
Option "MapAxis6" "keylow=111 keyhigh=116"<br />
EndSection<br />
{{Note|The <em>MatchIsJoystick "on"</em> line doesn't seem to be required for this to work but you may want to uncomment it.}}</div>Convergencehttps://wiki.archlinux.org/index.php?title=PS3_Controller&diff=263688PS3 Controller2013-06-21T00:22:10Z<p>Convergence: </p>
<hr />
<div>[[Category:Input devices]]<br />
{{Stub}}<br />
<br />
== USB Controllers ==<br />
PS3 USB controllers, such as the Logitech Chillstream PS3 work out-of-the-box on Arch. Simply pluging one in into a usb port is enough to have it working on games that have gamepad support (This was tested on [https://aur.archlinux.org/packages.php?ID=51057 Dolphin] and [http://www.finalformgames.com/jamestown/ Jamestown].<br />
<br />
== Disable Joystick From Controlling Mouse ==<br />
If you want to play games with your controller, you might want to disable gamepad control over mouse cursor. To do this, edit /etc/X11/xorg.conf.d/50-joystick.conf so that it looks like this:<br />
{{hc|/etc/X11/xorg.conf.d/50-joystick.conf |<br />
Section "InputClass"<br />
Identifier "joystick catchall"<br />
MatchIsJoystick "on"<br />
MatchDevicePath "/dev/input/event*"<br />
Driver "joystick"<br />
Option "StartKeysEnabled" "False" #Disable mouse<br />
Option "StartMouseEnabled" "False" #support<br />
EndSection}}</div>Convergence