https://wiki.archlinux.org/api.php?action=feedcontributions&user=Adamrehard&feedformat=atomArchWiki - User contributions [en]2024-03-29T11:33:28ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=List_of_Applications/Games/Free&diff=200287List of Applications/Games/Free2012-05-05T03:39:50Z<p>Adamrehard: /* Simulation */ Fixed acronym</p>
<hr />
<div><noinclude><br />
[[Category:Gaming]]<br />
[[Category:Emulators]]<br />
{{i18n|Common Applications/Games/Free}}<br />
{{Games navigation}}<br />
</noinclude><br />
=== Native &ndash; Free ===<br />
{{Note|1=For possibly more up to date selection of games, try checking the [https://aur.archlinux.org/packages.php?O=0&K=&do_Search=Go&detail=1&C=6&SeB=nd&SB=n&SO=a&PP=25 AUR 'games' category]}}<br />
<br />
==== Action and adventure ====<br />
* {{App|Astromenace|AstroMenace is a modern 3D scrolling space shooter with ship upgrade possibilities|http://www.viewizard.com/download.php|{{Pkg|astromenace}}}}.<br />
* {{App|[[Wikipedia:Blob Wars|Blob Wars: Blob and Conquer]]|3D Action-adventure game, sequel to 2D platform game, Blob Wars: Metal Blob Solid|https://sourceforge.net/projects/blobwars/|{{Pkg|blobwars}}}}<br />
* {{App|Bloodridge|Java based, 3d adventure fantasy game|http://www.hayles.demon.co.uk/bloodridge/bloodridge.html|{{AUR?|Bloodridge}}}}<br />
* {{App|[[Wikipedia:BZFlag|BZFlag]]|Multiperson, first-person tank shooter|http://bzflag.org/|{{Pkg|bzflag}}}}<br />
* {{App|[[Wikipedia:Dink Smallwood|Freedink]]|Free and enhanced version of the action-adventure "Dink Smallwood"|http://www.freedink.org/|{{AUR|freedink}}}}<br />
* {{App|[[Wikipedia:Neverball|Neverball]]|3D game to guide a ball through a maze|http://neverball.org/|{{Pkg|neverball}}}}<br />
<br />
==== Arcade ====<br />
* {{App|Bomberclone|Free Bomberman-like game for Linux and Windows. The rules of the game are simple: run though a level and bomb other players|http://bomberclone.sourceforge.net/homepage/|{{Pkg|bomberclone}}}}<br />
* {{App|Ceferino|Action game similar to Super Pang|http://www.losersjuegos.com.ar/juegos/ceferino|{{AUR|ceferino}}}}<br />
* {{App|Chromium|fast paced, arcade-style, top-scrolling space shooter|http://chromium-bsu.sourceforge.net/|{{Pkg|chromium-bsu}}}}<br />
* {{App|Circus Linux!|Clone of the Atari 2600 game "Circus Atari", produced by Atari, Inc|http://www.newbreedsoftware.com/circus-linux|{{AUR|circuslinux}}}}<br />
* {{App|Crack-attack|free OpenGL game, based on the Super Nintendo classic Tetris Attack|http://www.nongnu.org/crack-attack/|{{AUR|crack-attack}}}}<br />
* {{App|Noiz2sa|A vertical shooter arcade game with nice abstract graphics, music, and joystick support|http://www.asahi-net.or.jp/~cs8k-cyu/windows/noiz2sa_e.html|{{AUR|noiz2sa}}}}<br />
* {{App|Pinball|open source pinball simulator for linux and other unix systems|http://pinball.sourceforge.net/|{{AUR|pinball}}}}<br />
* {{App|PowerManga|arcade 2D shoot-em-up game with 41 levels and more than 200 sprites|http://linux.tlk.fr/games/Powermanga/|{{AUR|powermanga}}}}<br />
* {{App|Tuxanci|Multiplatform game, inspired by well-known czech game Bulanci|http://www.tuxanci.org/en/start|{{AUR|tuxanci}}}}<br />
* {{App|[[Tetrinet]]|Multiplayer online Tetris game for up to six people|http://www.tetrinet.info/|{{AUR|gtetrinet}}}}<br />
* {{App|Ultrastar-ng|Clone of SingStar, a music video game|http://performous.org/|{{AUR|ultrastardx}}}}<br />
* {{App|Viruskiller|Your computer has been invaded! Using your trusty mouse you must shoot the buggers before they can destroy your files!|http://www.parallelrealities.co.uk/projects/virusKiller.php|{{AUR|viruskiller}}}}<br />
<br />
==== Course ====<br />
<br />
* {{App|Armagetron Advanced|a Tron Clone in 3D|http://armagetronad.net/|{{Pkg|armagetronad}}}}<br />
* {{App|Extreme Tux Racer|a 3D game where you guide Tux the penguin down a course of snow and ice collecting herring|http://extremetuxracer.com/|{{Pkg|extremetuxracer}}}}<br />
* {{App|Maniadrive|arcade car game on acrobatic tracks with quick and nervous gameplay|http://maniadrive.raydium.org/|{{AUR|maniadrive}}}}<br />
* {{App|Moon Buggy|a simple game for the text mode|http://seehuhn.de/pages/moon-buggy/|{{AUR|moon-buggy}}}}<br />
* {{App|Speed Dreams|fork of Torcs, aiming to implement exciting new features as well as improving realism|http://speed-dreams.org/|{{Pkg|speed-dreams}}}}<br />
* {{App|Stunt Rally|game with track editor, based on VDrift and OGRE|http://code.google.com/p/vdrift-ogre/|{{AUR|stuntrally}}}}<br />
* {{App|Supertux Kart|a kart racing game featuring Tux and his friends|http://supertuxkart.sourceforge.net/|{{Pkg|supertuxkart}}}}<br />
* {{App|Torcs|a 3D racing cars simulator using OpenGL|http://torcs.sourceforge.net/|{{Pkg|torcs}}}}<br />
* {{App|Trigger Rally|free OpenGL rally car racing game|http://sourceforge.net/projects/trigger-rally/|{{AUR|trigger}}}}<br />
* {{App|Ultimate Stunts|a remake of the famous DOS-game 'stunts'|http://www.ultimatestunts.nl/|{{AUR|ultimatestunts}}}}<br />
* {{App|VDrift|an open source driving simulation made with drift racing in mind|http://vdrift.net/|{{Pkg|vdrift}}}}<br />
<br />
==== Education ====<br />
* {{App|GCompris|educational software suite comprising of numerous activities for children aged 2 to 10|http://gcompris.net/-en-|{{Pkg|gcompris}}}}<br />
* {{App|Tux Paint|a free drawing program designed for young children.|http://tuxpaint.org/|{{Pkg|tuxpaint}}}}<br />
* {{App|Tux Type|an educational typing tutor for kids starring Tux.|http://tux4kids.alioth.debian.org/tuxtype/|{{AUR|tuxtype}}}}<br />
<br />
==== Platformer ====<br />
* {{App|Knyttstories|platformer with adventure elements, heavy exploration and downloadable levels|http://nifflas.ni2.se/|{{AUR|knyttstories}}}}<br />
* {{App|Secret Maryo Chronicles|another Mario-style game|http://www.secretmaryo.org/|{{Pkg|smc}}}}<br />
* {{App|SuperTux|Mario-style game featuring Tux|http://supertux.lethargik.org/|{{Pkg|supertux}}}}<br />
* {{App|toppler|reimplementation of the classic jump & run game "Nebulus"|http://toppler.sourceforge.net/|{{AUR|toppler}}}}<br />
<br />
==== Puzzle ====<br />
* {{App|Cgoban3|Kiseido Go and SGF client|http://www.igoweb.org/~wms/comp/cgoban/|{{AUR|cgoban}}}}<br />
* {{App|Crack Attack!|free OpenGL game based on the Super Nintendo classic Tetris Attack|http://www.aluminumangel.org/attack/|{{AUR|crack-attack}}}}<br />
* {{App|glChess|3D Chess Frontend|http://live.gnome.org/glChess|{{AUR|glchess}}}}<br />
* {{App|Gnono|GNOME version of the classic card game UNO|http://sourceforge.net/projects/gnono/|{{AUR|gnono}}}}<br />
* {{App|Ksudoku|Sudoku game & more for KDE|http://ksudoku.sourceforge.net/|{{Pkg|kdegames-ksudoku}}}}<br />
* {{App|Netris|unfinished developmental version of Netris, a free networked version of Tetris|http://www.netris.org/|{{AUR|netris}}}}<br />
* {{App|Pingus|Lemmings clone, i.e. a level-based puzzle game|http://pingus.seul.org/|{{Pkg|pingus}}}}<br />
* {{App|Xscorch|A clone of the classic DOS game Scorched Earth|http://www.xscorch.org/|{{AUR|xscorch}}}}<br />
<br />
==== Real Time Strategy (RTS) ====<br />
* {{App|[[Wikipedia:0 A.D. (video game)|0 A.D.]]|3D and historically-based real-time strategy game, alpha stage|http://wildfiregames.com/0ad/|{{Pkg|0ad}}}}<br />
* {{App|Boson|OpenGL real-time strategy game, with the feeling of Command&Conquer(tm) or StarCraft(tm)|http://boson.eu.org/|{{AUR?|boson}}}}<br />
* {{App|[[Wikipedia:Glest|Glest]]|free 3D real-time strategy game, where you control the armies of two different factions: Tech, which is mainly composed of warriors and mechanical devices, and Magic, that prefers mages and summoned creatures in the battlefield|http://glest.org|{{AUR|glest}}}}<br />
* {{App|Globulation 2|multiplayer RTS with some "economic" elements minimizing the amount of micromanagement|http://globulation2.org/wiki/Main_Page|{{AUR?|globulation}}}}<br />
* {{App|[[Wikipedia:MegaGlest|MegaGlest]]|fork of Glest, a 3D real-time strategy game in a fantastic world|http://sourceforge.net/projects/megaglest/|{{Pkg|megaglest}}}}<br />
* {{App|[[Wikipedia:Netpanzer|Netpanzer]]|realtime Strategy game like Command and Conquer but without building bases|http://www.netpanzer.org/|{{AUR|netpanzer}}}}<br />
<br />
==== Role Playing Game (RPG) ====<br />
{{Stub}}<br />
<br />
* {{App|Egoboo|open-source action RPG/dungeon crawling adventure with OpenGL 3D graphics|http://egoboo.sourceforge.net/|{{Pkg|egoboo}}}}<br />
<br />
* {{App|Vulture|an isometric graphical interface for NetHack, SlashEM and UnNethack|http://www.darkarts.co.za/vulture|{{AUR|vulture}}}}<br />
<br />
==== Shooters: FPS, Third Person ====<br />
* {{App|Alien Arena|free, standalone FPS focused mainly on online multiplayer, but can also be played singleplayer against bots|http://red.planetarena.org/|{{Pkg|alienarena}}}}<br />
* {{App|Assault Cube|free multiplayer FPS, based on the cube engine. Realistic environments, fast, arcade gameplay. Much like Counter-Strike|http://assault.cubers.net/|{{Pkg|assaultcube}}}}<br />
* {{App|[[Wikipedia:Cube (video game)|Cube]]|open source multiplayer and singleplayer first person shooter game|http://cubeengine.com/|{{AUR|cube}}}}<br />
* {{App|[[Wikipedia:Cube 2: Sauerbraten|Cube 2: Sauerbraten]]|improved version of the Cube engine|http://sauerbraten.org/|{{Pkg|sauerbraten}}}}<br />
* {{App|Nexuiz|free, open-source first person shooter. Development ceased, most of the developers moved to project [http://xonotic.org/ Xonotic]|http://alientrap.org/nexuiz|{{AUR|nexuiz}}}}<br />
* {{App|Open Arena|fast multiplayer shooter based on the quake3-engine|http://openarena.ws|{{Pkg|openarena}}}}<br />
* {{App|[[Wikipedia:Red Eclipse|Red Eclipse]]|single-player and multi-player first-person ego-shooter, built as a total conversion of Cube Engine 2|http://redeclipse.net|{{AUR|redeclipse}}}}<br />
* {{App|[[Wikipedia:Tremulous|Tremulous]]|FPS with elements of real time strategy, featuring humans and aliens|http://tremulous.net/|{{Pkg|tremulous}}}}<br />
* {{App|[[Urban Terror]]|modern multiplayer FPS based on the ioquake3 engine|http://urbanterror.info|{{Pkg|urbanterror}}}}<br />
* {{App|[[Wikipedia:Warsow (game)|Warsow]]|fast paced multiplayer FPS focusing on movement and trick jumps|http://warsow.net|{{Pkg|warsow}}}}<br />
* {{App|World Of Padman|stand slone somplex &ndash; cartoon-style multiplayer first-person shooter|http://worldofpadman.com|{{AUR|worldofpadman}}}}<br />
* {{App|Xonotic|free, open-source first person shooter (a fork of Nexuiz but with modified gameplay)|http://xonotic.org|{{Pkg|xonotic}}}}<br />
<br />
{{Poor writing|some random trash I can not even test. TODO: apply [[Template:App]].}}<br />
* Blood Frontier &ndash; Team oriented multiplayer FPS based on the Cube2 (Sauerbraten) engine<br />
* [http://tesseract-fps.sourceforge.net Tesseract]<br />
* [http://www.javagameplay.com/futuristicarenas/medium.html Futuristic Arenas]<br />
* [http://www.bytonic.de/downloads/jake2_jogl11.jnlp Jake 2]<br />
* [http://www.pulpgames.net/scared/ Scared]<br />
* [http://developer.valvesoftware.com/wiki/Steam_under_Linux Steam under Linux]<br />
* [http://www.truecombatelite.com/ True Combat: Elite(TCE)] - A completely free, realistic, team-based modification for Enemy Territory.<br />
* [http://tuer.sourceforge.net TUER]<br />
* [http://www.javagameplay.com/ancientarenas/medium.html Ancient Arenas]<br />
<br />
==== Simulation ====<br />
* {{App|Beyond The Red Line|completely free stand-alone conversion of Freespace 2 based on the TV show Battlestar Galactica|http://www.beyondtheredline.net/|{{AUR|btrl}}}}<br />
* {{App|Bygfoot|football (soccer) management game|http://bygfoot.sourceforge.net/|{{AUR|bygfoot}}}}<br />
* {{App|[[Wikipedia:Danger from the Deep|Danger from the Deep]]|submarine simulator|http://dangerdeep.sourceforge.net/|{{AUR|dangerdeep-svn}}}}<br />
* {{App|[[Wikipedia:Flight Gear|Flight Gear]]|open-source, multi-platform flight simulator|http://www.flightgear.org/|{{Pkg|flightgear}}}}<br />
* {{App|[[Wikipedia:FooBillard|Foobillard++]]|successor to Foobillard, OpenGL billiard game for Linux|http://foobillardplus.sourceforge.net/|{{Pkg|foobillard++}}}}<br />
* {{App|[[Wikipedia:FreeSpace 2|FreeSpace 2]]|open sourced space emulator|http://icculus.org/freespace2/|{{AUR|fs2_open}}}}<br />
* {{App|Pydance|Python Dance Dance Revolution style game|http://icculus.org/pyddr/|{{AUR|pydance}}}}<br />
* {{App|[[Wikipedia:Stepmania|Stepmania]]|advanced dance simulation game|http://www.stepmania.com/|{{AUR|stepmania}}}}<br />
<br />
===== Tycoon/Management Games =====<br />
* {{App|Lincity-ng|city simulation game in which you are required to build and maintain a city. You can win the game either by building a sustainable economy or by evacuating all citizens with spaceships|http://lincity-ng.berlios.de/|{{Pkg|lincity-ng}}}}<br />
* {{App|Simutrans|another Transport simulation that works on linux with sdl|http://www.simutrans.com/|{{AUR|simutrans}}}}<br />
<br />
==== TBS ====<br />
* {{App|Advanced Strategic Command|turn based strategy game in the tradition of the Battle Isle series|http://www.asc-hq.org/|{{AUR|asc}}}}<br />
* {{App|Crimson Fields|tactical war game in the tradition of Battle Isle|http://crimson.seul.org/|{{AUR|crimson}}}}<br />
* {{App|UFO Alien Invasion|fight aliens trying to capture Earth|http://ufoai.ninex.info/wiki/index.php/News|{{Pkg|ufoai}}}}</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=General_purpose_mouse&diff=200286General purpose mouse2012-05-05T02:41:33Z<p>Adamrehard: Removed a section from the intro: extraneous info</p>
<hr />
<div>{{i18n|Console Mouse Support}}<br />
[[Category:Daemons and system services]]<br />
[[Category:Mice]]<br />
<br />
{{Article summary start|Summary}}<br />
{{Article summary text|Installing and enabling the GPM daemon.}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Daemon}}<br />
{{Article summary end}}<br />
<br />
GPM, short for General Purpose Mouse, is a daemon that provides mouse support for Linux virtual consoles.<br />
<br />
==Installing==<br />
===Desktop===<br />
Install {{Pkg|gpm}} with [[pacman]].<br />
<br />
===Laptop===<br />
Install {{Pkg|gpm}} and {{Pkg|xf86-input-synaptics}} with [[pacman]].<br />
<br />
==Configuring==<br />
The {{ic|-m}} parameter precedes the declaration of the mouse to be used. The {{ic|-t}} parameter precedes the type of mouse. To get a list of available types for the {{ic|-t}} option, run {{ic|gpm}} with {{ic|-t help}}.<br />
$ gpm -m /dev/input/mice -t help<br />
<br />
If the mouse only has 2 buttons, pass {{ic|-2}} to {{ic|GPM_ARGS}} and button-2 will preform the paste function.<br />
<br />
The {{Pkg|gpm}} package needs to be started with a few parameters. These parameters can be added in the file {{ic|/etc/conf.d/gpm}} or used when running {{ic|gpm}} directly.<br />
* For PS/2 mice, replace the existing line with:<br />
GPM_ARGS="-m /dev/psaux -t ps2"<br />
* Whereas USB mice should use:<br />
GPM_ARGS="-m /dev/input/mice -t imps2"<br />
* And IBM Trackpoints need:<br />
GPM_ARGS="-m /dev/input/mice -t ps2"<br />
<br />
Once a suitable configuration has been found, adding {{ic|gpm}} into the {{ic|DAEMONS}} array in {{ic|/etc/rc.conf}} will make {{ic|gpm}} load at boot. Example:<br />
DAEMONS=(syslog-ng '''gpm''' network netfs crond)<br />
<br />
For more information see {{ic|man gpm}}.</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=ASUS_UL30A&diff=200285ASUS UL30A2012-05-05T02:35:40Z<p>Adamrehard: /* Compatibility */ Grammar</p>
<hr />
<div>[[Category:ASUS]]<br />
== About the laptop ==<br />
<br />
* 13.3" LED Screen 1366 x 768. <br />
* 4GB DDR3 <br />
* 1.3Ghz Dual core. <br />
* 320GB HDD. <br />
* 8-cell battery 84wh. <br />
* HDMI<br />
<br />
== Compatibility ==<br />
<br />
Everything in this laptop is Linux compatible, therefore you will not have any issues installing Linux. I recommend [http://wiki.archlinux.org/index.php/Xbindkeys Xbindkeys] for sound buttons. Every other fn-X button works. Suspend, wifi, brightness works. The video out button does not work, use xrandr instead. HDMI works as well. The battery is properly read. Use [http://wiki.archlinux.org/index.php/Laptop#Laptop_mode_tools laptop-mode-tools] for power saving. You can run xorg without config file. xf86-video-intel is the package you need. I could not run x with vesa on this chipset, it just froze completely. HDMI and VGA out works, but not via fn-F8. You can use lxrandr, GUI for xrandr for setting up video out. You can make fn-f8 work by configuring [http://wiki.archlinux.org/index.php/Acpid Acpid].<br />
=== Webcam Flipping ===<br />
Written by [https://bbs.archlinux.org/profile.php?id=49720 MessedUpHare]<br />
<br />
Some models supposedly have their webcams mounted upside down (not confirmed) causing the image to display upside down, this at least affects Skype and Google Hangout.<br />
<br />
'''Google Hangout in Chromium on x86_64'''<br />
$ LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /opt/google/talkplugin/GoogleTalkPlugin & chromium<br />
<br />
the above solution requires lib32-v4l-utils from multilib, I have also installed google-talkplugin from AUR<br />
<br />
== Alternate Powersaving ==<br />
Written by [https://bbs.archlinux.org/profile.php?id=17059 lswest] (please contact me via my forum profile if you have any questions or problems with this description).<br />
<br />
If you can't get laptop-mode-tools adjusting power the way you'd like (I've had many problems with it), you can get the same functionality using pm-powersave, acpi, and acpi-support. Install these packages (acpi-support can be found in the AUR), and rename the file /etc/acpi/sleep.sh to sleep.sh.bak, or move it do a different directory. If you leave it, I've found that my laptop tends to suspend, resume, and suspend, then get stuck. If you find suspend doesn't work without it, feel free to add that information to this section. Also, add acpi and acpi-support to the DAEMONS array, and asus-laptop to your MODULES array of your rc.conf.<br />
<br />
As for custom powersaving scripts, you just need to create a bash script within the /etc/pm/power.d/ directory, using a bash case statement with true for on battery, and false for on AC, and then your settings. Make sure they're executable. Below I have a list of files (and their contents) located in my /etc/pm/power.d/ directory, which should cover all basic functionality of laptop-mode-tools (I get between 10 and 12 hours using these scripts depending on my usage).<br />
<br />
'''Note''': You will need to double-check any file paths to ensure they're correct for your system before using these scripts. They were written for a German Asus UL30A, with a slightly different set of hardware from a UL30Vt.<br />
<br />
'''Audio'''<br />
#!/bin/bash<br />
case "$1" in<br />
true)<br />
echo 10 >> /sys/module/snd_hda_intel/parameters/power_save<br />
;;<br />
false)<br />
echo 0 >> /sys/module/snd_hda_intel/parameters/power_save<br />
;;<br />
esac<br />
exit 0<br />
<br />
'''Bluetooth'''<br />
#!/bin/sh<br />
case "$1" in<br />
true)<br />
hciconfig hci0 down;<br />
/etc/rc.d/bluetooth stop;<br />
rmmod hci_usb;<br />
;;<br />
false)<br />
modprobe hci_usb;<br />
hciconfig hci0 up;<br />
/etc/rc.d/bluetooth start;<br />
;;<br />
esac<br />
exit 0<br />
<br />
'''Brightness'''<br />
#!/bin/sh<br />
case "$1" in<br />
true)<br />
echo 2 >> /sys/devices/platform/asus_laptop/backlight/asus_laptop/brightness<br />
;;<br />
false)<br />
echo 15 >> /sys/devices/platform/asus_laptop/backlight/asus_laptop/brightness<br />
;;<br />
esac<br />
exit 0<br />
<br />
Add <code>acpi_backlight=vendor</code> into your bootloader in kernel line<br />
<br />
Example /boot/grub/menu.lst:<br />
<br />
title Arch Linux 2.6.32.52-1<br />
root (hd0,6)<br />
kernel /boot/vmlinuz26-lts root=/dev/sda7 <b>acpi_backlight=vendor</b> ro<br />
initrd /boot/kernel26-lts.img<br />
<br />
'''Ethernet'''<br />
#!/bin/bash<br />
case "$1" in<br />
true)<br />
ifconfig eth0 down<br />
;;<br />
false)<br />
ifconfig eth0 up<br />
;;<br />
esac<br />
exit 0<br />
<br />
'''Performance'''<br />
#!/bin/bash<br />
minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`<br />
maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`<br />
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"<br />
case "$1" in<br />
true)<br />
echo 1500 >> /proc/sys/vm/dirty_writeback_centisecs;<br />
echo min_power >> /sys/class/scsi_host/host0/link_power_management_policy;<br />
echo -n $minspeed > $setspeed;<br />
;;<br />
false)<br />
echo 500 >> /proc/sys/vm/dirty_writeback_centisecs<br />
echo max_performance >> /sys/class/scsi_host/host0/link_power_management_policy<br />
echo -n $maxspeed > $setspeed;<br />
;;<br />
esac<br />
exit 0<br />
<br />
You can find out a bit more about pm-powersave in the [[Pm-utils]] section.<br />
<br />
== Fun ==<br />
This computer has an extra power button on the left, you can configure this with [http://wiki.archlinux.org/index.php/Xbindkeys Xbindkeys] and run something useful. Like I use it for switching songs. The extra button is originally for powering up with Asus Express gate.</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=Dotpac&diff=199883Dotpac2012-05-01T02:45:45Z<p>Adamrehard: Flagged as poorly written</p>
<hr />
<div>[[Category:Scripts]]<br />
{{i18n|dotpac}}<br />
{{Poor writing|This article is written primarily in the third person}}<br />
[https://aur.archlinux.org/packages.php?do_Details=1&ID=3017 dotpac] helps you get rid of /{boot,etc}/*.pac* files<br />
<br />
Contributed by Jaroslaw Swierczynski <swiergot@juvepoland.com><br />
<br />
----<br />
<br />
I wrote this simple script to speed up dealing with .pacnew and .pacsave files in my /etc directory. I was tired of doing it manually almost every day (find, diff, vi, mv, rm, again and again) and it was easy to make a mistake.<br />
<br />
Additionally, it may be even more helpful for newbies who do not know where these files came from as it explains why pacman creates them.<br />
<br />
All you need to do is to run dotpac (sorry, I didn't have time to think up a better name) and go through a few dialogs. Don't worry, dotpac will not do anything without your explicit command. Also please note that it doesn't offer automagic merging *.pac* files with their working equivalents.<br />
<br />
Opinions, suggestions, ideas, bug reports are welcome.</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=Fish&diff=199880Fish2012-05-01T02:39:22Z<p>Adamrehard: /* Installation instructions */</p>
<hr />
<div>[[Category:Command shells]]<br />
{{i18n|Fish}}<br />
[[de:Fish]]<br />
<br />
'''fish''' is a user friendly commandline shell intended mostly for interactive use.<br />
<br />
== Installation instructions ==<br />
To install the package for fish using pacman (the package is in the community repository)<br />
run:<br />
# pacman -S fish<br />
<br />
To verify that it has been installed you can run:<br />
$ less /etc/shells<br />
<br />
If you wanted to make fish your default shell run:<br />
$ chsh -s /usr/bin/fish<br />
<br />
== Pacman and fish ==<br />
Context-aware completions for pacman and makepkg are built into fish, since the policy of the fish development is to include all the existent <br />
completions in the upstream tarball. The memory management is clever enough to avoid any negative impact on resources.<br />
<br />
== Troubleshooting ==<br />
In arch, there are a lot of shell scripts written for bash, and these have not been translated to fish. It is advisable not to set fish as your default shell because of this. The best option is to open your terminal emulator (gnome-terminal, konsole, sakura, etc...) with a command line option that executes fish. For most terminals this is the -e switch, so for example, to open gnome-terminal using fish, change your shortcut to use:<br />
<br />
gnome-terminal -e fish<br />
<br />
Another option is to set fish as the default shell for the terminal in the terminal's configuration or for a terminal profile if your terminal emulator has a profiles feature. This is contrast to changing the default shell for the user which would cause the above mentioned problem.<br />
<br />
To set fish as the shell started in tmux, put this into your .tmux.conf:<br />
<br />
set-option -g default-shell "/usr/bin/fish"<br />
<br />
Not setting fish as system wide default allows the arch scripts to run on startup, ensure the environment variables are set correctly, and generally reduces the issues associated with using a non-bash compatible terminal like fish. <br />
<br />
If you decide to set fish as your default shell, you may find that you no longer have very much in your path.<br />
You can add a section to your ~/.config/fish/config.fish file that will set your path correctly on login. This is much like .profile or .bash_profile as it is only executed for login shells.<br />
<br />
if status --is-login<br />
set PATH $PATH /usr/bin /sbin<br />
end<br />
<br />
Note that you will need to manually add various other environment variables, such as $MOZ_PLUGIN_PATH. It is a huge amount of work to get a seamless experience with fish as your default shell.<br />
<br />
== Configuration Suggestions == <br />
If you would like fish to display the branch and dirty status when you are in a git directory, you can add the following to your ~/.config/fish/config.fish: <br />
<br />
set fish_git_dirty_color red<br />
function parse_git_dirty <br />
git diff --quiet HEAD ^&-<br />
if test $status = 1<br />
echo (set_color $fish_git_dirty_color)"Δ"(set_color normal)<br />
end<br />
end<br />
function parse_git_branch<br />
# git branch outputs lines, the current branch is prefixed with a *<br />
set -l branch (git branch --color ^&- | awk '/*/ {print $2}') <br />
echo $branch (parse_git_dirty) <br />
end<br />
<br />
function fish_prompt<br />
if test -z (git branch --quiet 2>| awk '/fatal:/ {print "no git"}')<br />
printf '%s@%s %s%s%s (%s) $ ' (whoami) (hostname|cut -d . -f 1) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal) (parse_git_branch) <br />
else<br />
printf '%s@%s %s%s%s $ ' (whoami) (hostname|cut -d . -f 1) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)<br />
end <br />
end<br />
<br />
If su starts with bash (because bash is the default shell), define a function in fish:<br />
~> funced su<br />
su> function su<br />
su --shell=/usr/bin/fish $argv<br />
end<br />
~> funcsave su<br />
<br />
Some useful tab completion scripts that are not included into the official fish package:<br />
* https://github.com/SanskritFritz/fish_completions<br />
* https://github.com/esodax/fishystuff<br />
* http://gitorious.org/fish-nuggets<br />
<br />
== Current state of fish development ==<br />
The original developer, [https://github.com/liljencrantz Axel Liljencrantz] has [http://www.mail-archive.com/fish-users@lists.sourceforge.net/msg02893.html abandoned the project]. The rest of his team slowly took over and transferred the codebase to gitorius: http://gitorious.org/fish-shell<br />
<br />
So far several bug fixes are available from the git repository. Also, there is an AUR package for the git master branch, which is considered stable for everyday use: [https://aur.archlinux.org/packages.php?ID=43684 fish-git].<br />
<br />
Development has been [http://www.mail-archive.com/fish-users@lists.sourceforge.net/msg02540.html started again] on fish, do not expect big changes though in the near future.<br />
<br />
== Licenses ==<br />
Fish Copyright (C) 2005-2006 Axel Liljencrantz.<br />
<br />
Fish is released under the GNU General Public License, version 2.<br />
<br />
Fish contains code under the BSD license, namely versions of the two functions strlcat and strlcpy, modified for use with wide character strings. This code is copyrighted by Todd C. Miller.<br />
<br />
The XSel command, written and copyrighted by Conrad Parker, is distributed together with, and used by fish. It is released under the MIT license.<br />
<br />
The xdgmime library, written and copyrighted by Red Hat, Inc, is used by the mimedb command, which is a part of fish. It is released under the LGPL.<br />
<br />
Fish contains code from the glibc library, namely the wcstok function. This code is licensed under the LGPL.<br />
<br />
== External Links ==<br />
*[http://www.fishshell.com HomePage]<br />
*[http://www.fishshell.com/user_doc/index.html Documentation]</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=Balsa&diff=199354Balsa2012-04-27T00:40:51Z<p>Adamrehard: Added warning about breakage to config section and fixed grammar.</p>
<hr />
<div>[[Category:Email Client]]<br />
{{i18n|Balsa}}<br />
<br />
Balsa is a small and light email client written the GNOME project. As such it has tight integration with Gnome, however works quite well with other desktops or window managers.<br />
<br />
== Installation ==<br />
<br />
Install the {{pkg|balsa}} package, available from the [[Official Repositories]].<br />
<br />
== Configuration ==<br />
<br />
Balsa launches with the normal email client setup wizard that takes you through most setup. In addition there is a preferences item on the edit menu. Configuration files can be found in ~/.balsa.<br />
<br />
One issue to which I found no good solution (unless you are running GNOME) is configuring the browser to open automatically when you click on a link in an email. <br />
<br />
<br />
{{Note|You will want to examine other options before using this method. It may cause breakage.}}<br />
<br />
1) click on a link in an email and note which browser it is trying to load - in my case /usr/lib/firefox/firefox.<br />
<br />
2) Check how much of that path exists and create what is missing. I had to create /usr/lib/firefox<br />
<br />
mkdir /usr/lib/firefox<br />
<br />
3) Make a soft link to your preferred browser.<br />
<br />
ln -s /usr/bin/chromium /usr/lib/firefox/firefox</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=Advanced_Linux_Sound_Architecture/Configuration_examples&diff=199353Advanced Linux Sound Architecture/Configuration examples2012-04-27T00:29:21Z<p>Adamrehard: More small grammar fixes</p>
<hr />
<div>[[Category:Audio/Video]]<br />
{{i18n|Advanced Linux Sound Architecture/Example Configurations}}<br />
<br />
The following should serve as a guide for more advanced [[Advanced Linux Sound Architecture|ALSA]] setups. The configuration takes place in {{ic|/etc/asound.conf}} as mentioned in the main article. None of the following configurations are guaranteed to work. <br />
<br />
{{Note|Most things discussed here are much easier to accomplish using alsa plugins like upmix which are explained in the main article.}}<br />
<br />
===Upmixing of stereo sources to 7.1 using dmix while saturated sources do not get upmixed===<br />
# 2008-11-15<br />
#<br />
# This .asoundrc will allow the following:<br />
#<br />
# - upmix stereo files to 7.1 speakers.<br />
# - playback real 7.1 sounds, on 7.1 speakers,<br />
# - allow the playback of both stereo (upmixed) and surround(7.1) sources at the same time.<br />
# - use the 6th and 7th channel (side speakers) as a separate soundcard, i.e. for headphones<br />
# (This is called the "alternate" output throughout the file, device names prefixed with 'a')<br />
# - play mono sources in stereo (like skype & ekiga) on the alterate output<br />
#<br />
# Make sure you have "8 Channels" and NOT "6 Channels" selected in alsamixer!<br />
#<br />
# Please try the following commands, to make sure everything is working as it should.<br />
#<br />
# To test stereo upmix : speaker-test -c2 -Ddefault -twav<br />
# To test surround(5.1): speaker-test -c6 -Dplug:dmix6 -twav<br />
# To test surround(7.1): speaker-test -c6 -Dplug:dmix8 -twav<br />
# To test alternative output: speaker-test -c2 -Daduplex -twav<br />
# To test mono upmix: speaker-test -c1 -Dmonoduplex -twav<br />
#<br />
#<br />
# It may not work out of the box for all cards. If it doesnt work for you, read the comments throughout the file.<br />
# The basis of this file was written by wishie of #alsa, and then modified with info from various sources by <br />
# squisher. Svenstaro modified it for 7.1 output support.<br />
<br />
#Define the soundcard to use<br />
pcm.snd_card {<br />
type hw<br />
card 0<br />
device 0<br />
}<br />
<br />
# 8 channel dmix - output whatever audio, to all 8 speakers<br />
pcm.dmix8 {<br />
type dmix<br />
ipc_key 1024<br />
ipc_key_add_uid false<br />
ipc_perm 0660<br />
slave {<br />
pcm "snd_card"<br />
rate 48000<br />
channels 8<br />
period_time 0<br />
period_size 1024<br />
buffer_time 0<br />
buffer_size 5120<br />
}<br />
<br />
# Some cards, like the "nforce" variants require the following to be uncommented. <br />
# It routes the audio to the correct speakers.<br />
# bindings {<br />
# 0 0<br />
# 1 1<br />
# 2 4<br />
# 3 5<br />
# 4 2<br />
# 5 3<br />
# 6 6<br />
# 7 7<br />
# }<br />
}<br />
<br />
# upmixing - duplicate stereo data to all 8 channels<br />
pcm.ch71dup {<br />
type route<br />
slave.pcm dmix8<br />
slave.channels 8<br />
ttable.0.0 1<br />
ttable.1.1 1<br />
ttable.0.2 1<br />
ttable.1.3 1<br />
ttable.0.4 0.5<br />
ttable.1.4 0.5<br />
ttable.0.5 0.5<br />
ttable.1.5 0.5<br />
ttable.0.6 1<br />
ttable.1.7 1<br />
}<br />
<br />
# this creates a six channel soundcard<br />
# and outputs to the eight channel one<br />
# i.e. for usage in mplayer I had to define in ~/.mplayer/config:<br />
# ao=alsa:device=dmix6<br />
# channels=6<br />
pcm.dmix6 {<br />
type route<br />
slave.pcm dmix8<br />
slave.channels 8<br />
ttable.0.0 1<br />
ttable.1.1 1<br />
ttable.2.2 1<br />
ttable.3.3 1<br />
ttable.4.4 1<br />
ttable.5.5 1<br />
ttable.6.6 1<br />
ttable.7.7 1<br />
}<br />
<br />
# share the microphone, i.e. because virtualbox grabs it by default<br />
pcm.microphone {<br />
type dsnoop<br />
ipc_key 1027<br />
slave {<br />
pcm "snd_card"<br />
}<br />
}<br />
<br />
# rate conversion, needed i.e. for wine<br />
pcm.2chplug {<br />
type plug<br />
slave.pcm "ch71dup"<br />
}<br />
pcm.a2chplug {<br />
type plug<br />
slave.pcm "dmix8"<br />
}<br />
<br />
# routes the channel for the alternative<br />
# 2 channel output, which becomes the 7th and 8th channel <br />
# on the real soundcard<br />
#pcm.alt2ch {<br />
# type route<br />
# slave.pcm "a2chplug"<br />
# slave.channels 8<br />
# ttable.0.6 1<br />
# ttable.1.7 1<br />
#}<br />
<br />
# skype and ekiga are only mono, so route left channel to the right channel<br />
# note: this gets routed to the alternative 2 channels<br />
pcm.mono_playback {<br />
type route<br />
slave.pcm "a2chplug"<br />
slave.channels 8<br />
# Send Skype channel 0 to the L and R speakers at full volume<br />
#ttable.0.6 1<br />
#ttable.0.7 1<br />
}<br />
<br />
# 'full-duplex' device for use with aoss<br />
pcm.duplex {<br />
type asym<br />
playback.pcm "2chplug"<br />
capture.pcm "microphone"<br />
}<br />
<br />
#pcm.aduplex {<br />
# type asym<br />
# playback.pcm "alt2ch"<br />
# capture.pcm "microphone"<br />
#}<br />
<br />
pcm.monoduplex {<br />
type asym<br />
playback.pcm "mono_playback"<br />
capture.pcm "microphone"<br />
}<br />
<br />
# for aoss<br />
pcm.dsp0 "duplex"<br />
ctl.mixer0 "duplex"<br />
<br />
# softvol manages volume in alsa<br />
# i.e. wine likes this<br />
pcm.mainvol {<br />
type softvol<br />
slave.pcm "duplex"<br />
control {<br />
name "2ch-Upmix Master"<br />
card 0<br />
}<br />
}<br />
<br />
#pcm.!default "mainvol"<br />
<br />
# set the default device according to the environment<br />
# variable ALSA_DEFAULT_PCM and default to mainvol<br />
pcm.!default {<br />
@func refer<br />
name { @func concat <br />
strings [ "pcm."<br />
{ @func getenv<br />
vars [ ALSA_DEFAULT_PCM ]<br />
default "mainvol"<br />
}<br />
]<br />
}<br />
}<br />
<br />
# uncomment the following if you want to be able to control<br />
# the mixer device through environment variables as well<br />
#ctl.!default {<br />
# @func refer<br />
# name { @func concat <br />
# strings [ "ctl."<br />
# { @func getenv<br />
# vars [ ALSA_DEFAULT_CTL<br />
# ALSA_DEFAULT_PCM<br />
# ]<br />
# default "duplex"<br />
# }<br />
# ]<br />
# }<br />
#}<br />
<br />
===Surround51 incl. upmix stereo & dmix, swap L/R, bad speaker position in room===<br />
<br />
Bad practice but works fine for almost everything without additional per-program/file customization:<br />
pcm.!default {<br />
type route<br />
## forwards to the mixer pcm defined below<br />
slave.pcm dmix51<br />
slave.channels 6<br />
<br />
## "Native Channels" stereo, swap left/right<br />
ttable.0.1 1<br />
ttable.1.0 1<br />
## original normal left/right commented out<br />
# ttable.0.0 1<br />
# ttable.1.1 1<br />
<br />
## route "native surround" so it still works but weaken signal (+ RL/RF swap) <br />
## because my rear speakers are more like random than really behind me<br />
ttable.2.3 0.7<br />
ttable.3.2 0.7<br />
ttable.4.4 0.7<br />
ttable.5.5 0.7<br />
<br />
## stereo => quad speaker "upmix" for "rear" speakers + swap L/R<br />
ttable.0.3 1<br />
ttable.1.2 1<br />
<br />
## stereo L+R => join to Center & Subwoofer 50%/50%<br />
ttable.0.4 0.5<br />
ttable.1.4 0.5<br />
ttable.0.5 0.5<br />
ttable.1.5 0.5<br />
## to test: "$ speaker-test -c6 -twav" and: "$ speaker-test -c2 -twav"<br />
}<br />
<br />
pcm.dmix51 {<br />
type dmix<br />
ipc_key 1024<br />
# let multiple users share<br />
ipc_key_add_uid false <br />
# IPC permissions (octal, default 0600)<br />
# I think changing this fixed something - but I'm not sure what.<br />
ipc_perm 0660 # <br />
slave {<br />
## this is specific to my hda_intel. Often hd:0 is just allready it; To find: $ aplay -L <br />
pcm surround51 <br />
# this rate makes my soundcard crackle<br />
# rate 44100<br />
# this rate stops flash in firefox from playing audio, but I do not need that<br />
rate 48000<br />
channels 6<br />
## Any other values in the 4 lines below seem to make my soundcard crackle, too<br />
period_time 0<br />
period_size 1024<br />
buffer_time 0<br />
buffer_size 4096<br />
}<br />
}</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=Advanced_Linux_Sound_Architecture/Configuration_examples&diff=199352Advanced Linux Sound Architecture/Configuration examples2012-04-27T00:28:39Z<p>Adamrehard: Some small grammar fixes on the intro.</p>
<hr />
<div>[[Category:Audio/Video]]<br />
{{i18n|Advanced Linux Sound Architecture/Example Configurations}}<br />
<br />
The following should serve as a guide for more advanced [[Advanced Linux Sound Architecture|ALSA]] setups. The configuration takes place in {{ic|/etc/asound.conf}} as mentioned in the main article. None of the following configurations are guaranteed to work. <br />
<br />
{{Note|Most things on display here are much easier to accomplish using alsa plugins like upmix which are explained in the main article.}}<br />
<br />
===Upmixing of stereo sources to 7.1 using dmix while saturated sources do not get upmixed===<br />
# 2008-11-15<br />
#<br />
# This .asoundrc will allow the following:<br />
#<br />
# - upmix stereo files to 7.1 speakers.<br />
# - playback real 7.1 sounds, on 7.1 speakers,<br />
# - allow the playback of both stereo (upmixed) and surround(7.1) sources at the same time.<br />
# - use the 6th and 7th channel (side speakers) as a separate soundcard, i.e. for headphones<br />
# (This is called the "alternate" output throughout the file, device names prefixed with 'a')<br />
# - play mono sources in stereo (like skype & ekiga) on the alterate output<br />
#<br />
# Make sure you have "8 Channels" and NOT "6 Channels" selected in alsamixer!<br />
#<br />
# Please try the following commands, to make sure everything is working as it should.<br />
#<br />
# To test stereo upmix : speaker-test -c2 -Ddefault -twav<br />
# To test surround(5.1): speaker-test -c6 -Dplug:dmix6 -twav<br />
# To test surround(7.1): speaker-test -c6 -Dplug:dmix8 -twav<br />
# To test alternative output: speaker-test -c2 -Daduplex -twav<br />
# To test mono upmix: speaker-test -c1 -Dmonoduplex -twav<br />
#<br />
#<br />
# It may not work out of the box for all cards. If it doesnt work for you, read the comments throughout the file.<br />
# The basis of this file was written by wishie of #alsa, and then modified with info from various sources by <br />
# squisher. Svenstaro modified it for 7.1 output support.<br />
<br />
#Define the soundcard to use<br />
pcm.snd_card {<br />
type hw<br />
card 0<br />
device 0<br />
}<br />
<br />
# 8 channel dmix - output whatever audio, to all 8 speakers<br />
pcm.dmix8 {<br />
type dmix<br />
ipc_key 1024<br />
ipc_key_add_uid false<br />
ipc_perm 0660<br />
slave {<br />
pcm "snd_card"<br />
rate 48000<br />
channels 8<br />
period_time 0<br />
period_size 1024<br />
buffer_time 0<br />
buffer_size 5120<br />
}<br />
<br />
# Some cards, like the "nforce" variants require the following to be uncommented. <br />
# It routes the audio to the correct speakers.<br />
# bindings {<br />
# 0 0<br />
# 1 1<br />
# 2 4<br />
# 3 5<br />
# 4 2<br />
# 5 3<br />
# 6 6<br />
# 7 7<br />
# }<br />
}<br />
<br />
# upmixing - duplicate stereo data to all 8 channels<br />
pcm.ch71dup {<br />
type route<br />
slave.pcm dmix8<br />
slave.channels 8<br />
ttable.0.0 1<br />
ttable.1.1 1<br />
ttable.0.2 1<br />
ttable.1.3 1<br />
ttable.0.4 0.5<br />
ttable.1.4 0.5<br />
ttable.0.5 0.5<br />
ttable.1.5 0.5<br />
ttable.0.6 1<br />
ttable.1.7 1<br />
}<br />
<br />
# this creates a six channel soundcard<br />
# and outputs to the eight channel one<br />
# i.e. for usage in mplayer I had to define in ~/.mplayer/config:<br />
# ao=alsa:device=dmix6<br />
# channels=6<br />
pcm.dmix6 {<br />
type route<br />
slave.pcm dmix8<br />
slave.channels 8<br />
ttable.0.0 1<br />
ttable.1.1 1<br />
ttable.2.2 1<br />
ttable.3.3 1<br />
ttable.4.4 1<br />
ttable.5.5 1<br />
ttable.6.6 1<br />
ttable.7.7 1<br />
}<br />
<br />
# share the microphone, i.e. because virtualbox grabs it by default<br />
pcm.microphone {<br />
type dsnoop<br />
ipc_key 1027<br />
slave {<br />
pcm "snd_card"<br />
}<br />
}<br />
<br />
# rate conversion, needed i.e. for wine<br />
pcm.2chplug {<br />
type plug<br />
slave.pcm "ch71dup"<br />
}<br />
pcm.a2chplug {<br />
type plug<br />
slave.pcm "dmix8"<br />
}<br />
<br />
# routes the channel for the alternative<br />
# 2 channel output, which becomes the 7th and 8th channel <br />
# on the real soundcard<br />
#pcm.alt2ch {<br />
# type route<br />
# slave.pcm "a2chplug"<br />
# slave.channels 8<br />
# ttable.0.6 1<br />
# ttable.1.7 1<br />
#}<br />
<br />
# skype and ekiga are only mono, so route left channel to the right channel<br />
# note: this gets routed to the alternative 2 channels<br />
pcm.mono_playback {<br />
type route<br />
slave.pcm "a2chplug"<br />
slave.channels 8<br />
# Send Skype channel 0 to the L and R speakers at full volume<br />
#ttable.0.6 1<br />
#ttable.0.7 1<br />
}<br />
<br />
# 'full-duplex' device for use with aoss<br />
pcm.duplex {<br />
type asym<br />
playback.pcm "2chplug"<br />
capture.pcm "microphone"<br />
}<br />
<br />
#pcm.aduplex {<br />
# type asym<br />
# playback.pcm "alt2ch"<br />
# capture.pcm "microphone"<br />
#}<br />
<br />
pcm.monoduplex {<br />
type asym<br />
playback.pcm "mono_playback"<br />
capture.pcm "microphone"<br />
}<br />
<br />
# for aoss<br />
pcm.dsp0 "duplex"<br />
ctl.mixer0 "duplex"<br />
<br />
# softvol manages volume in alsa<br />
# i.e. wine likes this<br />
pcm.mainvol {<br />
type softvol<br />
slave.pcm "duplex"<br />
control {<br />
name "2ch-Upmix Master"<br />
card 0<br />
}<br />
}<br />
<br />
#pcm.!default "mainvol"<br />
<br />
# set the default device according to the environment<br />
# variable ALSA_DEFAULT_PCM and default to mainvol<br />
pcm.!default {<br />
@func refer<br />
name { @func concat <br />
strings [ "pcm."<br />
{ @func getenv<br />
vars [ ALSA_DEFAULT_PCM ]<br />
default "mainvol"<br />
}<br />
]<br />
}<br />
}<br />
<br />
# uncomment the following if you want to be able to control<br />
# the mixer device through environment variables as well<br />
#ctl.!default {<br />
# @func refer<br />
# name { @func concat <br />
# strings [ "ctl."<br />
# { @func getenv<br />
# vars [ ALSA_DEFAULT_CTL<br />
# ALSA_DEFAULT_PCM<br />
# ]<br />
# default "duplex"<br />
# }<br />
# ]<br />
# }<br />
#}<br />
<br />
===Surround51 incl. upmix stereo & dmix, swap L/R, bad speaker position in room===<br />
<br />
Bad practice but works fine for almost everything without additional per-program/file customization:<br />
pcm.!default {<br />
type route<br />
## forwards to the mixer pcm defined below<br />
slave.pcm dmix51<br />
slave.channels 6<br />
<br />
## "Native Channels" stereo, swap left/right<br />
ttable.0.1 1<br />
ttable.1.0 1<br />
## original normal left/right commented out<br />
# ttable.0.0 1<br />
# ttable.1.1 1<br />
<br />
## route "native surround" so it still works but weaken signal (+ RL/RF swap) <br />
## because my rear speakers are more like random than really behind me<br />
ttable.2.3 0.7<br />
ttable.3.2 0.7<br />
ttable.4.4 0.7<br />
ttable.5.5 0.7<br />
<br />
## stereo => quad speaker "upmix" for "rear" speakers + swap L/R<br />
ttable.0.3 1<br />
ttable.1.2 1<br />
<br />
## stereo L+R => join to Center & Subwoofer 50%/50%<br />
ttable.0.4 0.5<br />
ttable.1.4 0.5<br />
ttable.0.5 0.5<br />
ttable.1.5 0.5<br />
## to test: "$ speaker-test -c6 -twav" and: "$ speaker-test -c2 -twav"<br />
}<br />
<br />
pcm.dmix51 {<br />
type dmix<br />
ipc_key 1024<br />
# let multiple users share<br />
ipc_key_add_uid false <br />
# IPC permissions (octal, default 0600)<br />
# I think changing this fixed something - but I'm not sure what.<br />
ipc_perm 0660 # <br />
slave {<br />
## this is specific to my hda_intel. Often hd:0 is just allready it; To find: $ aplay -L <br />
pcm surround51 <br />
# this rate makes my soundcard crackle<br />
# rate 44100<br />
# this rate stops flash in firefox from playing audio, but I do not need that<br />
rate 48000<br />
channels 6<br />
## Any other values in the 4 lines below seem to make my soundcard crackle, too<br />
period_time 0<br />
period_size 1024<br />
buffer_time 0<br />
buffer_size 4096<br />
}<br />
}</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=RTorrent/Rtgui&diff=199107RTorrent/Rtgui2012-04-26T02:07:21Z<p>Adamrehard: /* Installing */</p>
<hr />
<div>[[Category:Internet Applications]]<br />
<br />
== rtGui ==<br />
<br />
<br />
rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It's written in PHP and uses XML-RPC to communicate with the rTorrent client. <br />
<br />
=== Installing ===<br />
<br />
'''Installing via pacman'''<br />
<br />
$ pacman -S rtorrent apache php php-apache<br />
<br />
The Apache module mod_scgi is currently only available through the AUR. You could build it yourself or install it with a AUR helper such as yaourt.<br />
<br />
$ yaourt -S mod_scgi<br />
<br />
=== Apache configuration ===<br />
<br />
'''Adding the mod_scgi module to httpd.conf''' <br />
<br />
$ sudo nano /etc/httpd/conf/httpd.conf<br />
<br />
<br />
Find the LoadModule section and add:<br />
<br />
LoadModule scgi_module modules/mod_scgi.so<br />
<br />
At the end of the file: <br />
<br />
LoadModule php5_module modules/libphp5.so<br />
Include conf/extra/php5_module.conf<br />
SCGIMount /RPC2 127.0.0.1:5000<br />
<br />
=== PHP configuration ===<br />
<br />
'''PHP adjust per php.ini'''<br />
<br />
$ sudo nano /etc/php/php.ini<br />
<br />
uncomment these extensions <br />
<br />
extension=sockets.so<br />
extension=xmlrpc.so<br />
<br />
change the value of these settings from off to on <br />
<br />
allow_url_fopen = On<br />
allow_url_include = On<br />
<br />
=== rTorrent configuration ===<br />
<br />
You need to adjust the '''.rtorrent.rc''' and add the following line <br />
<br />
scgi_port = localhost:5000<br />
<br />
<br />
=== Restart Apache ===<br />
<br />
$ sudo /etc/rc.d/httpd restart<br />
<br />
=== rtGui installation ===<br />
<br />
Download and extract rtgui from source, then copy and edit the config.php <br />
<br />
cd /srv/http/<br />
tar xvzf rtgui-x.x.x.tgz <br />
cd rtgui/<br />
cp config.php.example config.php <br />
nano config.php</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=RTorrent/Rtgui&diff=199106RTorrent/Rtgui2012-04-26T02:05:43Z<p>Adamrehard: /* Apache restart */</p>
<hr />
<div>[[Category:Internet Applications]]<br />
<br />
== rtGui ==<br />
<br />
<br />
rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It's written in PHP and uses XML-RPC to communicate with the rTorrent client. <br />
<br />
=== Installing ===<br />
<br />
'''Installing pacman'''<br />
<br />
$ pacman -S rtorrent apache php php-apache<br />
<br />
The Apache module, mod_scgi is currently only available through the AUR. You could build it yourself or install it with a AUR helper such as yaourt.<br />
<br />
$ yaourt -S mod_scgi<br />
<br />
=== Apache configuration ===<br />
<br />
'''Adding the mod_scgi module to httpd.conf''' <br />
<br />
$ sudo nano /etc/httpd/conf/httpd.conf<br />
<br />
<br />
Find the LoadModule section and add:<br />
<br />
LoadModule scgi_module modules/mod_scgi.so<br />
<br />
At the end of the file: <br />
<br />
LoadModule php5_module modules/libphp5.so<br />
Include conf/extra/php5_module.conf<br />
SCGIMount /RPC2 127.0.0.1:5000<br />
<br />
=== PHP configuration ===<br />
<br />
'''PHP adjust per php.ini'''<br />
<br />
$ sudo nano /etc/php/php.ini<br />
<br />
uncomment these extensions <br />
<br />
extension=sockets.so<br />
extension=xmlrpc.so<br />
<br />
change the value of these settings from off to on <br />
<br />
allow_url_fopen = On<br />
allow_url_include = On<br />
<br />
=== rTorrent configuration ===<br />
<br />
You need to adjust the '''.rtorrent.rc''' and add the following line <br />
<br />
scgi_port = localhost:5000<br />
<br />
<br />
=== Restart Apache ===<br />
<br />
$ sudo /etc/rc.d/httpd restart<br />
<br />
=== rtGui installation ===<br />
<br />
Download and extract rtgui from source, then copy and edit the config.php <br />
<br />
cd /srv/http/<br />
tar xvzf rtgui-x.x.x.tgz <br />
cd rtgui/<br />
cp config.php.example config.php <br />
nano config.php</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=RTorrent/Rtgui&diff=199105RTorrent/Rtgui2012-04-26T02:05:26Z<p>Adamrehard: /* PHP configuration */</p>
<hr />
<div>[[Category:Internet Applications]]<br />
<br />
== rtGui ==<br />
<br />
<br />
rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It's written in PHP and uses XML-RPC to communicate with the rTorrent client. <br />
<br />
=== Installing ===<br />
<br />
'''Installing pacman'''<br />
<br />
$ pacman -S rtorrent apache php php-apache<br />
<br />
The Apache module, mod_scgi is currently only available through the AUR. You could build it yourself or install it with a AUR helper such as yaourt.<br />
<br />
$ yaourt -S mod_scgi<br />
<br />
=== Apache configuration ===<br />
<br />
'''Adding the mod_scgi module to httpd.conf''' <br />
<br />
$ sudo nano /etc/httpd/conf/httpd.conf<br />
<br />
<br />
Find the LoadModule section and add:<br />
<br />
LoadModule scgi_module modules/mod_scgi.so<br />
<br />
At the end of the file: <br />
<br />
LoadModule php5_module modules/libphp5.so<br />
Include conf/extra/php5_module.conf<br />
SCGIMount /RPC2 127.0.0.1:5000<br />
<br />
=== PHP configuration ===<br />
<br />
'''PHP adjust per php.ini'''<br />
<br />
$ sudo nano /etc/php/php.ini<br />
<br />
uncomment these extensions <br />
<br />
extension=sockets.so<br />
extension=xmlrpc.so<br />
<br />
change the value of these settings from off to on <br />
<br />
allow_url_fopen = On<br />
allow_url_include = On<br />
<br />
=== rTorrent configuration ===<br />
<br />
You need to adjust the '''.rtorrent.rc''' and add the following line <br />
<br />
scgi_port = localhost:5000<br />
<br />
<br />
=== Apache restart ===<br />
<br />
$ sudo /etc/rc.d/httpd restart<br />
<br />
<br />
=== rtGui installation ===<br />
<br />
Download and extract rtgui from source, then copy and edit the config.php <br />
<br />
cd /srv/http/<br />
tar xvzf rtgui-x.x.x.tgz <br />
cd rtgui/<br />
cp config.php.example config.php <br />
nano config.php</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=RTorrent/Rtgui&diff=199104RTorrent/Rtgui2012-04-26T02:04:37Z<p>Adamrehard: /* PHP configuration */</p>
<hr />
<div>[[Category:Internet Applications]]<br />
<br />
== rtGui ==<br />
<br />
<br />
rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It's written in PHP and uses XML-RPC to communicate with the rTorrent client. <br />
<br />
=== Installing ===<br />
<br />
'''Installing pacman'''<br />
<br />
$ pacman -S rtorrent apache php php-apache<br />
<br />
The Apache module, mod_scgi is currently only available through the AUR. You could build it yourself or install it with a AUR helper such as yaourt.<br />
<br />
$ yaourt -S mod_scgi<br />
<br />
=== Apache configuration ===<br />
<br />
'''Adding the mod_scgi module to httpd.conf''' <br />
<br />
$ sudo nano /etc/httpd/conf/httpd.conf<br />
<br />
<br />
Find the LoadModule section and add:<br />
<br />
LoadModule scgi_module modules/mod_scgi.so<br />
<br />
At the end of the file: <br />
<br />
LoadModule php5_module modules/libphp5.so<br />
Include conf/extra/php5_module.conf<br />
SCGIMount /RPC2 127.0.0.1:5000<br />
<br />
=== PHP configuration ===<br />
<br />
'''PHP adjust per php.ini'''<br />
<br />
$ sudo nano /etc/php/php.ini<br />
<br />
uncomment these extensions <br />
<br />
extension=sockets.so<br />
extension=xmlrpc.so<br />
<br />
change Value of these settings from Off to On <br />
<br />
allow_url_fopen = On<br />
allow_url_include = On<br />
<br />
=== rTorrent configuration ===<br />
<br />
You need to adjust the '''.rtorrent.rc''' and add the following line <br />
<br />
scgi_port = localhost:5000<br />
<br />
<br />
=== Apache restart ===<br />
<br />
$ sudo /etc/rc.d/httpd restart<br />
<br />
<br />
=== rtGui installation ===<br />
<br />
Download and extract rtgui from source, then copy and edit the config.php <br />
<br />
cd /srv/http/<br />
tar xvzf rtgui-x.x.x.tgz <br />
cd rtgui/<br />
cp config.php.example config.php <br />
nano config.php</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=RTorrent/Rtgui&diff=199103RTorrent/Rtgui2012-04-26T02:04:17Z<p>Adamrehard: /* Apache configuration */</p>
<hr />
<div>[[Category:Internet Applications]]<br />
<br />
== rtGui ==<br />
<br />
<br />
rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It's written in PHP and uses XML-RPC to communicate with the rTorrent client. <br />
<br />
=== Installing ===<br />
<br />
'''Installing pacman'''<br />
<br />
$ pacman -S rtorrent apache php php-apache<br />
<br />
The Apache module, mod_scgi is currently only available through the AUR. You could build it yourself or install it with a AUR helper such as yaourt.<br />
<br />
$ yaourt -S mod_scgi<br />
<br />
=== Apache configuration ===<br />
<br />
'''Adding the mod_scgi module to httpd.conf''' <br />
<br />
$ sudo nano /etc/httpd/conf/httpd.conf<br />
<br />
<br />
Find the LoadModule section and add:<br />
<br />
LoadModule scgi_module modules/mod_scgi.so<br />
<br />
At the end of the file: <br />
<br />
LoadModule php5_module modules/libphp5.so<br />
Include conf/extra/php5_module.conf<br />
SCGIMount /RPC2 127.0.0.1:5000<br />
<br />
=== PHP configuration ===<br />
<br />
'''PHP adjust per php.ini'''<br />
<br />
$ sudo nano /etc/php/php.ini<br />
<br />
uncomment these extension <br />
<br />
extension=sockets.so<br />
extension=xmlrpc.so<br />
<br />
change Value of these settings from Off to On <br />
<br />
allow_url_fopen = On<br />
allow_url_include = On<br />
<br />
<br />
=== rTorrent configuration ===<br />
<br />
You need to adjust the '''.rtorrent.rc''' and add the following line <br />
<br />
scgi_port = localhost:5000<br />
<br />
<br />
=== Apache restart ===<br />
<br />
$ sudo /etc/rc.d/httpd restart<br />
<br />
<br />
=== rtGui installation ===<br />
<br />
Download and extract rtgui from source, then copy and edit the config.php <br />
<br />
cd /srv/http/<br />
tar xvzf rtgui-x.x.x.tgz <br />
cd rtgui/<br />
cp config.php.example config.php <br />
nano config.php</div>Adamrehardhttps://wiki.archlinux.org/index.php?title=RTorrent/Rtgui&diff=199102RTorrent/Rtgui2012-04-26T02:03:22Z<p>Adamrehard: /* Installing */</p>
<hr />
<div>[[Category:Internet Applications]]<br />
<br />
== rtGui ==<br />
<br />
<br />
rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It's written in PHP and uses XML-RPC to communicate with the rTorrent client. <br />
<br />
=== Installing ===<br />
<br />
'''Installing pacman'''<br />
<br />
$ pacman -S rtorrent apache php php-apache<br />
<br />
The Apache module, mod_scgi is currently only available through the AUR. You could build it yourself or install it with a AUR helper such as yaourt.<br />
<br />
$ yaourt -S mod_scgi<br />
<br />
=== Apache configuration ===<br />
<br />
'''Adding the mod_scgi Modul to httpd.conf''' <br />
<br />
$ sudo nano /etc/httpd/conf/httpd.conf<br />
<br />
<br />
Find the LoadModule - Section and add:<br />
<br />
LoadModule scgi_module modules/mod_scgi.so<br />
<br />
At the End of the File: <br />
<br />
LoadModule php5_module modules/libphp5.so<br />
Include conf/extra/php5_module.conf<br />
SCGIMount /RPC2 127.0.0.1:5000<br />
<br />
<br />
=== PHP configuration ===<br />
<br />
'''PHP adjust per php.ini'''<br />
<br />
$ sudo nano /etc/php/php.ini<br />
<br />
uncomment these extension <br />
<br />
extension=sockets.so<br />
extension=xmlrpc.so<br />
<br />
change Value of these settings from Off to On <br />
<br />
allow_url_fopen = On<br />
allow_url_include = On<br />
<br />
<br />
=== rTorrent configuration ===<br />
<br />
You need to adjust the '''.rtorrent.rc''' and add the following line <br />
<br />
scgi_port = localhost:5000<br />
<br />
<br />
=== Apache restart ===<br />
<br />
$ sudo /etc/rc.d/httpd restart<br />
<br />
<br />
=== rtGui installation ===<br />
<br />
Download and extract rtgui from source, then copy and edit the config.php <br />
<br />
cd /srv/http/<br />
tar xvzf rtgui-x.x.x.tgz <br />
cd rtgui/<br />
cp config.php.example config.php <br />
nano config.php</div>Adamrehard