SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-09-22 17:17:33

micerinos
Member
Registered: 2009-07-21
Posts: 26

debian-live based crunchbang

Hi all,

here you can find a script i'm developing to create a live-debian distribution based in crunchbang configuration (link will work for 15 days) :


[LAST UPDATED 06/Nov/2009]
- Fixed bugs for building AMD64 images
- Now it can build lenny/squeeze/sid images of i386 and amd64 without problems
- Final image format can be either USB -not installable- and CD-ROM -installable-

https://sites.google.com/site/debianism … edirects=0

Please, read the whole README file and the script itself (at list the lines with variables definition) with attention. It is self explanatory and you might need to adapt some configurations to better fit to your needs.
It can build USB and CD debian live images of any debian distribution (Stable,Testing,Unstable) with a #! based configuration. There are some problems with installation to harddisk of usb images yet (should be solved by upstream developers soon). If you want to install to hard disk, build a CD image instead of a usb. Configuration is optimiced for netbooks, but should work out of the box for a wide variety of systems.

MAIN PACKAGES INSTALLED:
[NOTE: Open-office, Skype and GoogleEarth removed as default install]

  • Xorg+openbox+tint2+conky+network-manager+gnome-keyring+ALSA

  • Desktop utils: xarchiver,epdfview brasero  leafpad checkgmail and some more

  • tvlc/mplayer

  • CUPS, geany, Gimp, Openoffice, Googleearth, Skype, Java, Flash,

  • Chromium and midori

  • Laptop tools: laptop-mode-tools pm-utils acpi-support acpid acpi sleepd hibernate sdparm

  • Network tools: nmap, aircrack-ng+non-free firmwares traceroute ssh openntpd

  • Disk and recovery utils: ntfs-3g ntfsprogs parted testdisk fuse-utils sshfs dosfstools hfsplus hfsutils...

The first part of installation it installs packages present in ./lists/crunchbang.
After that, look into ./hooks/$DIST and ./hooks/base to know exactly what it will install after the basic installation . Anything you don't need, move away from these directories (but 10aufs.sh and 10squashfs.sh, they're essential!!).


KEYBOARD SHORTCUTS

  • SUPER+W: Midori

  • SUPER+C: Chromium

  • SUPER+E: Leafpad

  • SUPER+F: PCmanfm

  • SUPER+T: lxterminal

  • SUPER+A: geany

  • SUPER+G: Gimp

  • SUPER+O: OpenOffice

  • SUPER+D: Desktop

  • SUPER+M: Media Player

  • SUPER+R: Brasero

  • SUPER+V: Volume control

  • SUPER+U: system update

  • SUPER+K: Xkill

  • SUPER+X: Logout menu

  • SUPER+Z: Toogle autosleep daemon

  • SUPER+ESC: suspend to RAM

  • SUPER+ESPACE: Show Openbox menu

  • ALT+F2: Run application

  • ALT+F3: dmenu

  • ALT+Print: Screenshot

  • Fn+X: Your hardware's special key configuration


Enjoy it!

Last edited by micerinos (2009-11-06 18:07:40)

Offline

Help fund CrunchBang, donate to the project!

#2 2009-09-22 20:54:03

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: debian-live based crunchbang

I find it interesting how Openbox+Conky+slim tools turned into something like a Crunchway. We had a lot of discussions about non-ubuntu-#!, and here it is big_smile


I'm so meta, even this acronym

Offline

#3 2009-09-22 21:11:51

Mehall
#! Die Hard
From: Scotland, Cold
Registered: 2009-01-17
Posts: 850
Website

Re: debian-live based crunchbang

Not got the chance to try it myself, but I have DLed the tarball and will mirror it when my site is back up if needed.


