Archive for the ‘ Lunix ’ Category

SVN admin

Installation of a Subversion repository, with apache configuration:
Link: svnbook.red-bean.com

$ svnadmin create /path/to/repos
$ mkdir trunk branches tags
$svn import /home/moi/monprojet file:///path/to/repos

// for print out

$svn list --verbose file:///home/svn/monprojet

$ ### First time: use -c to create the file
$ ### Use -m to use MD5 encryption of the password, which is more secure

$ htpasswd -cm /etc/svn-auth-file harry
New password: ***** 
Re-type new password: *****
Adding password for user harry
$ htpasswd -m /etc/svn-auth-file sally
New password: *******
Re-type new password: *******
Adding password for user sally
$

httpd.conf

LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module modules/mod_dav_svn.so
 
 
<Directory /home/job/Devel/svn_root>
  Options Indexes FollowSymLinks MultiViews 
  AllowOverride All 
  Order allow,deny 
  Allow from all 
</Directory>
 
<Location /svn>
  DAV svn
  SVNParentPath /home/job/Devel/svn_root
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /home/job/Devel/svn_root/svn.htpasswd
  Require valid-user
</Location>

For keyboard an Logitech config

Use logitech keyboard special keys on Linux

  • xserver-xorg-input-evdev or search evdev
  • xbindkeys
  • xvkbd

Tools:

  • xev (show key/button code when pressed [Xevent])
  • xbinkeys ($HOME/.xbindkeysrc) key / button to start command etc.
  • + xvkbd -> send virtual keystrings to xfree

    (“/usr/bin/xvkbd -xsendevent -text “\[Alt_L]\[Right]””) in .xbindkeysrc

  • xmodmap ($HOME/.Xmodmap) to change the keycode assigns

AND
revoco: http://goron.de/~froese/revoco-0.1.tar.gz
to configurate logitech wheel control

To load file ‘$HOME/.xbindkeysrc’
=> # xbindkey
To load file ‘$HOME/.Xmodmap’
=> # xmodmap $HOME/.Xmodmap

To load on session start SUSE:
Create shortcuts in $KDE/Autostart

#Section “InputDevice”
# Driver “mouse”
# Identifier “Mouse[1]”
# Option “Buttons” “12”
# Option “Device” “/dev/input/mice”
# Option “Name” “Logitech USB Receiver”
# Option “Protocol” “explorerps/2”
# Option “Vendor” “Sysp”
# Option “ZAxisMapping” “4 5”
#EndSection
#Section “InputDevice”
# Identifier “Mouse[1]”
# Driver “evdev”
# Option “Buttons” “11”
# Option “Device” “/dev/input/event3”
# Option “Name” “Logitech USB Receiver”
# Option “Emulate3Buttons” “false”
# Option “Protocol” “explorerps/2”
# Option “Vendor” “Sysp”
# Option “ZAxisMapping” “4 5”
#EndSection

TNT Hauppauge HVR 1100

The configuration files DVB:

http://www.linuxtv.org/cgi-bin/viewcvs.cgi/dvb-apps/util/scan/dvb-t/

To search channels:

dvbscan -n -o zap -p de-Frankfurt > ~/.xine/channels.conf

To watch a Movie in Text Mode (:

$ mplayer -vo aa xy.avi
$ mplayer -vo caca xy.avi