Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:tip_n_trix

Tips 'n' Trix

Some hints for problems I've run into and solved.

program &
hardware
to do result
irssi
/hilight -channels #channel >

or

/hilight -channels #channel -regex .*\w.*
hilighting of a whole channel
(first one worked for me and second for a friend)
xorg.conf part for touchpads
Section "InputDevice"
        Identifier  "Touchpad"
        Driver      "synaptics"
        Option      "Device"    "/dev/psaux"
        Option      "Protocol"  "auto-dev"
        Option      "CorePointer"
        Option      "ZaxisMapping" "4 5"
        Option      "VertScrollDelta" "100"
        Option      "HorizScrollDelta" "100"
        Option      "HorizEdgeScroll" "true"
        Option      "VertEdgeScroll"  "true"
        Option      "TapButton1"   "1"
        Option      "TapButton2"   "2"
        Option      "TapButton3"   "3"
        Option      "SHMConfig" "on"
        Option      "UpDownScrolling" "on"
EndSection
Touchpad configuration with
horizontal and vertical scrolling
and tapping

Tested with:
Acer Extensa 3000
nvidia-driver (>=260.19.21)
Section "Monitor"
...
  UseModes "1280x720"
...
EndSection
force proprietary nvidia-driver to use a resolution which is not supported by EDID
php on Archlinux set short_open_tag = On needed for using web projects like v-webmail and some dokuwiki-themes
pure-ftpd ssl-certificate saved in
/etc/ssl/private/pure-ftpd.pem
enable --tls option for pure-ftpd
firefox set „browser.tabs.loadDivertedInBackground“ in about:config „true“ firefox doesn't change desktop if you click a link in an other program and opens it in background
Imagemagick/import
import -window "$(xwininfo | grep "Window id" | awk '{print $4}')" \
"window_$(date +%Y%m%d-%k%M%S).png"
Screenshot of a window

Here are some tricks and solutions for emerge-failure.
Be careful if you use something like putty you maybe have to set the „“ on your own.

program trick/solution source
open-vm-tools on
hardened-sources
GCC_SPECS="/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/hardenednopie.specs"\\
emerge -av open-vm-tools

or

CFLAG="-nopie" emerge -av open-vm-tools

I haven't figured out which configuration needs which way yet.

Gentoo-Bugs #200376
mono-install on hardened-sources activate PAX-support and PAX-softmode-support in kernel
activate softmode by using:
sysctl kernel.pax.softmode=1
hardened-IRC #gentoo-hardened
mumble with debug
FEATURES=splitdebug USE=debug emerge -av mumble
mumble-IRC #mumble

Comments



T Z​ S U R
linux/tip_n_trix.txt · Zuletzt geändert: 2011/10/02 15:59 von Andrwe Lord Weber

Seiten-Werkzeuge