https://wiki.archlinux.org/api.php?action=feedcontributions&user=Habitue01&feedformat=atomArchWiki - User contributions [en]2024-03-28T20:22:17ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Fish&diff=103330Fish2010-04-14T21:53:44Z<p>Habitue01: Added configuration suggestion</p>
<hr />
<div>[[Category:Command shells (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|Deutsch|fish (Deutsch)}}<br />
{{i18n_entry|English|fish}}<br />
{{i18n_links_end}}<br />
== Introduction ==<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 repo)<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 />
This 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 />
== 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.org HomePage]<br />
*[http://www.fishshell.org/user_doc/index.html Documentation]</div>Habitue01https://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T61&diff=100047Lenovo ThinkPad T612010-03-14T00:57:10Z<p>Habitue01: /* Trackpoint */ New settings taken from http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint</p>
<hr />
<div>[[Category:Lenovo (English)]]<br />
[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
===System Specifications===<br />
<br />
Lenovo Thinkpad T61 - Intel Centrino Pro<br />
* Intel(R) Core(TM)2 Duo CPU T7300 (2.00GHz, 4MB, 800MHz)<br />
* Mobile Intel 965GM Express Chipset<br />
* 2GB PC2-5300/677MHz<br />
* 80-GB 5400 rpm SATA Harddrive <br />
* 14.1-inch color TFT WXGA+ (1440 x 900, 200 nit)<br />
* Intel® Graphics Media Accelerator GM965 (128MB)<br />
* 82801H ICH8 Family HD Audio Controller<br />
* DVD-ROM, CD-RW/DVD Combo, Multi-Burner Plus<br />
* Modem; Gigabit Ethernet<br />
* Intel® Wireless Wi-Fi Link 4965AG<br />
* 1 Type II PC Card slot<br />
* 1 ExpressCard 34/54<br />
* Dual pointing devices (both Pointstick and Touchpad)<br />
<br />
Output of lshwd<br />
<br />
00:00.0 Class 0600: Intel Corporation|Mobile Memory Controller Hub (unknown)<br />
00:02.0 Class 0300: Intel Corporation|Mobile Integrated Graphics Controller (vesa)<br />
00:02.1 Class 0380: Intel Corporation|Mobile Integrated Graphics Controller (vesa)<br />
00:19.0 Class 0200: Intel Corporation|Mobile Integrated Graphics Controller (unknown)<br />
00:1a.0 Class 0c03: Intel Corporation|USB UHCI Controller #4 (unknown)<br />
00:1a.1 Class 0c03: Intel Corporation|USB UHCI Controller #5 (unknown)<br />
00:1a.7 Class 0c03: Intel Corporation|USB2 EHCI Controller #2 (unknown)<br />
00:1b.0 Class 0403: Intel Corp.|ICH8 HD Audio DID (snd-hda-intel)<br />
00:1c.0 Class 0604: Intel Corporation|PCI Express Port 1 (unknown)<br />
00:1c.1 Class 0604: Intel Corporation|PCI Express Port 2 (unknown)<br />
00:1c.2 Class 0604: Intel Corporation|PCI Express Port 3 (unknown)<br />
00:1c.3 Class 0604: Intel Corporation|PCI Express Port 4 (unknown)<br />
00:1c.4 Class 0604: Intel Corporation|PCI Express Port 5 (unknown)<br />
00:1d.0 Class 0c03: Intel Corporation|USB UHCI Controller #1 (unknown)<br />
00:1d.1 Class 0c03: Intel Corporation|USB UHCI Controller #2 (unknown)<br />
00:1d.2 Class 0c03: Intel Corporation|USB UHCI Controller #3 (unknown)<br />
00:1d.7 Class 0c03: Intel Corporation|USB2 EHCI Controller #1 (unknown)<br />
00:1e.0 Class 0604: Intel Corp.|82801 Hub Interface to PCI Bridge (hw_random)<br />
00:1f.0 Class 0601: Intel Corporation|Mobile LPC Interface Controller (unknown)<br />
00:1f.2 Class 0101: Intel Corporation|Mobile SATA Controller cc=IDE (ata_piix)<br />
00:1f.3 Class 0c05: Intel Corporation|SMBus Controller (i2c-i801)<br />
03:00.0 Class 0280: Intel Corporation|SMBus Controller (unknown)<br />
15:00.0 Class 0607: Ricoh Co Ltd.|RL5c476 II (yenta_socket)<br />
15:00.1 Class 0c00: Ricoh Co Ltd.|RL5c476 II (unknown)<br />
15:00.2 Class 0805: Ricoh Co Ltd.|SD Card reader (unknown)<br />
15:00.3 Class ffff: Ricoh Co Ltd.|SD Card reader (unknown)<br />
15:00.4 Class 0880: Ricoh Co Ltd.|R5C592 Memory Stick Bus Host Adapter (unknown)<br />
15:00.5 Class 0880: Ricoh Co Ltd.|xD-Picture Card Controller (unknown)<br />
<br />
===What works/What doesn't===<br />
Pretty much everything works on this laptop. The modem is untested.<br />
<br />
= Pre installation notes =<br />
Remember to back up the restore partition if you plan to restore it, or leave it.<br />
<br />
Follow the [[Official_Arch_Linux_Install_Guide | official Archlinux install guide]]<br />
<br />
= Accessing the recovery partition with GRUB =<br />
Edit your '''/boot/grub/menu.lst''' file and add the following:<br />
# booting "Rescue and Recovery" partition from Lenovo<br />
title Thinkpad Maintenance<br />
unhide (hd0,0)<br />
rootnoverify (hd0,0)<br />
chainloader +1<br />
<br />
= Configuration =<br />
===Video Driver===<br />
<br />
==== Intel ====<br />
<br />
The Intel® Graphics Media Accelerator GM965 uses the xf86-video-intel driver.<br />
<br />
#pacman -S xf86-video-intel<br />
<br />
The relevent kernel drivers include:<br />
<br />
*DRM_I915<br />
<br />
For framebuffer graphics one of the kernel drivers:<br />
<br />
*intelfb <br />
*fb_uvesa<br />
*fb_vesa<br />
<br />
Should work. It is up to you which one you wish to use. Intelfb is known to have a few problems with hardware acceleration and requires grub2 patched with 915resolution to properly set the correct resolution. <br />
<br />
The package grub2-915resolution in the AUR has the necessary patch to make intelfb work with laptops that use the 965GM card.<br />
<br />
Here is a sample /etc/X11/xorg.conf:<br />
<br />
Section "Module"<br />
Load "dbe" # Double buffer extension<br />
SubSection "extmod"<br />
Option "omit xfree86-dga"<br />
EndSubSection<br />
Load "freetype"<br />
Load "GLcore"<br />
Load "glx"<br />
Load "bitmap"<br />
Load "dri"<br />
# Load "int10"<br />
# Load "ddc"<br />
# Load "vbe"<br />
# Load "xtrap"<br />
EndSection<br />
<br />
Section "Files"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/local/"<br />
FontPath "/usr/share/fonts/misc/:unscaled"<br />
FontPath "/usr/share/fonts/75dpi/:unscaled"<br />
FontPath "/usr/share/fonts/100dpi/:unscaled"<br />
FontPath "/usr/share/fonts/misc/"<br />
FontPath "/usr/share/fonts/75dpi/"<br />
FontPath "/usr/share/fonts/100dpi/"<br />
FontPath "/usr/share/fonts/TTF/"<br />
FontPath "/usr/share/fonts/Type1/"<br />
FontPath "/usr/share/fonts/local/"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "blank time" "3"<br />
Option "standby time" "5"<br />
Option "suspend time" "10"<br />
Option "off time" "15"<br />
Option "RandR"<br />
Option "AutoAddDevices" "False"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
Option "CoreKeyboard"<br />
Option "XkbRules" "xorg"<br />
Option "XkbModel" "thinkpad60"<br />
Option "XkbLayout" "us"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "UltraNav Trackpoint"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ImPS/2"<br />
Option "Emulate3Buttons" "off"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelTimeOut" "250"<br />
Option "EmulateWheelButton" "2"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
Option "ZAxisMapping" "4 5"<br />
EndSection<br />
<br />
# Section "InputDevice"<br />
# Identifier "Synaptics"<br />
# Driver "synaptics"<br />
# Option "Device" "/dev/input/mice"<br />
# Option "Protocol" "auto-dev"<br />
# Option "Emulate3Buttons" "yes"<br />
# Option "SHMConfig" "on"<br />
# EndSection<br />
<br />
Section "Monitor"<br />
Identifier "Thinkpad Monitor"<br />
Option "DPMS"<br />
# HorizSync 31.5-50.0<br />
# VertRefresh 59.9-60.1<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Intel GMA X3100"<br />
Driver "intel"<br />
BusID "PCI:0:2:0"<br />
Option "AccelMethod" "exa"<br />
Option "MigrationHeuristic" "greedy"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Thinkpad Screen"<br />
Device "Intel GMA X3100"<br />
Monitor "Thinkpad Monitor"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Depth 24<br />
Modes "1280x800" "1024x768" "832x624" "800x600" "640x480" "720x400" "640x400" "640x350"<br />
Virtual 2048 2048<br />
EndSubSection<br />
EndSection<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
Section "Extensions"<br />
Option "Composite" "Enable"<br />
Option "RENDER" "Enable"<br />
EndSection<br />
<br />
Section "ServerLayout"<br />
Identifier "Default Layout"<br />
Screen "Thinkpad Screen"<br />
InputDevice "UltraNav Trackpoint" "CorePointer"<br />
# InputDevice "Synaptics" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Please note that this has the touchpad and xorg input hotplugging disabled.<br />
<br />
==== Nvidia ====<br />
<br />
Follow the instructions in [[NVIDIA]].<br />
<br />
{{Box Note| If you're following the [[Beginners_Guide | Beginners Guide]] and you're not seeing the cursor after the NVIDIA logo, you should try the simple baseline X test. }}<br />
<br />
==Audio==<br />
Sound works out of the box. The relevant module for sound is: <br />
<br />
*SND_HDA_INTEL<br />
<br />
Refer to following guides to set it up:<br />
<br />
[[OSS]]<br />
<br />
[[ALSA]]<br />
<br />
[[PulseAudio]]<br />
<br />
Use whichever you wish.<br />
<br />
== Network ==<br />
=== Wired ===<br />
<br />
The wired connection works out of the box and uses the following module:<br />
<br />
*e1000e<br />
<br />
=== Wireless ===<br />
Uses either module, varies with different setups:<br />
<br />
*iwl3945<br />
*iwl4965<br />
<br />
Requires firmware be installed to work.<br />
<br />
Refer to [[Wireless_Setup#iwl3945.2C_iwl4965_and_iwl5000-series | Wireless Setup for iwl3945, iwl4965 and iwl5000 series]]<br />
<br />
=== Modem ===<br />
Untested.<br />
<br />
== USB ==<br />
Works out of the box.<br />
<br />
Following modules are used:<br />
<br />
*uhci_hcd<br />
*ehci_hcd<br />
*usbhid<br />
<br />
== Bluetooth ==<br />
Works out of the box.<br />
<br />
Following modules are used:<br />
<br />
*bluetooth<br />
*btusb<br />
*l2cap<br />
*rfcomm<br />
*hci_usb<br />
*ehci-hcd<br />
*uhci-hcd<br />
<br />
== Trackpoint ==<br />
Works, if you want to scroll while holding the middle mouse button down you can add the following to an .fdi file:<br />
<br />
/etc/hal/fdi/policy/mouse-wheel.fdi:<br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge><br />
</match><br />
<br />
<br />
What it does is that it sets emulates wheel on button two, which is middle button and maps in what directions it will emulate the scroll wheel, it will at the same time emulate 3 mouse buttons.<br />
<br />
You can read more about the new [[Xorg_input_hotplugging | Xorg input hotplugging here]]<br />
<br />
More info on configuring it can be found at [http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint thinkwiki.org].<br />
<br />
==Touchpad==<br />
There is a synaptic touchpad on this laptop. If you follow this [http://wiki.archlinux.org/index.php/Touchpad_Synaptics howto], you should have no problems getting this to work.<br />
<br />
The relevant kernel driver is:<br />
<br />
*mouse_ps2_synaptics<br />
<br />
== ThinkFinger ==<br />
Works, read [[ThinkFinger]] for reference and examples.<br />
<br />
== ACPI ==<br />
To get all the special keys working requires the module:<br />
<br />
*THINKPAD_ACPI<br />
<br />
It is necessary to edit the default /etc/acpi/handler.sh included with the acpid package to get these keys working.<br />
<br />
#!/bin/sh<br />
# Default acpi script that takes an entry for all actions, modified to include thinkpad special keys.<br />
<br />
# NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to<br />
# modify it to not use /sys<br />
<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 />
<br />
set $*<br />
<br />
case "$1" in<br />
ibm/hotkey)<br />
case "$2" in<br />
HKEY)<br />
case "$4" in<br />
00001002) # Lock screen<br />
#Enter your xlock or xscreensaver command here<br />
;;<br />
00001003) # swithing display off<br />
xset dpms force off<br />
;;<br />
00001004) # Suspend to RAM<br />
/usr/sbin/pm-suspend<br />
;;<br />
00001005) # Switch Bluetooth<br />
;;<br />
00001007) # Toggle external display<br />
if [ "$(xrandr -q | grep "VGA connected")" ]; then<br />
if [ "$(xrandr -q | grep "VGA connected [0-9]")" ]; then<br />
xrandr --output VGA --off<br />
else<br />
xrandr --output VGA --auto<br />
fi<br />
else<br />
xrandr --output VGA --off<br />
fi<br />
;;<br />
#00001008) # Toggle Trackpoint/Touchpad<br />
# ;;<br />
#00001009) # Eject from dock<br />
# ;;<br />
0000100c) # Hibernate<br />
/usr/sbin/pm-hibernate<br />
;;<br />
00001011) #Brightness down<br />
CUR="xbacklight -get"<br />
CUR="echo $CUR | awk '{print $1-5}'"<br />
xbacklight -set $CUR<br />
;;<br />
00001012) #Brightness up<br />
CUR=`xbacklight -get`<br />
CUR="echo $CUR | awk '{print $1+5}'"<br />
xbacklight -set $CUR<br />
;;<br />
#00001014) # Toggle zoom<br />
# ;;<br />
00001018) # ThinkVantage button<br />
;;<br />
esac<br />
;;<br />
esac<br />
;;<br />
button/power)<br />
#echo "PowerButton pressed!">/dev/tty5<br />
case "$2" in<br />
PWRF) <br />
logger "PowerButton pressed: $2"<br />
/sbin/init 0<br />
;;<br />
*) logger "ACPI action undefined: $2" ;;<br />
esac<br />
;;<br />
button/sleep)<br />
case "$2" in<br />
SLPB) /usr/sbin/pm-suspend ;;<br />
*) logger "ACPI action undefined: $2" ;;<br />
esac<br />
;;<br />
ac_adapter)<br />
case "$2" in<br />
AC)<br />
case "$4" in<br />
00000000)<br />
#/etc/laptop-mode/laptop-mode start<br />
;;<br />
00000001)<br />
#/etc/laptop-mode/laptop-mode stop<br />
;;<br />
esac<br />
;;<br />
*) logger "ACPI action undefined: $2" ;;<br />
esac<br />
;;<br />
battery)<br />
case "$2" in<br />
BAT0)<br />
case "$4" in<br />
00000000) #echo "offline" >/dev/tty5<br />
#Enter whatever power scripts you have here.<br />
;;<br />
00000001) #echo "online" >/dev/tty5<br />
#Enter whatever power scripts you may have here.<br />
;;<br />
esac<br />
;;<br />
CPU0) <br />
;;<br />
*) logger "ACPI action undefined: $2" ;;<br />
esac<br />
;;<br />
button/lid)<br />
#echo "LID switched!">/dev/tty5<br />
/usr/sbin/pm-suspend<br />
;;<br />
*)<br />
logger "ACPI group/action undefined: $1 / $2"<br />
;;<br />
esac<br />
<br />
=== Multimedia Keys ===<br />
Now it is necessary to install xmodmap and xbindkeys via pacman for the multimedia keys.<br />
Now create a file at ~/.Xmodmap<br />
<br />
keycode 234 = XF86Back<br />
keycode 233 = XF86Forward<br />
keycode 144 = XF86AudioPrev<br />
keycode 164 = XF86AudioStop<br />
keycode 162 = XF86AudioPlay<br />
keycode 153 = XF86AudioNext<br />
keycode 160 = XF86AudioMute<br />
keycode 174 = XF86AudioLowerVolume<br />
keycode 176 = XF86AudioRaiseVolume<br />
<br />
Note: The keycode numbers may be different than these (they are on my T61.) Also, new versions of the X server may already give your multimedia keys the correct name, and if so you don't need to make a .Xmodmap file. To check this, run "xev" and press your volume keys to see what keycodes and keysyms it gives. <br />
<br />
Once you know X gives your keys the right names, you can set up the shortcuts to run the amixer or mpc commands. You can do this in your window manager/desktop environment's key settings, or using xbindkeys by making a ~/.xbindkeysrc like this one:<br />
<br />
"mpc toggle"<br />
XF86AudioPlay<br />
<br />
"mpc stop"<br />
XF86AudioStop<br />
<br />
"mpc prev"<br />
XF86AudioPrev<br />
<br />
"mpc next"<br />
XF86AudioNext<br />
<br />
"amixer sset PCM 2-"<br />
XF86AudioLowerVolume<br />
<br />
"amixer sset PCM 2+"<br />
XF86AudioRaiseVolume<br />
<br />
"amixer sset PCM toggle"<br />
XF86AudioMute<br />
<br />
Make sure you start the xbindkeys daemon! To start the daemon on startup, just add it to your ~/.xinitrc.<br />
== HDAPS ==<br />
To get the hard drive APS working, it is neccessary to have a kernel patched with the tp_smapi patches. Both the packages:<br />
<br />
*kernel26tp<br />
*kernel26zen-git<br />
<br />
Provide the needed module (in addition to many other useful patches.) Install either one, though it is reccomended that you try the kernel26zen-git package. Read [[Kernel Compilation with ABS]], [[Custom Kernel Compilation with ABS]], and [[Kernel Compilation From Source]] for more info.<br />
<br />
Now all that is required is the hdapsd daemon. This can be had from the AUR package hdapsd.<br />
<br />
== Card Readers ==<br />
=== PCMCIA ===<br />
Works as expected. Uses the module:<br />
<br />
*yenta<br />
<br />
=== Compact Flash ===<br />
The same goes for the Compact Flash. It's supposed to work as it uses the same interfaces as the PCMCIA does, but I can't confirm anything since I don't have a CF-card.<br />
=== Secure Digital ===<br />
The SD-card reader works out of the box with SD cards.<br />
<br />
==Other Tweaks==<br />
<br />
===HDD clicks===<br />
# pacman -S hdparm<br />
Put following line to /etc/rc.local (replace /dev/sda with other device if needed):<br />
hdparm -B 244 /dev/sda<br />
Details: http://www.thinkwiki.org/wiki/Problem_with_hard_drive_clicking<br />
<br />
= External Links =<br />
* http://www.thinkwiki.org/wiki/ThinkWiki<br />
* This report is listed at the [http://tuxmobil.org/fujitsu.html TuxMobil: Linux Laptop and Notebook Installation Guides Survey: Fujitsu-Siemens - FSC].</div>Habitue01https://wiki.archlinux.org/index.php?title=Intel_VTune_Amplifier&diff=88007Intel VTune Amplifier2009-12-17T19:51:26Z<p>Habitue01: Added more explicit instructions for module installation</p>
<hr />
<div>Installing Intel VTune 9.1 on Arch Linux<br />
<br />
== Installing VTune ==<br />
* download VTune<br />
* download [http://archlinux-stuff.googlecode.com/files/vtune-linux-9.1-arch.patch.gz patch]<br />
* unpack VTune and patch its scripts<br />
* install rpm from [http://aur.archlinux.org/packages.php?ID=24605 AUR/rpm4] or [http://arch.pp.ru/sergej-repo/ sergej-repo]<br />
* do rpm --initdb<br />
* run VTune installer<br />
<br />
== Installing driver==<br />
(VTune does not work on my 2.6.31 kernel, so you may be need to install kernel26-lts)<br />
* download driver [http://archlinux-stuff.googlecode.com/files/vtune-linux-9.1-driver.patch.gz patch]<br />
* copy the driver sources from /opt/intel/vtune/vdk/src to a new directory and patch them.<br />
* do ./configure and make<br />
** if your build fails with 'the frame size of 1140 bytes is larger than 1024 bytes', append -Wframe-larger-than=2048 to EXTRA_CFLAGS in Makefile<br />
* cp vtune_drv*.ko /lib/modules/misc/vtune_drv.ko # copy the module to the kernel modules directory<br />
* depmod -AeF /boot/System.map26 #rebuild module maps and resolve symbols<br />
* modprobe vtune_drv #activate the module<br />
** As of kernel 2.6.31 there was an api change, find_task_by_pid_ns() cannot be found. The only recourse is to downgrade your kernel to 2.6.30 or to wait for Intel to update the driver source code. If someone has a patch that resolves the issue you can post it here.</div>Habitue01https://wiki.archlinux.org/index.php?title=Fish&diff=70463Fish2009-06-13T21:19:32Z<p>Habitue01: /* Troubleshooting */ Added paragraph on best way to use fish</p>
<hr />
<div>[[Category:Command shells (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|Deutsch|fish (Deutsch)}}<br />
{{i18n_entry|English|fish}}<br />
{{i18n_links_end}}<br />
== Introduction ==<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 repo)<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 />
This 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 />
== 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.org HomePage]<br />
*[http://www.fishshell.org/user_doc/index.html Documentation]</div>Habitue01https://wiki.archlinux.org/index.php?title=Fish&diff=70081Fish2009-06-05T23:54:49Z<p>Habitue01: /* Troubleshooting */</p>
<hr />
<div>[[Category:Command shells (English)]]<br />
<br />
== Introduction ==<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 repo)<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 />
After you change your default shell to fish, 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 />
== 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.org HomePage]<br />
*[http://www.fishshell.org/user_doc/index.html Documentation]</div>Habitue01https://wiki.archlinux.org/index.php?title=Fish&diff=70079Fish2009-06-05T23:39:35Z<p>Habitue01: /* Troubleshooting */ added code to fix $PATH</p>
<hr />
<div>[[Category:Command shells (English)]]<br />
<br />
== Introduction ==<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 repo)<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 />
After you change your default shell to fish, 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 />
function --is-login<br />
set PATH $PATH /usr/bin /sbin<br />
end<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.org HomePage]<br />
*[http://www.fishshell.org/user_doc/index.html Documentation]</div>Habitue01