Ex-KDE user.
Collects old PC's (Coz he can't afford new ones =P)
Crunchbang @ Distrowatch
My Blog (updated infrequently, and on the #! Planet too.)

Offline

#4 2009-09-22 21:22:12

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,109

Re: debian-live based crunchbang

Awebb wrote:

I find it interesting how Openbox+Conky+slim tools turned into something like a Crunchway.

Yes, many Arch users have been developing systems like this for some time. Either way it's all good news for Crunchbang smile

Offline

#5 2009-09-23 06:39:56

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: debian-live based crunchbang

Very interested in this but it's failed three times. First two it failed with:

P: Running debootstrap... 
/usr/sbin/debootstrap: 359: cannot create /media/WinXP/crunch-debianlive/build/chroot/test-dev-null: Permission denied
E: Cannot install into target '/media/WinXP/crunch-debianlive/build/chroot' mounted with noexec or nodev
P: Begin unmounting filesystems...

That could have been cos it was on a mounted NTFS partition.
Third time I ran it from under /home and got further. Quite a few error messages but these are last few lines:

P: Configuring file /etc/kernel-img.conf
P: Begin executing preseed...
P: Begin executing local preseeds...
P: Begin installing tasks...
P: Begin queueing installation of packages lists...
P: Begin queueing installation of packages...
P: Begin queueing installation of local packages...
P: Begin installing packages...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package midori
P: Begin unmounting filesystems...

Offline

#6 2009-09-23 08:50:14

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

Hi Toolz,

yes, you're right, ntfs was mounted with noexec and nodev, which makes impossible for the script to run the instalation.
About the midori error, this has to be related with using ubuntu based tools, as debian ones doesn't stop the installation because of a package missing, they just tell you but recover. However, debootstrap works perfect for you if you get this up to this error. I can give you to tips:
1) Try to figure out how can ubuntu tools recover from packages missing (i'll try to read something as well).
2) Make a chroot debian sid environment and execute the script from there. So the idea is:

su
debootstrap --arch i386 sid ./sid-root http://ftp.us.debian.org/debian
mv ./pathto/crunch-debianlive sid-root
mount  -o bind /proc sid-root/proc
mount  -o bind /dev sid-root/dev
chroot sid-root
cd crunch-debianlive
./ldcb

This way you'll be using debian tools to build the distro. If it works i'll add this to the script as a preinstallation task when working under ubuntu. It would be nice to have full log for debugging ubuntu installations.

Offline

#7 2009-09-23 10:00:39

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: debian-live based crunchbang

Seems like you know your Linux inside out! smile

I followed the above and I'm back at stage six now. One line I just realised I should have customized:

MIRROR="http://ftp.fr.debian.org/debian/"   # change to your better option

Offline

#8 2009-09-23 10:23:24

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

Toolz wrote:

I followed the above and I'm back at stage six now. One line I just realised I should have customized:

MIRROR="http://ftp.fr.debian.org/debian/"   # change to your better option

Oops, you're right!! smile I forgot to comment this detail, and it's an important one considering you're in Asia!
Oh, and don't forget to change this  in the script also, to your closest debian mirror. This will speed up things a lot, as downloading is by large the most time demanding step. Here is a list of debian mirrors:
http://www.debian.org/mirror/list
Could you please send me all your log after finishing the build? This will be the firt time it's used in a machine different than mine and i'd like to see how it behaves. Don't worry if you read several errors during the build process, most of them are completely normal and expected. However, it might be others that aren't! wink

Offline

#9 2009-09-23 10:32:08

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: debian-live based crunchbang

It got to the downloading of several hundred MB of files and I had to stop it or it would have run out of disk space on /

Get:90 http://ftp.fr.debian.org sid/main libxcb1 1.4-1 [39.5kB]                 
Get:91 http://ftp.fr.debian.org sid/main libx11-data 2:1.2.2-1 [217kB]          
Get:92 http://ftp.fr.debian.org sid/main libx11-6 2:1.2.2-1 [799kB]             
Get:93 http://ftp.fr.debian.org sid/main dbus 1.2.16-2 [209kB]                  
Get:94 http://ftp.fr.debian.org sid/main consolekit 0.3.0-4 [132kB]             
Get:95 http://ftp.fr.debian.org sid/main policykit 0.9-4 [131kB]                
Get:96 http://ftp.fr.debian.org sid/main hplip 3.9.4b-1 [318kB]                 
Get:97 http://ftp.fr.debian.org sid/main x11-common 1:7.4+4 [287kB]             
Get:98 http://ftp.fr.debian.org sid/main libxfixes3 1:4.0.3-2 [9572B]           
Get:99 http://ftp.fr.debian.org sid/main libklibc 1.5.15-1 [45.7kB]             
Get:100 http://ftp.fr.debian.org sid/main klibc-utils 1.5.15-1 [165kB]          
Get:101 http://ftp.fr.debian.org sid/main initramfs-tools 0.93.4 [78.1kB]       
Get:102 http://ftp.fr.debian.org sid/main linux-image-2.6.30-2-686 2.6.30-7 [24.1MB]
18% [102 linux-image-2.6.30-2-686 3311728/24.1MB 13%]          103kB/s 43min 58s^CP: Begin unmounting filesystems...
P: Begin unmounting filesystems...

