Followed HowToGeek tutorial.
Plus sudo chown -R www-data:www-data repos/ (thanks comment in HowToGeek).
My /etc/apache2/mods-available/dav_svn.conf :
<
DAV svn
SVNParentPath /var/www/repos
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
Saturday, 22 December 2007
Ubuntu Subversion server
Posted by zeekox at 11:57 0 comments
Labels: Ubuntu
Thursday, 13 December 2007
Ubuntu 7.10 64 bit on a Toshiba Satellite u300-12g
Correct 1280x800 resolution:
Modify your /etc/X11/xorg.conf like this:
Section "Device"
Identifier "Generic Video Card"
Driver "intel"
BusID "PCI:0:2:0"
Option "monitor-TV" "TVOutput"
...
Section "Monitor"
Identifier "TVOutput"
Option "Disable" "true"
EndSection
usplash 1280x800 (avoid usplash trying other resolutions):
http://doc.ubuntu-fr.org/problemes_usplash
SOUND:
Install latest alsa-driver, alsa-lib, alsa-utils from sources as decribed here:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/94373/comments/33
Perform the following to place the compiled module at the right place (if needed):
rm /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
ln -s /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
source: http://ubuntuforums.org/showpost.php?p=3475485&postcount=235
Desktop Effects
Comment the blacklist entry of the card in /usr/bin/compiz:
#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
Advanced Desktop Effects Settings utility:
sudo aptitude install compizconfig-settings-manager
Webcam Chicony:
lsusb:
Bus 007 Device 002: ID 04f2:b008 Chicony Electronics Co., Ltd
...
Get uvcvideo driver (better via package manager, or build it):
http://packages.debian.org/sid/amd64/linux-uvc-tools/download
or for 32 bit (http://packages.debian.org/sid/i386/linux-uvc-tools/download)
Add uvcvideo at the end of your /etc/modules file.
Reboot (or perform sudo modprobe uvcvideo to load the module), and test it with:
Flash for 64 bit:
Use this package (works, at your own risk, not official):
flashplugin-nonfree_9.0.115.0ubuntu2_amd64.deb
Or build it:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/9.0.115.0ubuntu2
Bug report:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/173890
Bluetooth
Need the omnibook kernel module build or get here as described here:
http://www.itopen.it/2007/11/22/ubuntu-linux-toshiba-satellite-u300/
Tweaking
Avoid at startup (only for 64bit):
Loading, pease wait...
kinit: name_to_dev_t...
kinit: trying to resume from ...
kinit: No resume image, doing normal boot...
- Optain the UUID of your swap partition
cat /etc/fstab | grep swap - place the UUID in /etc/initramfs-tools/conf.d/resume after resume=
- sudo update-initramfs -u or sudo update-initramfs -u -k `uname -r`
Posted by zeekox at 09:44 0 comments
Saturday, 8 December 2007
JBoss tricks
Apply to JBoss 4.2.0.
Enabling remote access :
./jboss/bin/run.sh -b 0.0.0.0
source
Avoid java.lang.OutOfMemoryError: PermGen space ERROR (due to hibernate??), add the following jvm options in
-XX:PermSize=64m -XX:MaxPermSize=128m
source
Posted by zeekox at 08:55 0 comments
Friday, 30 November 2007
Upgrade Ubuntu Feisty to Gutsy, problem SWAP
My swap file was disabled after updrade, solution:
get UUID of the swap partition ex:
sudo vol_id /dev/sda2
output:
D_FS_USAGE=other
ID_FS_TYPE=swap
ID_FS_VERSION=2
ID_FS_UUID=15d63259-800b-4c5d-b459-480013793ec5
ID_FS_UUID_ENC=15d63259-800b-4c5d-b459-480013793ec5
ID_FS_LABEL=
ID_FS_LABEL_ENC=
ID_FS_LABEL_SAFE=
update the line :
UUID=15d63259-800b-4c5d-b459-480013793ec5 none swap sw 0 0
in /etc/fstab
with the correct value for UUID.
Posted by zeekox at 07:17 1 comments
Labels: Ubuntu
Thursday, 22 November 2007
speed up Eclipse under linux
1. use official java VM
2. add/modify params in eclipse.ini:
-Xms1024m
-Xmx1024m
-XX:PermSize=256m
-XX:MaxPermSize=256m
NOTE: settings for 2048MB of RAM.
Adapt this to your amount of ram: http://www.eclipsezone.com/eclipse/forums/t61618.html
Or use vim... and ant!
Posted by zeekox at 05:23 0 comments
Wednesday, 7 November 2007
Sunday, 21 October 2007
Ubuntu - Programme par défaut par type de fichier
Les fichiers de config qui définisse quel programme est utilisé pour ouvrir un certain type de fichier sont (càd le programme par défaut):
~/.local/share/applications/defaults.list (pour l'utilisateur courant)
/usr/share/applications/defaults.list (pour tout le système).
Posted by zeekox at 07:27 0 comments
Labels: Ubuntu
Thursday, 13 September 2007
My Firefox Addons
DictionarySearch
Foxmarks
LiveClick
StumbleUpon
Tab Mix Plus
Posted by zeekox at 23:38 0 comments
Labels: Firefox
Monday, 10 September 2007
Horaire Automne/Hiver 2007/08
Lundi
16:10 - 17:45 | 302 | SMA1 | 2351c | English Cambridge Advanced Certificate | Biel |
17:55 - 19:30 | N.322 N.321 | MDM3 | 7503a | Advanced C++ | Biel |
Mardi | |||||||
14:15 - 17:45 | N.333 | SOE1 | 7212a | Development of Moblie Applications (MC) | Biel | | |
| N.421 | RTG1 SOE1 FLU1 | | | Biel | | |
Mercredi | |||||||
08:00 - 09:35 | 308 | PFD1 | 7512a | Advanced XML | Biel | | |
09:50 - 11:25 | 406 | BIE1 | 7408a | Advanced Web Technology | Biel | | |
11:40 - 13:15 | 406 | BIE1 | 7408a | Advanced Web Technology | Biel | | |
Jeudi | |||||||
09:50 - 13:15 | N.521 | GZR1 | 7311a | I-Seminar | Biel | | |
| 408 | DUE1 RLM1 | | | Biel | | |
| 503 | CLJ1 FRC1 | | | Biel | | |
| 509 | BEO1 | | | Biel | | |
16:10 - 19:30 | N.421 | FRC1 DOJ1 | 7212a | Development of Moblie Applications (MC) | Biel | | |
Vendredi | |||||||
08:00 - 11:25 | N.111 | MYF1 | 7213a | Availability, Reliability and Security (MC) | Biel | | |
| N.319 | REP1 MDM1 | | | Biel | |
Posted by zeekox at 06:48 0 comments
Tuesday, 21 August 2007
Monday, 2 July 2007
Insert line numbers in Vim Search/replace
Just enter the following command in Vim, to replace all XXX match with the number of the line where the match is:
:%s/XXX/\=line(".")
Ex:
this is a example : XXX
and XXX
... is then
this is a example : 1
and 2
Posted by zeekox at 04:32 0 comments
Labels: Vim
Sunday, 3 June 2007
Ubuntu sticker: Windows Vista Dismissed
Inspired by a "Vista-Capable" User Avatar which said "Windows Vista incapable/ Stick with Windows XP", a Linux supporter made this cool sticker. Would be nice to see it available in real.
read more | digg story
Posted by zeekox at 22:58 0 comments
Saturday, 26 May 2007
Dyndns Netopia Configuration
Telnet Connection
telnet
Commands:
>configure
>set dynamic-dns option [ off | dyndns.org ]
>set dynamic-dns ddns-host-name myhostname.dyndns.org
>set dynamic-dns ddns-user-name myusername
>set dynamic-dns ddns-user-password myuserpassword
Taken from www.netopia.com/support/hardware/SoftwareUserGuideV761-Clsc.pdf
Posted by zeekox at 09:30 1 comments
Monday, 21 May 2007
Unlock the Gnome keyring upon login
If you are a Ubuntu and a network manager user, you have probably seen (and maybe see it each time you login) the unlock keyring dialog, and you are probably sick of it too. Here is a solution to that problem that works!
Avoid Network-manager ask for password. read more
Faire que le network-manager ne demande pas de mot de passe.
(en français ici si vous en avez marre-de-taper-votre-mot-de-passe-dans-nm-applet
Posted by zeekox at 09:27 0 comments
Labels: Ubuntu
Monday, 23 April 2007
Envy - Easy Way To Install Nvidia Drivers in Ubuntu
Envy an easy script to install Nvidia drivers
by Alberto Milone
, read more.
wget http://albertomilone.com/ubuntu/nvidia/scripts/
envy_0.8.1-0ubuntu6_all.debsudo dpkg -i envy_0.8.1-0ubuntu6_all.deb
Posted by zeekox at 03:00 0 comments
Labels: Ubuntu
Friday, 20 April 2007
See What Version of a Package Is Installed on Ubuntu
Posted by zeekox at 02:03 0 comments
Labels: Ubuntu
Ubuntu computer" and "trash" icons on the Desktop
Open gconf-editor (sudo apt-get install gconf-editor) then :
apps -> nautilus -> desktop
Posted by zeekox at 01:27 0 comments
Thursday, 19 April 2007
Ubuntu 7.04 (Feisty Fawn) has officially been released!
The beta and the wait is over. Ubuntu 7.04 has been released and is available for immediate download.
read more | digg story
Posted by zeekox at 03:50 0 comments
Tuesday, 17 April 2007
Sunday, 15 April 2007
Backup Script for Ubuntu/Debian
#
# Backup script
#
# Use this script at your own risk !!!
#
# author: zeekox
# license: free
#
if [ `whoami` != 'root' ]
then
echo ''
echo 'You must be root to execute this script.'
exit
fi
cd ~/recovery/
dir=`date +%d%b%y`
mkdir $dir
cd $dir
echo 'Make sure debconf-utils is installed...'
apt-get install debconf-utils
echo 'OK'
echo 'Optain package selections...'
dpkg --get-selections > pkgSel
echo 'OK'
echo 'Optain debconf selections...'
debconf-get-selections > debconfSel
echo 'OK'
echo 'Copying source listes...'
cp -r /etc/apt/sources.list* .
echo 'OK'
echo ''
echo 'Backup completed in '`pwd`
Posted by zeekox at 09:24 0 comments
Tuesday, 3 April 2007
Ubuntu + java 6 + eclipse 3.2.1
Use the command line tools (java/javac):
sudo update-alternatives --config java
and edit the /etc/jvm file.
Set Java 6 compliance:
Window/Preferences/...
Java -> Compiler -> Compiler Compliance Level set to 6.0
Use the official JRE from SUN in Eclipse:
Window/Preferences/...
Java -> Installed JREs -> Add...
Enter path to sun's JRE, something like: /usr/lib/jvm/java-6-sun-1.6.0.00
Select it in the list of Installed JREs.
Posted by zeekox at 07:04 0 comments
Labels: Ubuntu
Friday, 30 March 2007
Firefox Bookmark Synchronization
Just use foxmarks
Posted by zeekox at 00:26 0 comments
Labels: Firefox
Monday, 26 March 2007
Sunday, 18 March 2007
Ubuntu Customization
GDM (fenêtre de connexion): Ubuntu G2
Icons: Human Azul
Metacity (bordure de fenêtre): Blendish
GTK (boutons, combo, ...): Ubuntulooks-cool
Posted by zeekox at 09:29 0 comments
Labels: Ubuntu
Tuesday, 13 March 2007
Artistes hip hop (and others) to know
royce da 59 (song hip hop boom)
dj premiers
R A the rugged man
Afu-ra
Old Dirty Bastard
MOP-ante up, cold as ice
autechre flutter ant te
dead prez
x-ecutioners
Posted by zeekox at 12:45 0 comments
Labels: music
Thursday, 8 March 2007
Monday, 5 March 2007
Initramfs
http://doc.ubuntu-fr.org/uuid_et_label
http://kernel-handbook.alioth.debian.org/ch-initramfs.html
http://www.debianhelp.org/node/4368
Posted by zeekox at 03:45 0 comments
Labels: Ubuntu
Update Dapper to Edgy
Après installation nécessaire:
sudo dpkg --configure -a
Attention pas égale à sudo dpkg-reconfigure -a
Posted by zeekox at 03:41 0 comments
Labels: Ubuntu