As you can see the speed was actually ok. Later I'll try to mount a bigger partition and try again. Would you still like the logs I have after quitting at this stage?

Offline

#10 2009-09-23 10:37:57

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

Toolz wrote:

It got to the downloading of several hundred MB of files and I had to stop it or it would have run out of disk space on /
As you can see the speed was actually ok. Later I'll try to mount a bigger partition and try again. Would you still like the logs I have after quitting at this stage?

No, it's better for me having output of a full run. Evenmore, what i expect to fail more easily comes a bit later, namely, hooks and binary image build.
Thank's for testing!

Offline

#11 2009-09-23 14:24:53

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: debian-live based crunchbang

Threw 1.4GB at my partition and then got past the end of the downloading 400MB stage and a lot further. However it started downloading the kitchen sink, enough for Java but I had to curtail when it started downloading 120MB of Openoffice. What comes after Openoffice?

Offline

#12 2009-09-23 15:22:57

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

Toolz wrote:

Threw 1.4GB at my partition and then got past the end of the downloading 400MB stage and a lot further. However it started downloading the kitchen sink, enough for Java but I had to curtail when it started downloading 120MB of Openoffice. What comes after Openoffice?

Did you read the README?
Just look into ./hooks/sid and ./hooks/base to know exactly what it will install after the basic installation . Anything you don't need, move away from these directories (but 10aufs.sh, it's essential!!).
The first part of installation (just after debootstrap) it installs packages present in ./lists/crunchbang. Any package you don't like, just remove it from the list. That's all.
As a summary of main applications:

  • Xorg+openbox+tint2+conky+network-manager+gnome-keyring+ALSA

  • Desktop utils: xarchiver,epdfview brasero  leafpad checkgmail and some more

  • totem+plugins (vlc/mplayer broken in sid)

  • CUPS, geany, Gimp, Openoffice, Googleearth, Skype, Java, Flash,

  • Chromium and midori

  • Laptop tools: laptop-mode-tools pm-utils acpi-support acpid acpi sleepd hibernate sdparm

  • Network tools: nmap, aircrack-ng+non-free firmwares traceroute ssh openntpd

  • Disk and recovery utils: ntfs-3g ntfsprogs parted testdisk fuse-utils sshfs dosfstools hfsplus hfsutils

Final image size is about 650 MB, though during installation, build dir can take up to 2/3GB (including all intermediate build steps).
I find all those applications necessary for my daily use. If it's not the case for you or just want to try, remove the more heavies to have a lighter image.

Last edited by micerinos (2009-09-23 23:45:56)

Offline

#13 2009-09-23 16:41:24

alon_h
#! Junkie
Registered: 2008-12-13
Posts: 269

Re: debian-live based crunchbang

hi,
thanks for the effort!!  that looks interesting, as i thought i really should get to know that live-thing...
it seems so easy when someone puts all the parameters for you with nice comments to explane them...

however, it faild 3 times on the live_installer_sid.sh, once with graphical enabled,, one disabled, and the last with installer disabled on the top of ldcb script.
seems like the script still runs, and there's no live-installer .deb on the repos (only udeb, which i know has something to do with installer, but i don't think is apt-gettable).
i'll try another run removing the actual installer script.

i also commented out step 1, since i think apt-get -qq --yes on the host might lead to unfortunate consequences in sid.

again, thanks

a.

Offline

#14 2009-09-23 17:25:56

alon_h
#! Junkie
Registered: 2008-12-13
Posts: 269

Re: debian-live based crunchbang

ahh just realized, the ldcb parameter is passed to live helper, i guess it handles .udebs, but the build seem to fail on the hook which is copied from the hooks dir.

a.

Offline

#15 2009-09-23 19:00:09

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: debian-live based crunchbang

Okay I got rid of Ooo, Java, Gimp and a few other things and got myself a .img - 211MB. In Qemu I get myself a normal bootscreen but Live and Live (failsafe) fail some way in - the former on "...trying to setup a timer as Virtual Wire IRQ".

Offline

#16 2009-09-23 23:36:32

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

alon_h wrote:

ahh just realized, the ldcb parameter is passed to live helper, i guess it handles .udebs, but the build seem to fail on the hook which is copied from the hooks dir.

a.

As far as i understand from your description, i'd also recommend you to remove hooks/sid/10live_installer_sid.sh and change a value in ldcb:

INSTALLER="disabled"

This script installs live-installer-desktop, a package that allows you to install the distribution to hard disk while running the live system (you'll see an icon in Desktop that you can click to start installation, just like ubuntu live installer). I haven't been able to make it work properly, so better remove it. Does the build process fail when this hook fails? It's not normal at all, it should simply go on and build an image without it. Anyway, i'll update the link to a new package without installer all, as this is not working properly yet. So you can just download it again.

By the way, udebs are the packages that conform debian installer, the installer that is runned if you choose this option from syslinux boot menu, so while in a live environment, no real debian installer (that's why previous hook is needed for installing from a running live system). In my script real debian installer is selected in the option i recommend you to disable. This way, you'll have just two boot options (live, live failsafe).

Even though you are building a sid distribution, the host system is never "turned" into a sid distribution, but all this process is accomplished setting up a chroot environment (if you're running ubuntu and need to pre-setup a debian chroot, then your host is one abstraction layer further). So it won't hurt your system allowing automatic upgrading, but this is only a recommended step in sid in order to have up to date build utils. Evenmore, i've been running sid for one year an haven't had major issues during system upgrades (and testing and reporting bugs are good practices of debian experimental users). Anyway, it's up to you.

Last edited by micerinos (2009-09-24 00:02:44)

Offline

#17 2009-09-24 00:15:56

alon_h
#! Junkie
Registered: 2008-12-13
Posts: 269

Re: debian-live based crunchbang

Does the build process fail when hook fails? It's not normal at all, it should simply go on and build an image without it.

yes. it fails with some "non zero return code". i'm not sure but if i understand correctly apt's man --yes does quit on some errors.

anyway, i did remove the hook already, (though gedit's ~ backup file gave me another fail...), and got a system running.

looking good!! however, i  had a few issues:
1. keymap- was not set to english. now where's that / gone big_smile. perhaps that spanish locale in /includes/chroot_local-includes/etc/default?
2. logout- didn't really happen with (openbox?) exit from menu. had to shutdown -r from a terminal.
i guess those are just my own prefs, but still:
3. touchpad- should maybe add gsynaptics to get tapping.
4. o those fonts are tiny. i could hardly even see the y in geany...

anyway, giving it another go now with these changes (and some others). DL speed is up now:D.

ah, what's that SECURITY variable? i guess it's supposed to add the repo on lenny? but it's not used anywhere..

a.

Offline

#18 2009-09-24 00:25:01

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

Toolz wrote:

Okay I got rid of Ooo, Java, Gimp and a few other things and got myself a .img - 211MB. In Qemu I get myself a normal bootscreen but Live and Live (failsafe) fail some way in - the former on "...trying to setup a timer as Virtual Wire IRQ".

As i wrote in the README, this images are not intended to be virtualized in qemu (though it can be a good shorcut for testing). So, booting option Live you should be able to see the Desktop and after a few seconds, X server restarts in an infinite loop. This means everything is alright. If you google for "openbox+qemu" you might find more information on how to fix it (you should setup a customized xorg.conf for qemu). If it hangs before X is started, it would be interesting to know exactly when.

As a summary, you'd better write the image to a usb and reboot the computer. If you don't have a usb, generate and iso and try boot from CD (debian installer should work for CD live systems, in case anyone wants to install to hard disk, it's the only available method now).

Before rebooting the computer it's important to know (commented in KNOWN BUGS section of README), that live system might try to mount your local partitions during boot process, which for certain systems ends up in setting a last mount time in the future (because of time zone configuration). As a result, when restarting your local system boot process will stop asking for a manual fsck in root partition to fix last mount time. It won't damage your system, but is annoying. I haven't found a decent solution yet for this.

About your hang in booting in Live (Failsafe), you must know that qemu hangs on kernels without acpi (like the failsafe one). See this link if you're interested, this is one of the first google results for this bug:
http://www.nabble.com/Re:--PATCH--Fix-t … 11225.html
Of course, no need to boot Failsafe in qemu.

Hopefully, you'll be able to boot you're image soon. I'd be glad to know that finally it works for you. Good luck.

Offline

#19 2009-09-24 00:32:29

alon_h
#! Junkie
Registered: 2008-12-13
Posts: 269

Re: debian-live based crunchbang

hi,

Even though you are building a sid distribution, the host system is never "turned" into a sid distribution, but all this process is accomplished setting up a chroot environment (if you're running ubuntu and need to pre-setup a debian chroot, then your host is one abstraction layer further). So it won't hurt your system allowing automatic upgrading, but this is only a recommended step in sid in order to have up to date build utils. Evenmore, i've been running sid for one year an haven't had major issues during system upgrades (and testing and reporting bugs are good practices of debian experimental users). Anyway, it's up to you.

but i am running sid..:D
thing is i saw what apt/aptitude sometimes reccomend, and even had all but apt (synaptic, aptitude, update-manager) removed a couple of months ago before they added the 'safe-upgrade' to update-manager.
i've been doing non trivial (i.e. require adding/removing) upgrades in aptitude only ever since...

i guess i'm saying that this probably shouldn't be a '--yes' situation, or at least come with a warning. it feels it has the potential to bring much more harm then good.

oh and as i write this a safe-upgrade pops up....

a.

Offline

#20 2009-09-24 01:19:36

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

Well done! Good to hear it works for you. 

1. keymap- was not set to english. now where's that / gone . perhaps that spanish locale in /includes/chroot_local-includes/etc/default?

Haha! That's a big problem! Yes i forgot to change this file. I developed it with spanish configuration, and just changed all files before posting. I'll try to completely automate locale selection in the future. (BTW, / is in SHIFT-7, )

2. logout- didn't really happen with (openbox?) exit from menu. had to shutdown -r from a terminal.
i guess those are just my own prefs, but still:

I realized of that problem a bit late. /usr/bin/openbox-logout is a python script that makes a system calls to gdm restart and reboot function, but gdm is not installed in this system (it uses nodm instead, good if physical security is not a major concern).  It should be changed to something like sudo reboot/halt

3. touchpad- should maybe add gsynaptics to get tapping.

That's because Xorg without no specific configuration doesn't enables tapping. No need to install more software but simply setup an appropiate xorg.conf. I added mine to /etc/Xorg/xorg.conf.intel I didn't enabled by default as it tweaked for Samsung NC10. It should work perfect with all Atom netbooks (and similar intel graphics boards), but synaptics values might need some fine tuning.

4. o those fonts are tiny. i could hardly even see the y in geany...

Yeah, well, for my tiny screen they do fit OK, but sure, you might need changing it. For all user configurations look into includes/chroot_local-includes/etc/skel. This one is in file .gtkrc-2.0 and .config/openbox/rc.xml

anyway, giving it another go now with these changes (and some others). DL speed is up now:D.

Yes, with a good connection it takes me over 30 minutes to build an image (10MB/s at work). If you find any improvement interesting to share, just let me know.

but i am running sid..:D
i guess i'm saying that this probably shouldn't be a '--yes' situation, or at least come with a warning. it feels it has the potential to bring much more harm then good.

Hey, good to know of another out-sidder over here! smile
Yes, you're right, i doesn't add any help and can potencially (although rarely) led to big problems. I'll change in future versions. aptitude safe-upgrade is a better choice for this situation.

Offline

#21 2009-09-24 14:09:28

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: debian-live based crunchbang

micerinos wrote:
Toolz wrote:

Okay I got rid of Ooo, Java, Gimp and a few other things and got myself a .img - 211MB. In Qemu I get myself a normal bootscreen but Live and Live (failsafe) fail some way in - the former on "...trying to setup a timer as Virtual Wire IRQ".

As i wrote in the README, this images are not intended to be virtualized in qemu (though it can be a good shorcut for testing).

Definitely missed that. I was concentrating on step 2 (as it came after step 1).

2) Test
    qemu -hda images/[distrib]-ldcb.img

I'll try step 3...

Offline

#22 2009-09-24 21:02:09

alon_h
#! Junkie
Registered: 2008-12-13
Posts: 269

Re: debian-live based crunchbang

hi,
the keyboard issue wasn't solved with just the locale change...
i also found a "XkbdLayout" "es" in th xorg.conf.intel. should in be "en"? "us"?
and regarding the touchpad, i couldn't find a clear hint on how to enable tapping. since the "TappButton[12]" are set in your original file, what is the parameter blocking it? should i add "TouchpadOff" "0" ?

thanks,
a.

Offline

#23 2009-09-24 23:17:56

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

Hi alon_h,

Tomorrow i'll update the first post with more clear information and a link to a new package with all the errors corrected (hopefully), though synaptics might require some fine tuning of accerelation and speed to adapt to personal tastes.

xorg.conf.intel file is not used by Xorg because it's renamed (to make it work properly you should rename back to xorg.conf). That's strange because i think all files need are already changed (you may also have a look during booting to boot line in boot menu -pres Tab- and to locales being generated, but i think all of them are english now). To do it while X is running just enter the following command

setxkbmap  -layout us

This command is in x11-xkb-utils package, so should be already installed. If i don't find a better solution, creating a ~/.xinitrc with this command should do the trick automatically for each session (or in openbox's autostart.sh) To change in the console you should enter:

dpkg-reconfigure console-data

and select the appropiate keyboard layout. A good link for information on xkb configuration (a bit old but still valid): http://www.xfree86.org/current/XKB-Config.html

About synaptics, here is the description of all tap-related features from its manual page (man synaptics, there's lots of interesting information on tuning your touchpad):

       Option "TapButton1" "integer"
              Which mouse button is reported on a non-corner one-finger tap.  Set to 0 to disable.

       Option "TapButton2" "integer"
              Which mouse button is reported on a non-corner two-finger tap.  Set to 0 to disable. 

       Option "TapButton3" "integer"
              Which mouse button is reported on a non-corner three-finger tap.  Set to 0 to disable.  

       Option "TouchpadOff" "integer"
              Switch off the touchpad.  Valid values are:

              0   Touchpad is enabled
              1   Touchpad is switched off
              2   Only tapping and scrolling is switched off
              Property: "Synaptics Off"

       Option "EmulateTwoFingerMinZ" "integer"
              For touchpads not capable of detecting multiple fingers (Alps), this sets the Z pressure threshold to
              emulate  a two finger press. Property: "Synaptics Two-Finger Pressure"

       Option "EmulateTwoFingerMinW" "integer"
              Some  touchpads  report  a two-finger touch as wide finger. This sets the finger width threshold to emulate a
              two finger press. This feature works best with (PalmDetect) off. Property: "Synaptics Two-Finger Width"

       Option "MaxTapTime" "integer"
              Maximum time (in milliseconds) for detecting a tap. Property: "Synaptics Tap Durations"

       Option "MaxDoubleTapTime" "integer"
              Maximum time (in milliseconds) for detecting a double tap. Property: "Synaptics Tap Durations"

       There is an example hal policy file in ${sourcecode}/fdi/11-x11-synaptics.fdi which will enable the driver based  on
       the  information  if the hardware is available. Feel free to copy it to /etc/hal/fdi/policy and customize it to your
       needs. You can pass custom options to the driver  using  x11_options  properties.  Note  that  this  requires  xorg-
       server-1.5 or higher.

As a summary, i'd say that you don't need to do  "TouchpadOff" "0", but simply set which are your tap buttons. Depending of the type of physical device, you'll have access 1, 2 or up to three finger tapping. Simply add:

        Option "TapButton1" "1"
        Option "TapButton2" "2"

The rest of the properties define the scale of kinematic response and physical dimensions of the device, and requires fine tunning to adapt to your needs (though it's not really hard, swith to a VT if it's really bad and restart X by doing /etc/init.d/nodm restart). Have you tried xorg.conf.intel file by renaming it? Anyway, if you find it bothering, install the graphical and play with it (you need to enable SHMConfig)

Offline

#24 2009-09-24 23:58:20

micerinos
Member
Registered: 2009-07-21
Posts: 26

Re: debian-live based crunchbang

alon_h,
have you tried editing the file /etc/default/console-setup ? I think this is the origin of the keyboard layout misconfiguration. I'll update the script to automatically modify all this files according to the languaje and locales selected.

Offline

Help fund CrunchBang, donate to the project!

#25 2009-09-25 00:16:47

alon_h
#! Junkie
Registered: 2008-12-13
Posts: 269

Re: debian-live based crunchbang

hi,

xorg.conf.intel file is not used by Xorg because it's renamed (to make it work properly you should rename back to xorg.conf).

mmm. taht's the only place i could find a ref to a different language, so i figured it must be still using it...

that's also why:

As a summary, i'd say that you don't need to do  "TouchpadOff" "0", but simply set which are your tap buttons. Depending of the type of physical device, you'll have access 1, 2 or up to three finger tapping. Simply add:

        Option "TapButton1" "1"
        Option "TapButton2" "2"

didn't work for me. neutral .

so where could the spanish keyboard come from?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo