Re: (OT) LaTeX vs Word vs OOo (was: (OT) gnash vs. flash)

2010-03-19 Thread Micha Feigin
On Thu, 18 Mar 2010 14:24:12 +0100
Vincent Lefevre vinc...@vinc17.org wrote:

 On 2010-03-18 10:19:07 +0200, Micha wrote:
  Personally though I use lyx for anything I can get away with.
  Luckily in university mathematics no one knows word. Almost everyone
  apart for a few students that haven't converted yet use latex.
 
 This is fine as long as you don't publish articles via commercial
 publishers. The IEEE Computer Society now uses Microsoft Word, and
 the files they produce are not correctly readable with OOo. :(
 

Depends on your field. In my field (mathematics) almost no journal or
conference accepts anything other than latex and even when they do, they
strongly discourage it.

I published papers with journals associated with both siam and ieee, both
wouldn't accept word files.

I guess I chose the right field ... ;-)

Don't know what happens with book publishers in the field. It may be different
if they are academy oriented or industry oriented as well.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100318172126.6cf9a...@vivalunalitshi.luna.local



enabling tap and circular scroll on touchpad and modern debian/X

2010-03-17 Thread Micha Feigin
Debian has been constantly playing around with the touchpad (input device)
settings lately and broke my touchpad settings again.

How do I enable tapping and circular scrolling permanently (i.e each boot) on
the touchpad again with the modern debian?

It used to be in xorg.conf then it was hal with a file in /etc/hal/fdi/policy/,
what is it now?

I'm using debian unstable with xfce as windows manager (so gnome/kde settings 
are
not relevant)

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100317142908.74a70...@vivalunalitshi.luna.local



Re: enabling tap and circular scroll on touchpad and modern debian/X

2010-03-17 Thread Micha Feigin
On Wed, 17 Mar 2010 14:29:08 +0200
Micha Feigin mi...@post.tau.ac.il wrote:

 Debian has been constantly playing around with the touchpad (input device)
 settings lately and broke my touchpad settings again.
 
 How do I enable tapping and circular scrolling permanently (i.e each boot) on
 the touchpad again with the modern debian?
 
 It used to be in xorg.conf then it was hal with a file in 
 /etc/hal/fdi/policy/,
 what is it now?
 
 I'm using debian unstable with xfce as windows manager (so gnome/kde settings 
 are
 not relevant)
 
 Thanks
 
 

I found that xinput can set the values but they are forgotten if a device is
disconnected and reconnected and on startup (and I don't know if the device
numbers are even persistent in any form and it doesn't seem to take device name)

Is it possible to set these values automatically somewhere?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100317154956.5efa1...@vivalunalitshi.luna.local



Re: enabling tap and circular scroll on touchpad and modern debian/X

2010-03-17 Thread Micha Feigin
On Wed, 17 Mar 2010 14:29:08 +0200
Micha Feigin mi...@post.tau.ac.il wrote:

 Debian has been constantly playing around with the touchpad (input device)
 settings lately and broke my touchpad settings again.
 
 How do I enable tapping and circular scrolling permanently (i.e each boot) on
 the touchpad again with the modern debian?
 
 It used to be in xorg.conf then it was hal with a file in 
 /etc/hal/fdi/policy/,
 what is it now?
 
 I'm using debian unstable with xfce as windows manager (so gnome/kde settings 
 are
 not relevant)
 
 Thanks
 
 

Ok, if I get things correctly, I need to setup a udev rule for each mouse
(touchpad, trackpoint, bluetooth mouse) to set the options for each one.

Is there a reference somewhere as to how to do this?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100317164740.17fe5...@vivalunalitshi.luna.local



Re: enabling tap and circular scroll on touchpad and modern debian/X

2010-03-17 Thread Micha Feigin
On Thu, 18 Mar 2010 08:15:51 +1100
Alexander Samad a...@samad.com.au wrote:

 On Thu, Mar 18, 2010 at 5:38 AM, Sjoerd Hardeman
 sjo...@lorentz.leidenuniv.nl wrote:
  Micha schreef:
  On 17/03/2010 16:57, Sjoerd Hardeman wrote:
  Micha Feigin schreef:
  On Wed, 17 Mar 2010 14:29:08 +0200
  Micha Feigin mi...@post.tau.ac.il wrote:
 [snip]
 
 
  Thanks
 
 
 
  Ok, if I get things correctly, I need to setup a udev rule for each
  mouse
 
 Okay missed this the first time around, i did not realise it was a
 udev rule and not a hal rule
 
 I though the doc said to use fdi rules to configure the touchpad
 

It's a moving target, that's the problem.

Until version 7 or so of X it was via xorg.conf (had that setup pretty well).
Then the default changed to hal to allow auto detection and that was fdi rules.
There was actually quite a bit of screaming about it on the list at the time
since there were people who really didn't like hal. Now for quite some time (at
least in unstable, not sure if it propagated to testing already) hal is mostly
deprecated in favor udev so the fdi files no longer work and everything has to
move into udev.

Problem is that as far as I can tell there is very little documentation on
both. A few more examples on hal by now, couldn't find anything useful on udev.

I need to finish a couple of deadlines and I'll test Sjoerd file. Looks easy
enough to adapt to my needs which is great. After that I'll see if I can manage
to modify it also handle my trackpoint and usb mouse.

 
 [snip]
  Dou you have a synaptics touchpad? When I get home, I can mail you my
  udev rule for tapping and two-finger scrolling.
 
  Sjoerd
 
 
  Yes, it's a synaptic (it's a thinkpad t61)
  Then putting the below in your /etc/udev/rules.d/66-xorg-synaptics.rules
  should work, at least for two-finger scrolling. Making it work for
  circular scrolling must be trivial.
 
  Sjoerd
  PS. Alex: sure.
 thanks
 
 
  ACTION!=add|change, GOTO=xorg_synaptics_end
 
  KERNEL!=event*, GOTO=xorg_synaptics_end
 
 
  ENV{ID_INPUT_TOUCHPAD}!=1, GOTO=xorg_synaptics_end
 
  ENV{x11_driver}=synaptics
 
  # automatically added based on hal:
  ATTRS{name}==SynPS/2 Synaptics TouchPad, \
   ENV{x11_options.TapButton3}=2, \
   ENV{x11_options.TapButton1}=1, \
   ENV{x11_options.HorizEdgeScroll}=true, \
   ENV{x11_options.TapButton2}=3, \
   ENV{x11_options.VertEdgeScroll}=true, \
   ENV{x11_options.HorizTwoFingerScroll}=true, \
   ENV{x11_options.VertTwoFingerScroll}=true
 
 
  # model specific quirks
  ATTR{[dmi/id]product_name}==Inspiron 1011|Inspiron 1012, \
   ENV{x11_options.JumpyCursorThreshold}=90, \
   ENV{x11_options.AreaBottomEdge}=4100
 
  ATTR{[dmi/id]product_name}==HP MiniNote 1000, \
   ENV{x11_options.JumpyCursorThreshold}=20
 
  LABEL=xorg_synaptics_end
 
 
 
 so can I use these as well as the hal rules ??
 
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100318005619.5e033...@vivalunalitshi.luna.local



Is there a command line tool for creating 3d text effects?

2010-03-05 Thread Micha Feigin
I'm trying to get some nice 3d text into beamer presentations for the title 
instead of the boring standard text.

Something like this hopefully:
http://www.math.tau.ac.il/~michf/example.jpg

Only solution I found is to use \write18 and some external tool to create an
image. I got convert to create text with shadow but I can't get the 3d effects.

Is there any other command line tool that can create an image with a 3d (bevel
+ shadow) effect or is there a way to get this out of convert?

I got closer using gimp with a bumpmap but I don't know how to get it to do
this in batch mode and I have to admit that it's effect is rather poor compared
to the one in the sample (created by powerpoint which I wish to avoid)

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100306063915.56381...@vivalunalitshi.luna.local



mounts via init.d early in the boot process

2010-01-18 Thread Micha Feigin
I have a system where I use a readonly nfs root with a local hard drive and I
need to have some local settings for each computer (mainly /etc/hosts, ip
address for network devices, hostname and nfs server settings). I do that by
mounting the local disk on /local and then overiding some settings using
unionfs (will be happy to hear of a simpler method).

Anyway, I have a link /etc/rcS.d/S05mount_local which is supposed to run
after /dev is populated and before most other things and the main thing it does
for this purpose (or the main thing that fails) is a call to
mount -t ext3 /dev/sda1 /local
with the error /dev/sda1 already mounted or /local busy
since root is an nfs root then it should be mounted

This happens also on the main node where /dev/sda1 is root and also on the 
slave nodes with nfs root.
Running the same script after the machine finished booting works fine and the
script used to work find buffer so it's something pretty recent, probably in
unstable, that broke it.

Any idea what it is or how to fix it?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT question about sound cards/chip-sets and high-end music systems

2009-12-05 Thread Micha Feigin
On Tue, 01 Dec 2009 21:52:45 -0500
Nick Lidakis nlida...@verizon.net wrote:

 On Wed, Nov 25, 2009 at 03:40:33PM +1300, Chris Bannister wrote:
  On Thu, Oct 15, 2009 at 08:51:52PM -0600, Paul E Condon wrote:
   On 20091015_144147, Nick Lidakis wrote:
   Equipment: 
   Adcom GTP-450 Tuner
   Adcom GCD-700 CDcarousel/player
   Adcom GFA-5000 dual audio amp
   Vandersteen Model 2 woofer/mid/tweeter combo (2 ea)
   
   I want to listen to classical music in the family room after my twin
   8yr old grand-daughters have gone to bed. So dedicated listening but
   not dedicated space. No interest in whole-house sound system. No
   interest in 'quality' head-phones.
   
   I have been out of touch with the high-end audio world since I bought
   this system. I had never heard of Pass Labs until you mentioned them
  
  Get yourself a qood quality turntable, Linn Sondek comes to mind, and
  some decent vinyl and then you are talking high end.
  
  More and more people are turning back to records as they realise
  anything else is just a compromise.
 
 And don't forget a good quality phono preamp, as I'm sure that much gear
 these days does not  have such facilities. Might as well throw in good 
 quality
 record cleaner, stylus gauge, and record brush. And if anything else is just
 a compromise then you might as well throw in a good quality turntable speed
 controller. VPI makes for a penny under a grand USD. You'll also need a good
 quality turn table stand to isolate it from mechanical vibrations. If you've
 got problems with floating floors, etc., then you'll need something with more 
 mass and possibly fillable with lad shot, i.e., something a 'lil better than 
 good
 quality.
 
 Don't get me wrong; I *love* the sound of my VPI turntable, but sometimes,
 like at the end of wicked sixteen hour shift, the last thing I wanna do is
 futz with the record brush, stylus cleaning solution, etc., etc., when I need
 to salve my soul. 'Tis easier to pickup the Nokia N800 (instant on) and play
 some tunes via my tubed USB DAC. And please don't think for a minute that a
 quality USB DAC playing FLAC files is that far removed, these days, from a
 decent vinyl setup.
 
 Paul, if you're still following, did you happen to hear about the Devilsound
 Labs USB DAC? Link: http://www.devilsound.com/DAC/

If you're going for a USB DAC, how about this one:
http://www.usbdacs.com/
:drooling: ...

 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Single server image distributed clusters still available

2009-10-28 Thread Micha Feigin
On Wed, 28 Oct 2009 05:31:51 -0500
Stan Hoeppner s...@hardwarefreak.com wrote:

 John Haggerty put forth on 10/28/2009 4:01 AM:
  Just checking to see if this actually made it to the list. I would hate
  to think that the only way to use this method is to have to use a
  different and 4 year old version of an operating system (Fedora Core 3) :(
  
  Is there something in debian for this for use shared, memory, processor,
  and disk space for things like this?
 
 Sounds like Mosix might punch your ticket here:
 
 http://www.mosix.org/
 
 --
 Stan
 
 

AFAIK the only options that are still alive are the commercial mosix solution
and the open source kerrighed.

Both require a custom kernel and toolset I believe, and take some work to
setup. I don't think that any of them have packages for any distribution (they
are design for people who can hack their system in the first place).

At least kerrighed should have a boot disk to test the nodes


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Inquiry:External USB modem and Remote PC Access?

2009-10-27 Thread Micha Feigin
If it's supposed to answer the phone, I think that there is a getty app that 
does that, never did it and I'm not sure how many people did in the last sever 
years.

as for a pc-anywhere solution, you can do one of several

ssh into the box with x forwarding if you want to run X apps and just run them, 
you will see a gui at your end. ssh is supposed to take care of setting up 
which display to show the apps on. You can also run in text mode.

use a vnc server to show the remote desktop

setup x to accept remote connection and log in remotely (gdm/kdm etc support 
this)



On Mon, 26 Oct 2009 05:21:59 +
hadi motamedi motamed...@gmail.com wrote:

 Thanks for your reply . Sorry , I had mistake in typing . My server is
 really an Debian one . Please do me favor and comment me back .
 Thank you in advance
 
 
 
 On Mon, Oct 26, 2009 at 5:06 AM, Julian De Marchi jul...@jdcomputers.com.au
  wrote:
 
  hadi motamedi wrote:
Dear All
   Please be informed that I checked for the presence of internal modem on
  my
   CentOS server , as the followings :
 
  Might be better to ask on the CentOS list
 
  --
  Cheers,
  Julian De Marchi
  --
  OpenNIC user - http://www.opennicproject.org/ | http://www.opennic.glue
  Support OpenNIC, become a member today!
  --
  PGP 0x8D659814
  --
  Please avoid sending me Word or PowerPoint attachments.
  See http://www.gnu.org/philosophy/no-word-attachments.html
 
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Intel C++ Compiler, Debian Sid and libstdc++5/6

2009-10-16 Thread Micha Feigin
On Wed, 14 Oct 2009 19:57:12 -0300
Ivan Marin ispma...@gmail.com wrote:

 Hello all,
 
 I've just installed the Intel C++ compiler on a Debian Sid, amd64, icc
 version 11.1.056. Even with the warnings (system not recognized, binutils
 not found, etc), the compiler installs correctly. But when I try to use it,
 it complains for libstdc++5. I've searched for the library, but it is not
 avaliable anymore in sid repositories. I even did a soft link from
 libstdc++6 to ++5, but then it complained with this message:
 
 libstdc++.so.5: version `CXXABI_1.2' not found
 libstdc++.so.5: version `GLIBCPP_3.2' not found
 
 So I think that ++5 and ++6 are not compatible. I really would not like to
 hunt down the libstdc++5 package and install it by hand.
 
 Did anybody succesfully used the intel compilers on sid? Any pointers?
 
 Thanks!
 
 Ivan Marin

First of all there is the libstdc++5 package, second, what version of icc are 
you using, I believe that they are using stdc++6 by now (at least the version I 
have installed)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How much RAM can debian support?

2009-10-12 Thread Micha Feigin
On Sun, 11 Oct 2009 08:10:11 -0700
Andrew Sackville-West and...@farwestbilliards.com wrote:

 On Sat, Oct 10, 2009 at 08:23:10PM -0700, Marc Shapiro wrote:
  Andrew Sackville-West wrote:
  On Sat, Oct 10, 2009 at 12:50:41PM +0200, Magnus Pedersen wrote:
  Alex Samad wrote:
 
  [...]
  God can you remember when 16M used to be a lot ...
 
  My first one, a commedore vic-20, I think I was 8 years old and it 
  was my first real love...
  1MHz CPU I think is was a 6502
  5K RAM
 
  but IIRC, you could only access 3.5 as the other 1.5 was taken up by
  the system. And I could outtype my modem (300 baud) with one hand.
 
  I remember my first 300 baud modem. 
 
 what was really fun was the upgrade to 1200 baud. Wow that thing was
 fast!
 
  And downloading e-mail from  
  Compuserve with a script that would connect, download and disconnect so  
  as not to spend any more time actually connected (at per minute charges)  
  than was absolutely necessary.
 
  Maybe those weren't the Good, old days.
 
 yes and no. no for a lot of really obvious reasons, but yes because
 you had complete control and *understanding* of the machine. That's
 what makes it so great in my memory. I could really understand what
 the whole thing was doing, and thus manipulate it without to much
 difficulty. Don't get me wrong though, there were (and still are)
 plenty of folks who could make those machines, particularly the C-64,
 really jump through some crazy hoops in ways I could never imagine.
 

There were times when software would modify itself in memory due to lack of
memory space. I also saw contests where people wrote programs that would read
the same start to end and end to start (forgot what that is called). I've got
copies of papers of how to efficiently transpose a matrix when only a couple of
lines fit in memory (and we are talking 512x512 8bits per pixel)

On the other hand hand even on more modern hardware I know people who would
program debugger breakpoints into the code and worse.

 A


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How much RAM can debian support?

2009-10-12 Thread Micha Feigin
On Sun, 11 Oct 2009 05:35:18 -0500
Mark Allums m...@allums.com wrote:

 Tzafrir Cohen wrote:
 
  Personally, I don't see a need to go 128 bit on a main cpu unless you
  have a desire to count and enumerate every elementary particle in the
  known universe, without a) running out of RAM, or b) spilling the
  content into a multiregister add/adc pair. :)
  
  You don't. It seems others do: 
  http://redmondmag.com/articles/2009/10/08/rumor-windows-8-will-be-128-bit.aspx
  
  The PR departments has strange hardware requirements.
 
 
 128-bits may apply to something besides memory addresses.  Although, it 
 is hard to conceive of a need for 128-bit precision in arithmetic ops.
 

I know some scientists that claim that they could use 128bit arithmetic,
especially for unstable or badly scaled models (such as weather models)

Others are actually moving back to single precision with the rise of the GPU
and there are claims that for most work, with correct order of operations using
a mixed single/double precision where most of the work is in single precision
will do. Although the unavailing of the fermi architecture from nvidia is
pushing people to think of double precission only worlds again.

 Some CPUs are internally actually VLIW[0] machines, even if they present 
 a standard architecture to the outside world.
 
 Microsoft may be doing infrastructure work that will not see the light 
 for 20 years or more, if ever.  But, better to do it now than later. 
 The Y2K thing comes to mind here.  Also, they may want to see Windows 
 running on serious supercomputing iron.  (For PR reasons, of course.)
 
 
 MArk Allums
 
 0. Very Long Instruction Word
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How much RAM can debian support?

2009-10-10 Thread Micha Feigin
On Sat, 10 Oct 2009 10:51:40 +0100
Kelly Harding kelly.hard...@gmail.com wrote:

 2009/10/9 Dean Chester dean.g.ches...@googlemail.com:
  Hi
  I'm moving to a Macbook soon(staying with debian tho:p) and apple keep
  advertising that snow leopard can support 16 exobytes of RAM. Im just
  wondering how much can 64-bit debian support?
  Thanks in advance
  Dean
 
 
 In theory at least Debian will support the limits of the kernel
 version it uses. So it is a bit subjective really.
 
 IIRC, only the latest X58 chipsets (for desktop consumer PCs) support
 upto either 16Gb or 32Gb of RAM (forget which),
 and the P3x chipsets only support upto 8Gb, with the P45 supporting
 upto 16Gb. IIRC Intel laptop chipsets are derived from
 their desktop counterparts to some extent.
 

I've seen machines going to the area of 160GB, not regular consumer ones though
Nehalem usually has 6 slots (3 channels, 2 slots per channel) and if you put in
8gb sticks you can go up to 48gb on a run of the mill board

Won't come cheap though ... especially since with so much memory you usually 
should opt for ecc
http://www.amazon.com/Kingston-Memory-DIMM-240-pin-registered/dp/B0028R3NC0/ref=sr_1_9?ie=UTF8s=pcqid=1255199747sr=1-9

 Even though a motherboard can support upto 16Gb+ of ram, with most
 only having 4 slots, it'd be rather difficult/expensive to fill it
 so 8Gb is the realistic limit in terms of cost.
 
 Kelly
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



re: How much RAM can debian support?

2009-10-10 Thread Micha Feigin
On Sat, 10 Oct 2009 10:51:40 +0100
Kelly Harding kelly.hard...@gmail.com wrote:

 2009/10/9 Dean Chester dean.g.ches...@googlemail.com:
  Hi
  I'm moving to a Macbook soon(staying with debian tho:p) and apple keep
  advertising that snow leopard can support 16 exobytes of RAM. Im just
  wondering how much can 64-bit debian support?
  Thanks in advance
  Dean
 
 
 In theory at least Debian will support the limits of the kernel
 version it uses. So it is a bit subjective really.
 
 IIRC, only the latest X58 chipsets (for desktop consumer PCs) support
 upto either 16Gb or 32Gb of RAM (forget which),
 and the P3x chipsets only support upto 8Gb, with the P45 supporting
 upto 16Gb. IIRC Intel laptop chipsets are derived from
 their desktop counterparts to some extent.
 

I've seen machines going to the area of 160GB, not regular consumer ones though
Nehalem usually has 6 slots (3 channels, 2 slots per channel) and if you put in
8gb sticks you can go up to 48gb on a run of the mill board

Won't come cheap though ... especially since with so much memory you usually 
should opt for ecc
http://www.amazon.com/Kingston-Memory-DIMM-240-pin-registered/dp/B0028R3NC0/ref=sr_1_9?ie=UTF8s=pcqid=1255199747sr=1-9

 Even though a motherboard can support upto 16Gb+ of ram, with most
 only having 4 slots, it'd be rather difficult/expensive to fill it
 so 8Gb is the realistic limit in terms of cost.
 
 Kelly
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: free alternative acroread

2009-10-02 Thread Micha Feigin
On Fri, 2 Oct 2009 12:31:36 +0530 (IST)
Girish Kulkarni gir...@athene.org.in wrote:

 On Thu, 1 Oct 2009, Andreas Goesele wrote:
  Is there any free pdf-reader with a similar option? Or, is there any
  easy way to achieve the same effect with free pdf-readers which
  don't have the option?
 
 The print menu in Evince lets you scale the document and watch a
 preview (see the Page Setup tab).  And the Print Setup menu lets you
 specify paper size.  Wouldn't this do what you want?
 
 Girish.
 

‎The missing part is doing it automatically and by default on documents. Having
to do it each time is annoying and can be enough not to switch. Personally I
haven't found any PDF reader that competes with acroread for text quality,
image rotation and presentation support.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: using skype with a bluetooth headset

2009-10-01 Thread Micha Feigin
On Wed, 30 Sep 2009 09:45:03 -0700
Paul Johnson ba...@ursamundi.org wrote:

 On Sun, 2009-09-20 at 16:55 +0300, Micha Feigin wrote:
  I'm to get skype working with my bluetooth headset
 
  Any idea on what I'm missing?
 
 The part where you shouldn't use Skype to begin with because they're
 pirating GPL'd software, apparently.
 

Fine, then do you have a skype compatible software or any other voip software
that you can tell me how to use a bluetooth headset with?

BTW, I also use matlab, mathematica, nvidia drivers and a few other proprietary
software that I can't do without, sorry ...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why can't I install skype on debian?

2009-10-01 Thread Micha Feigin
On Wed, 30 Sep 2009 09:54:41 -0700
Paul Johnson ba...@ursamundi.org wrote:

 On Thu, 2009-09-17 at 10:09 -0700, Charlie Dorff wrote:
  Hi...
  I installed debian using a netinstall and then tried to install skype
  but got an error message saying 
  could not open skype-debian_2.1.0.47-1_1386.deb. Does anyone know
  what I am doing wrong? Thanks in advance.
  
  Charlie
  
 
 Besides encouraging a known pirate of GPL software?
 

What GPL software did the pirate, why don't you sue them for it and why are you
anal?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: XFce4 vs GNOME Desktop

2009-09-27 Thread Micha Feigin
On Sat, 26 Sep 2009 16:58:38 -0400
S. Fishpaste s...@deer-in-the-headlights.ca.invalid wrote:

 Hi All;
 
 I have a strange issue. When I run Gnome I have a nice desktop with my trash
 icon etc., on the desktop. Gnome is too heavy for my resource limited laptop
 so I much prefer to use a lighter window manager.
 
 But when I start up or switch to XFce4, I'm left without a desktop, just
 the application dock on a coloured background, which I can't seem to change.
 
 How do I get XFce to start-up with the desktop showing when the user logs in?
 The XFce settings panel has a configuration option, however when I use a
 desktop picture or change icons nothing shows. I'm thinking that XFce isn't
 starting up in the right directory, but I'm at a loss on how to change that.
 
 Any suggestions?
 
 Thanks.
 
 

Check if you are running Thunar (the desktop/filesystem manager)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



using skype with a bluetooth headset

2009-09-20 Thread Micha Feigin
I'm to get skype working with my bluetooth headset

I managed to get it paired using blueman-applet and even get audio on it from 
mplayer using:
player -ao alsa:device=bluetooth ~/Music/When\ I\ Grow\ Up.flac

I setup a .asoundrc file containing:

pcm.bluetooth {
type plug
slave {
pcm bluetooth_hw
}
}

pcm.bluetooth_hw {
type bluetooth
device 00:11:22:33:44:55
profile auto
}

And skype seems to know the bluetooth headset showing both bluetooth and
bluetooth_hw devices (mic and speaker) but when I try to use them I get the
sound output in the spears instead of the headset.

As this is a 64bit system I even tried extracting 
/usr/lib32/alsa-lib/libasound_module_ctl_bluetooth.so
/usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so
from the 32bit packages but no difference

I tried to install pulseaudio earlier but it was in shambles (kept showing
connection refused messages and wouldn't work).

Any idea on what I'm missing?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



network partially stops working after some time

2009-09-19 Thread Micha Feigin
I have a strange problem where my wireless network stops working with some
sites, speciffically on of the local debian mirrors and my smtp server after
some time of work and won't connect again until a reboot. Wireless is an
atheros AR5414 based card in a thinkpad t61. I tried unloading and reloading
both the ath5k and e1000e modules (this is a custom kernel 2.6.30.6 by the wau.

Other sites seem to keep on working well. I used to have a problem with the mtu
dropping at some point but it doesn't seem to be the issue any more (at least
explicitly)

I'd be happy for any ideas to investigate or preferably solve the problem.

If it helps, the output for ifconfig for the interface shows:

wlan0 Link encap:Ethernet  HWaddr ---
  inet addr:192.168.1.11  Bcast:255.255.255.255  Mask:255.255.255.0
  inet6 addr: fe80::21f:e2ff:fed6:1c4d/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:29156 errors:0 dropped:0 overruns:0 frame:0
  TX packets:18597 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:40962535 (39.0 MiB)  TX bytes:1689359 (1.6 MiB)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



can't connect to pulse audio - connection refused

2009-09-19 Thread Micha Feigin
I'm trying to install pulse audio (to get my bluetooth headset working with 
skype hopefully)

for the moment there seem to be some permission problems. It looks like it is 
running in the background:
micha 4569  0.0  0.1 161688  2476 ?Ssl  08:07   0:00 
/usr/bin/pulseaudio --start --log-target=syslog

but if I try to connect with any of the tool such as pavucontrol for example I
get a message: connection refused.

Running the pulseaudio manager says at the bottom:

Linked to library version: 0.9.17
Compiled with library version: 0.9.8

don't know if this is any clue, or whether I need to add myself to some group
or fix something with the dbus/hal permissions. Happy for any help

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



syncing sony erricson phone with linux

2009-09-17 Thread Micha Feigin
Is it possible in a stable way to sync a sony erricson phone (k800i) with linux 
(calendar and contacts)?

I tried to google but all I  found was seriously outdated, the main current
reference seems to be opensync which I tried at the time but it failed
miserably and it doesn't seem like the version number went anywhere.

Regrettably what I'm doing now is to use my phone explorer in windows and
transfer information via google calendar but it's a horrible solution.

I'm currently using iceowl for calendar and I haven't found a descent contacts
manager, but I'm open to suggestions on both (preferably not gnome/kde and if
it's  a mail program it has to support my own mail directory which AFAIK
neither mozilla, evolution nor kmail do, I'm currently using claws for mail
which is great but doesn't have descent contacts support)

thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why can't I install skype on debian?

2009-09-17 Thread Micha Feigin
On Thu, 17 Sep 2009 10:09:44 -0700 (PDT)
Charlie Dorff cy41...@yahoo.com wrote:

 Hi...
 I installed debian using a netinstall and then tried to install skype but got 
 an error message saying 
 could not open skype-debian_2.1.0.47-1_1386.deb. Does anyone know what I am 
 doing wrong? Thanks in advance.
 
 Charlie
 
 
 


How are you trying to install it (from what package/repository/site) and what 
is your system (32bit or 64bit)?

What is the exact command that you are running and what is the full error 
message?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why can't I install skype on debian?

2009-09-17 Thread Micha Feigin
On Fri, 18 Sep 2009 09:51:41 +0930
Dale quail.li...@gmail.com wrote:

 2009/9/18 Micha Feigin mi...@post.tau.ac.il:
  On Thu, 17 Sep 2009 10:09:44 -0700 (PDT)
  Charlie Dorff cy41...@yahoo.com wrote:
 
  How are you trying to install it (from what package/repository/site) and 
  what is your system (32bit or 64bit)?
 
  What is the exact command that you are running and what is the full error 
  message?
 
 
 I have noted to with 64bit system you have to install the Ubuntu 64bit
 version as Skype have not made a Debian 64bit version. Also for the
 64bit version to run you need to install 'ia32' package.
 

I think that the current ubuntu skype version from skype website depends
on this, but turns out that you may also need to move /usr/lib32/libpulse* out
of the way or it may crash (did for me)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ProcMail, WAS: Re: Fetchmail and Gmail

2009-09-01 Thread Micha Feigin
On Tue, 1 Sep 2009 05:51:49 -0400
Paul Cartwright a...@pcartwright.com wrote:

 On Tue August 25 2009, Micha wrote:
   what benefit would I get from procmail?
 
  1. The ability to move from kmail to something else if you want without
  rewriting your rules.
 
 good idea.. I like that, especially when testing different email programs.
 
  2. The ability to pull mail without having kmail running (via a cron job or
  fetchmail daemon)
 I do that now with fetchmail, it brings it all in to my /var/mail/user
 
  3. Text file with regular expression based rules that you know where it
  resides and can back it up and human read it
 
 this I DO like ! the ability to use filters across email programs.
 
  If you don't care about these three than nothing (some consider the third a
  downside, not an improvement but that's personal preference not an
  absolute)
 
  On the downside, if you want to explicitly pull mail now, pulling mail from
  kmail doesn't pull the mail off your accounts, you need to do that
  explicitly from the command line
 
  It's all down to personal preferences.
 
  I played around a lot at the time looking for a mail client I'd be happy
  with (Still haven't found one) and worked quite a bit with mutt (I'm not
  sure if it even supports pulling mail itself) so fetchmail + procmail was
  the best option for me.
 
 right now, on my system I have icedove, evolution, kmail, and claws, all 
 setup 
 for my local user. procmail seems to move the mail into an mbox file, and I 
 haven't figured out how to get any email program to read an mbox folder.

you can put it in other formats as well such as maildir, although mail programs
should support mbox is it is the traditional unix format. If I recall correctly
though kmail, icedove and evolution are all notorious for storing mail in their
own hidden folder and they don't work with a different directory (I think that
there are hacks to do it though). I need to test again. One of the reasons I
use claws mail

another option is to setup a local imap server and contact that (an option a
lot of people use)

 
  If this is a remotely accessible machine, you also have the advantage of
  being able to use a gui mail client locally and a text one remotely or
  serve your folders via an imap server and then you are not limited at all.
 
 tell me about this  text one remotely.. I can ssh into my box, but this 
 file, being mbox, isn't easily readable, or is this where mutt comes in?
 actually it is a folder of mbox files.. when I checked yesterday, there were 
 250 files..
 

use mutt or pine or webmail


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: skype, amd64, libc6-i386 and ia32-libs

2009-08-19 Thread Micha Feigin
On Tue, 18 Aug 2009 21:30:06 +0100
Chris Davies chris-use...@roaima.co.uk wrote:

 Γιώργος Πάλλας gp...@ccf.auth.gr wrote:
  After returning from vacation I updated my testing, amd64 system.
 
  By the way, does anybody know why they had to break things first? I did 
  not expect that from debian!
 
 I rather think that the name of the version you're running answers that
 question. If you don't want things to break, run stable.

The problem is that it's also so ancient that unless you are running a server
things will be too far from current as well.

You are falling into the same hole as most and mixing the everyday meaning of
debian's stable,testing and unstable with the debian distribution meaning.

 
 Chris
 
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



remapping keys using hal

2009-08-19 Thread Micha Feigin
I'm looking to remap the forward/back keys, preferably using hal to
pageup/pagedown so that I can use them for presentation (I have a
bluetooth mouse that generates these instead of pageup/pagedown)

lshal -m shows that these keys are mapped to:
23:05:56.986: platform_i8042_i8042_KBD_port_logicaldev_input condition 
ButtonPressed = forward
23:05:58.525: platform_i8042_i8042_KBD_port_logicaldev_input condition 
ButtonPressed = back

I checked using showkey at the console and the scan code is e069 and e06a. I 
tried setting in hal:
append key=input.keymap.data type=strliste069:pageup/append
append key=input.keymap.data type=strliste06a:pagedown/append

and lshal | grep key shows the following
  input.keymap.data = {'e069:pageup', 'e06a:pagedown'} (string list)

but it doesn't seem to achieve anything and I can't seem to find where the 
mappings for these keys are defined in the first place

is it possible to remap already defined keys on a per device setting using hal?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: remapping keys using hal (is it possible to replace xmodmap with hal?)

2009-08-19 Thread Micha Feigin
On Wed, 19 Aug 2009 23:08:28 +0300
Micha Feigin mi...@post.tau.ac.il wrote:

 I'm looking to remap the forward/back keys, preferably using hal to
 pageup/pagedown so that I can use them for presentation (I have a
 bluetooth mouse that generates these instead of pageup/pagedown)
 
 lshal -m shows that these keys are mapped to:
 23:05:56.986: platform_i8042_i8042_KBD_port_logicaldev_input condition 
 ButtonPressed = forward
 23:05:58.525: platform_i8042_i8042_KBD_port_logicaldev_input condition 
 ButtonPressed = back
 
 I checked using showkey at the console and the scan code is e069 and e06a. I 
 tried setting in hal:
   append key=input.keymap.data type=strliste069:pageup/append
   append key=input.keymap.data type=strliste06a:pagedown/append
 
 and lshal | grep key shows the following
   input.keymap.data = {'e069:pageup', 'e06a:pagedown'} (string list)
 
 but it doesn't seem to achieve anything and I can't seem to find where the 
 mappings for these keys are defined in the first place
 
 is it possible to remap already defined keys on a per device setting using 
 hal?
 
 Thanks
 
 

I've got partial progress, the following works for all input devices:
xmodmap -e keycode 166 = Page_Down
xmodmap -e keycode 167 = Page_Up

Is there any way to achieve this using hal preferably for only one of the input
devices instead of via xmodmap for all devices?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



remapping bluetooth mouse buttons (microsoft notebook presenter 8000)

2009-08-18 Thread Micha Feigin
Hello,

I go myself one of these toys, the microsoft wireless notebook presenter 8000
mouse which is a bluetooth mouse that can switch from mouse mode to
presentation mode (it's got several presentation buttons on the back). Its
recognized via bluetooth, all the top buttons are recognized (9 of them) and
works well.

The problem is with the presentation buttons, they work, but unlike most
presentation hardware, instead of sending page up/page down they are sending
some other key. xev says its 166/167 and the xfce keyboard mapping tool
recognizes it as XF86Forward/XF86Back buttons.

I want to get it to work with acrobat presentation which means that I need to
remap these to pageup/pagedown. I want to do this preferable only for the mouse
as the keyboard also has XF86Forward/XF86Back keys that I would rather leave as
they are.

I'm guessing that there is some hal option but I'm not sure how to do it.

Any guidance is welcome.

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: remapping bluetooth mouse buttons (microsoft notebook presenter 8000)

2009-08-18 Thread Micha Feigin
On Tue, 18 Aug 2009 12:12:58 +0300
Micha Feigin mi...@post.tau.ac.il wrote:

 Hello,
 
 I go myself one of these toys, the microsoft wireless notebook presenter 8000
 mouse which is a bluetooth mouse that can switch from mouse mode to
 presentation mode (it's got several presentation buttons on the back). Its
 recognized via bluetooth, all the top buttons are recognized (9 of them) and
 works well.
 
 The problem is with the presentation buttons, they work, but unlike most
 presentation hardware, instead of sending page up/page down they are sending
 some other key. xev says its 166/167 and the xfce keyboard mapping tool
 recognizes it as XF86Forward/XF86Back buttons.
 
 I want to get it to work with acrobat presentation which means that I need to
 remap these to pageup/pagedown. I want to do this preferable only for the 
 mouse
 as the keyboard also has XF86Forward/XF86Back keys that I would rather leave 
 as
 they are.
 
 I'm guessing that there is some hal option but I'm not sure how to do it.
 
 Any guidance is welcome.
 
 Thanks
 

I dug a bit deeper and tried adding a file to /etc/hal/fdi/policy/ with the 
content:

?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
  device
match key=info.product contains=Microsoft Wireless Notebook Presenter 
Mouse 8000
append key=input.keymap.data type=strlist167:117/append
append key=input.keymap.data type=strlist166:112/append
/match
  /device
/deviceinfo

and lshal | grep keymap shows
input.keymap.data = {'167:117', '166:112'} (string list)

but it doesn't seem to have any effect


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: remapping bluetooth mouse buttons (microsoft notebook presenter 8000)

2009-08-18 Thread Micha Feigin
On Tue, 18 Aug 2009 12:12:58 +0300
Micha Feigin mi...@post.tau.ac.il wrote:

 Hello,
 
 I go myself one of these toys, the microsoft wireless notebook presenter 8000
 mouse which is a bluetooth mouse that can switch from mouse mode to
 presentation mode (it's got several presentation buttons on the back). Its
 recognized via bluetooth, all the top buttons are recognized (9 of them) and
 works well.
 
 The problem is with the presentation buttons, they work, but unlike most
 presentation hardware, instead of sending page up/page down they are sending
 some other key. xev says its 166/167 and the xfce keyboard mapping tool
 recognizes it as XF86Forward/XF86Back buttons.
 
 I want to get it to work with acrobat presentation which means that I need to
 remap these to pageup/pagedown. I want to do this preferable only for the 
 mouse
 as the keyboard also has XF86Forward/XF86Back keys that I would rather leave 
 as
 they are.
 
 I'm guessing that there is some hal option but I'm not sure how to do it.
 
 Any guidance is welcome.
 
 Thanks
 
 

Also tried lshal -m which shows:

Start monitoring devicelist:
-
13:23:04.575: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= play
13:23:09.038: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= forward
13:23:10.499: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= back
13:23:14.790: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= play-pause
13:23:26.442: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= forward
13:23:27.523: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= back
13:23:29.362: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= play-pause
13:23:30.056: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= volume-down
13:23:30.954: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= volume-up
13:23:34.534: bluetooth_acl_1dd8340a09_logicaldev_input condition ButtonPressed 
= close


It looks like according to hal this is acting as a media player instead of a 
presentation tool


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: C++ and threading howto for linux dev

2009-08-11 Thread Micha Feigin
On Mon, 10 Aug 2009 19:09:05 +0200
Emanoil Kotsev delop...@yahoo.com wrote:

 Hi, perhaps it's OT but still the debian list is the best one (my subjective
 opinion), so I dear to ask here.
 
 I'm willing to build an app that starts 3 threads, especially (soap client,
 server from libcsoap and terminal), so I couldn't manage to do the job in
 C++, because they it lacks native threading support. PThread lib is C.
 
 Does any one know a good howto (working one - tested hin/herself)
 
 I tried a bunch of junk over the weekend and could make it
 
 I also couldn't find a user-list for libcsoap, but the question is a general
 one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It shouldn't be
 that hard - or is it?
 
 Thanks in advance
 
 

c is a subset of c++ so you can use the c api inside c++. Another option is to 
use a wrapper library.
If you want cross platform c++ and you are not using a specific gui library (qt 
or gtk) then:
boost thread is one option (package libboost-thread1.38-dev in unstable)
I also worked with wxwidgets which is a cross platform gui library that 
includes some extra stuff
qt probably also has something, don't know if gtk covers such stuff.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: C++ and threading howto for linux dev

2009-08-11 Thread Micha Feigin
On Mon, 10 Aug 2009 15:09:40 -0500
Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote:

 In h5pk7i$bn...@ger.gmane.org, Emanoil Kotsev wrote:
 I'm willing to build an app that starts 3 threads, especially (soap
  client, server from libcsoap and terminal), so I couldn't manage to do
  the job in C++, because they it lacks native threading support. PThread
  lib is C.
 
 I've always been able to use the pthread library from C++ as well.  You do 
 need to make sure that your thread functions are callable from C, but that 
 it rarely a problem.
 

One way to do it by the way if you want them encapsulated inside a class is to
use static member functions (they are actually just standard function with a
limited scope). Then you don't need to define them as friend, you do need to
pass a pointer to the relevant class though.

 I also couldn't find a user-list for libcsoap, but the question is a
  general one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It
  shouldn't be that hard - or is it?
 
 1. POSIX/SUSv2 pthreads is a absolutely has to work with minimal 
 dependencies on multiple UNIX-alike platforms.
 
 2. Qt4 Threads for most things.  Qt4 Threads are arguably more portable than 
 pthreads, and with modular Qt4, you don't have to pull in X11 libraries if 
 you don't need them.
 
 3. I hear boost has a threading library.  I've never used boost for 
 anything, but if I couldn't use Qt4 or pthreads, I'd consider it.
 
 4. C++1x should have native thread primitives and should be fairly close to 
 complete.  Depending on how good your libstdc++/gcc support the soon-to-be 
 standard interface you could write to this.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: C++ and threading howto for linux dev

2009-08-11 Thread Micha Feigin
On Tue, 11 Aug 2009 01:55:00 +0200
Emanoil Kotsev delop...@yahoo.com wrote:

 ga wrote:
 
  
  Check out these ones:
 
 http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2thread_8cc-example.html#_a11
 
 http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2dispatcher_8cc-example.html#_a0
  
  Doc:
 
 http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Thread.html
  
 
 Thanks a lot ga. So you mean using the Glib classes. I had a look ... I can
 include it in my testing list :-)
 
 It also links to pthread
 
 bash$ ldd /usr/lib/libgtkmm-2.4.so.1.0.30
 linux-gate.so.1 =  (0xb8007000)
 libgdkmm-2.4.so.1 = /usr/lib/libgdkmm-2.4.so.1 (0xb7c65000)
 
 libpthread.so.0 = /lib/i686/cmov/libpthread.so.0
 
 I bet qt is also using pthread
 
 So it's better to access pthread myself. The advantage of using the above
 and not pthread is that everything has been packed in a class already.
 
 The above examples are still very useful to give an idea of the
 implementation logic.
 
 Thanks and kind regards
 
 
 

As far as I know all linux thread implementation link to ptreahds. Everything 
else is a wrapper around pthreads.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Little OT : Software for Active Noise Cancelling or Reduction

2009-08-07 Thread Micha Feigin
On Thu, 6 Aug 2009 06:08:50 -0400
Mark Neidorff m...@neidorff.com wrote:

 On Wednesday 05 August 2009 04:42 pm, John Hasler wrote:
  M writes:
   i was considering to buy headphones with Active Noise Cancelling /
   Reduction.
  
   But before spend money, i'd like to know if there's a software that
   could do the same job (for free).
 
  No.  Not feasible.
  --
  John Hasler
 
 Is it technically not feasable, meaning that a room is too large to do noise 
 cancelling in, or not feasable from the linux software prespective?
 

Pretty much technically not feasable and from a scientific point of view, not 
even mathematical

Think of it this way, if you want to cancel a sound wave you and another sound
wave traveling in the same direction but inverted. Think of sea waves, you need
to invert the wave. If they travel at different directions they will cancel at
some points and add at others and may not even exist together at some places.
You would also get different effects at different wave lengths due to the
differing relative error.

This mean that you need to cancel the wave exactly at the source or on a
complete sphere around the source (with an accurate rendition on that sphere
which would mean nano speakers). The second problem is that you also need exact
measurements to create the cancellation wave, also on the entire sphere, and to
take account the delay between measuring and reacting (even assuming zero time
computation).

This is only partially feasible at the headphone level where the listener and
speaker are close together with a know orientation relative to the microphone,
minimizing the relative error, this also explains why you get noise reduction
and not noise cancellation and different effective with different noises
(depending on the uniformity, pitch and direction). A good algorithm also needs
to take into account where the speaker, microphone and listener are all
relatively located and take an assumption on the direction the noise is coming
from. 

It may be feasible to improvise noise cancellation headphones though, by
sticking a microphone on the headphones and feed the input back inverted with
the correct delay and volume. At this level it would only take some
electronics, no processor at all.

I don't have the time though to create a simulation at the moment to see if you
need some processor based optimization of not. It does sound like a fun test
though.

 Mark
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: wi-fi security?

2009-08-05 Thread Micha Feigin
On Wed, 5 Aug 2009 17:50:29 +0100
Anthony Campbell a...@acampbell.org.uk wrote:

 On 05 Aug 2009, Michael Ekstrand wrote:
   
   The easiest way is to use network-manager.  If you click on the Icon
   in your toolbar it should show you the detected networks.  You can use
   the Create New Wireless Network... or Connect to Hidden Wireless
   Network... to set up connections.
  
  I second the recommendation for network-manager.  If you don't want it
  for some reason (e.g. you're allergic to Gnome dependencies), wicd is a
  useful alternative.  I have also had decent success with wifi-radar some
  time ago.
  
 
 When I installed network-manager a week ago it blocked wired access to my
 router. I expect I could have reconfigured it in some way but it turned
 out to be unnecessary for my purpose so I removed it and everything
 worked normally again. This isn't an argument against using
 network-manager, just a warning of something to look out for.
 

I guess that you setup things in /etc/network/interfaces. When using network
manager or wicd you should not have any interfaces that you want to manage with
them appear in /etc/network/interfaces. Also, by default they both try to use
dhcp to setup the nic. If you use a specific address then it needs to be setup
explicitly. They are much more useful for roaming connections (moving from wifi
to/from wired on a laptop) and are not too useful on a desktop.

 Anthony
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Sid: Grub2 faling to boot: Unknown device UUID

2009-07-25 Thread Micha Feigin
On Fri, 24 Jul 2009 13:05:49 -0700
Paul Scott psl...@ultrasw.com wrote:

 Matthew Moore wrote:
  On Friday July 24 2009 9:49:38 am Micha Feigin wrote:

  try looking
  for a uuid option under /etc/default/grub2 or /etc/grub2 or something
  similar (not sure where the settings are, try looking at the comment at the
  start of /boot/grub/grub.cfg or find my earlier mail in this thread)
  
 
  The option is at the end of the configuration file in /etc/default/grub. 
  Once 
  you change the file, you need to run update-grub to get the changes 
  propagated. 
  If you are booting from a livecd, the easiest way to get this to work is to 
  chroot into your root filesystem and then make the changes and run 
  update-grub.

 
 Thanks!  Glad to have a solution.   This is exactly my situation.
 
 Can you also tell me how to go the other way; to get booting to work 
 with uuid's?  Is it as simple as changing the device name in /etc/fstab 
 to a uuid or is that where the connection is made?
 

No, don't know how to make it work (are you using a custom kernel by any
chance? I think that it needs kernel support).

I do know to answer the fstab part of the question though, fstab has nothing to
do with that part of the booting process. It is used by the init scripts and
mount. It's the kernel that needs to recognize the uuid values in order to boot.

 TIA,
 
 Paul Scott
 
 
  MM
 
 

 
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Sid: Grub2 faling to boot: Unknown device UUID

2009-07-24 Thread Micha Feigin

Curt Howland wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi. Up-to-date Sid.

On boot, Grub lists the correct kernels. update-grub tells me that 
everything is a-ok.


But when it tries to load, I get the error that device (shows UUID 
from /boot/grub/grub.cfg) not found


Editing the grub command line to take out the UUID code does no good, 
then it just gets more and more confusing errors.


I guess I could downgrade GRUB back to GRUB-legacy, if that's the only 
way around this. Thank goodness for Linux liveCDs and chroot.


Any other suggestions how to make GRUB give itself correct 
information?


Curt-



I also had problems with uuid and just disabled it (you need to give the appropriate 
device file though instead, such as root=/dev/sda1). Not sure how I disabled it (not next 
to my linux box at the moment) but try looking for a uuid option under /etc/default/grub2 
or /etc/grub2 or something similar (not sure where the settings are, try looking at the 
comment at the start of /boot/grub/grub.cfg or find my earlier mail in this thread)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




does octave support multicore?

2009-07-24 Thread Micha Feigin
I couldn't find a clear answer on google other than a package called multicore for octave. 
I was wondering if octave can utilize multiple cores (multithreaded operations) by default 
(as matlab partially does) or not?


The question is whether it's worth to invest in a quad core for octave or whether it won't 
be able to utilize it and a dual core is enough.


Thanks


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Grub2 made my systeum unbootable

2009-07-21 Thread Micha Feigin
On Tue, 21 Jul 2009 15:55:21 +0300
Γιώργος Πάλλας gp...@ccf.auth.gr wrote:

 Anthony Campbell wrote:
  Rashly, after today's upgrade I followed the exhortation in the grub
  legacy package to move to grub2. I now cannot boot at all; I just get
  the message Grub and nothing more.
 

Don't remember now about the boot message from grub, need to look, but if it
says grub instead of grub 2 in may be that the files installed are from grub2
but the boot sector itself is grub ...

  Looking at /boot/grub with my rescue disk I see all sorts of files I
  don't recognize but no menu.lst. 
 
  Is there any way to restore things? Please don't tell me I have to
  reinstall!
 
  Anthony
 
 You don't have to re-install your system, that's for sure.
 Since you chose to upgrade to grub2, spend some time reading its 
 documentation and then from a live cd that supports grub2 try to make it 
 function.
 Needless to say, you can always revert back to legacy grub and rewrite 
 menu.lst (I can't understand who deleted that).

‎there is not menu.lst in grub2, look in /boot/grub/grub.cfg for the current
configuration although it is generated from files in
/etc/grub.d and /etc/default/grub using /usr/sbin/grub-mkconfig based on the
start of that file

 No worries though, your system is there, waiting for the right 
 bootloader config in order to boot again...
 
 G.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



output of df doesn't add up

2009-07-20 Thread Micha Feigin
For some reason the output for my main disk as given by df doesn't add up:

FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 142G  123G   12G  92% /

142g - (123g + 12g) = 7g

it seems that I have 7gb missing on the disk (its ext4,  just crashed, I think
because it went to 100% and required fsck from a rescuecd to work again if that
makes a difference)

Any ideas on where the missing gb are?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: output of df doesn't add up

2009-07-20 Thread Micha Feigin
On Mon, 20 Jul 2009 20:22:04 +0200
Johannes Wiedersich johan...@physik.blm.tu-muenchen.de wrote:

 Eduardo M KALINOWSKI wrote:
  On Seg, 20 Jul 2009, Micha Feigin wrote:
  Any ideas on where the missing gb are?
  
  It's the space reserved for root.
  
  http://www.andremiller.net/content/recovering-reserved-space-ext2-and-ext3-filesystems
 

That explains things

 I wouldn't recommend that approach for / though. 5% of disk space is
 (usually) cheap enough to be prefered over more fragmentation and less
 protection in case of accidentally filled /
 

Fragmentation does seem ok (I think that it was 2.2%) but the rest of it didn't
seem to work. file system was mounted ro, root couldn't log in or run anything
and the file system crashed to the point that grub said unknown file system.

Didn't seem to have any other issues with  ext4 up to now appart for the
problem of less support from rescue disks. (did find one that works today 
though)

 Cheers,
 Johannes
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



paraview and hdf5 files

2009-07-16 Thread Micha Feigin
I tried installing paraview under debian. According to the documentation and
the options in the debian/rules file (I also tried the source) it is supposed
to handle hdf5 files. I tried creating a simple hdf5 file in matlab to open in
paraview, but it doesn't seem to recognize the file.

Any idea on how to get the supposedly existing hdf5 support working?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



automatically reduce screen brightness with xfce when on battery

2009-07-13 Thread Micha Feigin
There used to be a control in xfce4-power-manager to allow resucing screen
brightness when working on battery but it has been removed in recent versions.
Any other way to achieve the same goal?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: automatically reduce screen brightness with xfce when on battery

2009-07-13 Thread Micha Feigin
On Mon, 13 Jul 2009 14:07:14 +0300
Andrei Popescu andreimpope...@gmail.com wrote:

 On Mon,13.Jul.09, 13:06:56, Micha Feigin wrote:
  There used to be a control in xfce4-power-manager to allow resucing screen
  brightness when working on battery but it has been removed in recent 
  versions.
  Any other way to achieve the same goal?
 
 You need xfce4-power-manager-plugins.
 
 Regards,
 Andrei

I have it installed, it adds a button that allows changing the brightness, but
it still doesn't allow automatically reducing the brightness when on battery


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: movies in a beamer (latex) presentation and linux (movie15)

2009-07-09 Thread Micha Feigin
On Wed, 8 Jul 2009 16:48:55 +0530 (IST)
Girish Kulkarni gir...@hri.res.in wrote:

 On Tue, 7 Jul 2009, Micha Feigin wrote:
  I tried to use the package movie15 to include a movie in a beamer
  presentation (latex via lyx) which worked great under windows but
  doesn't work under linux.
 
 Maybe this is an issue with your PDF viewer?  Have you tried
 appropriately recent versions of Acrobat Reader on Linux?
 

The latest acrobat on linux (9.1.something) mplayer and vls installed, no error
message from acrobat, it just shows the image instead of playing the movie.
After some googling it seems that this package doesn't work with linux, but I
would be happy to learn otherwise or whether there is a different method for
including a video in the presentation

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How about NUMA?

2009-07-09 Thread Micha Feigin
On Wed, 8 Jul 2009 21:49:00 -0600
lee l...@yun.yagibdah.de wrote:

 Hi,
 
 under what circumstances are you supposed to turn on NUMA support in
 the kernel settings? I've googled about that and learned what NUMA is
 about while trying to answer the question wheather I should enable it
 in my kernel or not. But I couldn't find the answer I was looking for.
 
 Do Intel DualCores (E8400) support NUMA? Do you need special hardware,
 like a special mainboard supporting NUMA, to benefit from this
 feature? Do these CPUs support NUMA? It seems to me that leaving it
 disabled is better in my case, and the kernel help also says that it's
 probably better not to enable it if you don't have more than two
 CPUs/cores.
 
 Now if I had a quad core CPU instead, would I better enable NUMA? Or
 if I had an AMD instead of Intel, would I turn it on? Or should I
 leave it turned on?
 
 

A good first answer is that if you don't know what NUMA is then you don't need
it. If you want a more precise answer what NUMA is:

NUMA = non uniform memory access. It means that each cpu connects directly to
it's local memory and slowly (via some communication channel) to other memory.
The closest you would get with a desktop box (which I don't think is possible
yet) would be with a dual CPU core i7 (note, dual cpu, not dual core), since
corei7 has it's own memory controller. Core 2 duo connects via the north side
bus and thus even with two CPUs they still connect to the same memory via the
north side bus. If you have a multi CPU opetron system they also are NUMA
systems.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



ia32-apt-get doesn't create ia32 package list

2009-07-06 Thread Micha Feigin
it seems that ia32-libs is replaced with ia32-apt-get (which conflicts with it
at the moment), but it doesn't seem to create the ia32 library list. I'm trying
to get acroread working again and as a start it is complaining that libxml2 is
missing but with the current state of ia32-apt-get it doesn't seem to be
installable. Any ideas on how to fix things?

I really need it for a talk tomorrow

thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ia32-apt-get doesn't create ia32 package list

2009-07-06 Thread Micha Feigin
On Mon, 6 Jul 2009 19:04:47 +0300
Andrei Popescu andreimpope...@gmail.com wrote:

 On Mon,06.Jul.09, 18:55:25, Micha Feigin wrote:
  it seems that ia32-libs is replaced with ia32-apt-get (which conflicts with 
  it
  at the moment), but it doesn't seem to create the ia32 library list. I'm 
  trying
  to get acroread working again and as a start it is complaining that libxml2 
  is
  missing but with the current state of ia32-apt-get it doesn't seem to be
  installable. Any ideas on how to fix things?
  
 ia32-libs is going through a lot of changes at the moment, there is a 
 huge thread about it on debian-devel. You *might* be able to fix stuff 
 if you downgrade relevant packages to testing/squeeze.
 
  I really need it for a talk tomorrow
 
 Are you using *unstable* for a production system?
 

Of course. Stable is way too old for a desktop/laptop and my personal
experience with testing is that it breaks a lot more often than unstalble and
stays broken for a lot longer when it does.

Appart for things that were my fault playing with seriously experimental stuff
unstable broke on me maybe once in the last several years, and I like things
updating often ... I also develop cutting edge things and thus depend quite a
bit on cutting edge features.

 Regards,
 Andrei


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ia32-apt-get doesn't create ia32 package list

2009-07-06 Thread Micha Feigin
On Tue, 07 Jul 2009 07:56:38 +0900
Miles Bader mi...@gnu.org wrote:

 Andrei Popescu andreimpope...@gmail.com writes:
  ia32-libs is going through a lot of changes at the moment, there is a 
  huge thread about it on debian-devel. You *might* be able to fix stuff 
  if you downgrade relevant packages to testing/squeeze.
 
 I downgraded some packages to testing (ia32-libs, gcc, gcc libs, libc6,
 libc6-i386, a few other random libraries) and now everything including
 gcc -m32 works again.
 
  I really need it for a talk tomorrow
 
  Are you using *unstable* for a production system?
 
 Normally works fine of course, but obviously problems can and
 occasionally do crop up (this ia32-apt-get thing was _seriously_
 botched), so doing an upgrade a day before an important talk is not a
 very good idea... :/

It was a few days ago, I was just so busy with other things that I somehow
ignored it or didn't notice it ... not even sure how long it's broken

 
 -Miles
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



movies in a beamer (latex) presentation and linux (movie15)

2009-07-06 Thread Micha Feigin
I tried to use the package movie15 to include a movie in a beamer presentation 
(latex via lyx) which worked great under windows but doesn't work under linux.

Any way to do this under linux?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: launching jobs in a combined serial parallel way

2009-06-26 Thread Micha Feigin
On Wed, 24 Jun 2009 21:28:53 -0400
Johan Kullstam kullstj...@comcast.net wrote:

 Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:
 
  I have three programs - say proga, progb, progc.
 
  proga, progb are completely independent. They take couple of hours to
  finish. The time to complete proga, progb are not same.
 
  progc should to be launched only after both proga, progb are finished. progc
  takes another couple of hours to finish.
 
  What is good way to automate this problem (that is no manual interaction)? I
  prefer to use nohup since sometimes I have to log out of the machine before
  the whole process finishes.
 
  Currently I have a shell script that works as below.
  1) launch proga, progb in the background using nohup.
  2) Ask proga, progb to write a file when they finish.
  3) Every five minutes check if these files are present. If they are present,
  launch progc.
 
 Use make.  I like to use make for all sorts of things, not just
 compiles.  And, since you are already using the existance of a file to
 check for done, you are practically there.  Make with the -j parameter
 will spawn parallel jobs for you.
 
 Write a makefile similar this:
 

I think that you also need to create the files, something like

 
 proga.out:
  proga
touch proga.out
 
 progb.out:
  progb
touch progb.out
 
 probc.out:   proga.out progb.out
  progc
 
 
 Then you can do
 
 $ nohup make -j 2 
 
 Maybe a redirect of the text output to a file.  Now you can walk away.
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: launching jobs in a combined serial parallel way

2009-06-26 Thread Micha Feigin
On Fri, 26 Jun 2009 18:52:47 +0300
Micha Feigin mi...@post.tau.ac.il wrote:

 On Wed, 24 Jun 2009 21:28:53 -0400
 Johan Kullstam kullstj...@comcast.net wrote:
 
  Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:
  
   I have three programs - say proga, progb, progc.
  
   proga, progb are completely independent. They take couple of hours to
   finish. The time to complete proga, progb are not same.
  
   progc should to be launched only after both proga, progb are finished. 
   progc
   takes another couple of hours to finish.
  
   What is good way to automate this problem (that is no manual 
   interaction)? I
   prefer to use nohup since sometimes I have to log out of the machine 
   before
   the whole process finishes.
  
   Currently I have a shell script that works as below.
   1) launch proga, progb in the background using nohup.
   2) Ask proga, progb to write a file when they finish.
   3) Every five minutes check if these files are present. If they are 
   present,
   launch progc.
  
  Use make.  I like to use make for all sorts of things, not just
  compiles.  And, since you are already using the existance of a file to
  check for done, you are practically there.  Make with the -j parameter
  will spawn parallel jobs for you.
  
  Write a makefile similar this:
  
 
 I think that you also need to create the files, something like
 
  
  proga.out:
   proga
   touch proga.out
  
  progb.out:
   progb
   touch progb.out
  

This may work even better
  probc.out:   proga.out progb.out
   progc
rm -f proga.out
rm -f progb.out
  
  
  Then you can do
  
  $ nohup make -j 2 
  
  Maybe a redirect of the text output to a file.  Now you can walk away.
  
  
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: cannot install skype on unstable

2009-06-24 Thread Micha Feigin
Try opening skype file. I don't remember where I got my package, probably
created it from skype static based on this
http://forum.skype.com/lofiversion/index.php/t98728.html
but the file itself is a shell script that looks for /usr/bin/skype.real
that may be the problem

On Wed, 24 Jun 2009 22:05:25 +1000
Jonathan Wheelhouse jonathan.wheelho...@gmail.com wrote:

 Andreas Juch debian-u...@juch.cc writes:
 
  Am Wed, 24 Jun 2009 21:27:25 +1000
  schrieb Jonathan Wheelhouse jonathan.wheelho...@gmail.com:
 
  Andrei Popescu andreimpope...@gmail.com writes:
  
   On Mon,22.Jun.09, 15:12:18, Jonathan Wheelhouse wrote:
   Hi
   
   I used to have skype installed but I think a recent dist-upgrade
   got rid of it (now my wife _really_ wants it back).
   
   /etc/apt/sources.list has 
   deb http://people.debian.org/~rafael/skype-amd64 ./
   
   # aptitude install skype
   
   produces
   
   The following packages are BROKEN:
 libc6-i386 
   The following NEW packages will be installed:
 ia32-libs{a} ia32-libs-gtk{a} lib32asound2{a} lib32gcc1{a}
   lib32ncurses5{a} lib32stdc++6{a} lib32z1{a} skype 0 packages
   upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need
   to get 55.8MB of archives. After unpacking 123MB will be used. The
   following packages have unmet dependencies: libc6-i386: Breaks:
   ia32-libs (= 2.7) but 2.7 is to be installed. Breaks:
   ia32-libs-gtk (= 2.7) but 2.7 is to be installed. Breaks:
   lib32asound2 (= 1.0.20-2) but 1.0.20-2 is to be installed.
   Breaks: lib32ncurses5 (= 5.7+20090523-1) but 5.7+20090523-1 is to
   be installed. Breaks: lib32z1 (= 1:1.2.3.3.dfsg-13) but
   1:1.2.3.3.dfsg-13 is to be installed.
^^
   Because it wants to install those libs libc6-i386 will be broken.
  
  Sorry for the delay in responding (a sick child but better now).
  
  OK, but libc6-i386 is not installed.  And I (or rather my wife) needs
  skype installed.  I'm not sure what to do now. 
 
  You could try to unpack the statically linked i386 version of skype in
  you home directory and start it out of a shell. This could be a
  workaround until you can install the package but I really don't know if
  libc6-i386 is needed for the statically linked version too.
 
  http://www.skype.com/go/getskype-linux-static
 
 Yes, I tried that but no go.  Error message is a rather cryptic
 
 jonat...@lappy:~/dwhelper/skype_static-2.0.0.72$ ./skype
 bash: ./skype: No such file or directory
 
 but that file, skype itself, does exist:
 
 jonat...@lappy:~/dwhelper/skype_static-2.0.0.72$ ll skype
 -rwxr-xr-x 1 jonathan jonathan 20356964 2008-05-28 20:21 skype
 
 Anyhow, hopefully the maintainers will make the ia32-libs etc
 installable with libc6-i386 so I can get skype working.
 
 Thanks
 --
 Jonathan
 
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it possible to install a desktop-manager without python and perl?

2009-06-24 Thread Micha Feigin
On Wed, 24 Jun 2009 13:17:33 +0100
Tom Furie t...@furie.org.uk wrote:

 On Wed, Jun 24, 2009 at 02:11:31PM +0800, 明覺 wrote:
  On Wed, Jun 24, 2009 at 12:36 AM, Micha Feiginmi...@post.tau.ac.il wrote:
 
   is far from simple. There are things you can do in python in one line 
   that you
   would need 100s of lines of code with c.
  100s of lines of C code? how about drop the 100 lines into a function?
 
 You still need to put those 100s of lines of code in somewhere.

Thats not my problem. Even with python the 100s of lines are there behind the
scenes. What interests me is that _I_ need to write only one line and then I
can go outside and smell the flowers. The code is a byproduct that is not that
interesting in itself. It usually comes to solve some problem and I'd rather
spend my time on the problem than on the code.

There is another point, it's much easier to debug 1 line of code than a hundred.

c is a swiss army knife, low level, very powerful, will solve everything with
enough work. If someone didn't build a tool for the job yet, c is probably your
answear. I still wouldn't want to carve a surfboard using an army knife if I
can just pick a complete surfboard and spend my time surfing instead.

Regretably I spend quite a bit of time with c, among other things because it's
the right tool for MY job (fortran and matlab are usually better, but for some
things thats what I've got), and as someone who knows c quite well, I tell
people to stay away if they have a quicker way.

 
 cheers,
 Tom
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it possible to install a desktop-manager without python and perl?

2009-06-24 Thread Micha Feigin
On Wed, 24 Jun 2009 14:53:51 +0800
明覺 shi.min...@gmail.com wrote:

 2009/6/24 Hal Vaughan h...@halblog.com:
 
  On Jun 23, 2009, at 10:57 AM, 明覺 wrote:
 
  2009/6/23 Hal Vaughan h...@halblog.com:
 
  On Jun 22, 2009, at 10:10 PM, 明覺 wrote:
 
  2009/6/23 Hal Vaughan h...@halblog.com:
 
  On Jun 22, 2009, at 8:00 AM, 明覺 wrote:
  ...
 
  Looks like a strange idea to me to run a one programming language
  only
  system, it would hint that there's a one fits all language and
  other
  are just for decoration purpose... (Well, some may agree I guess
  ;-)
  )
 
  yes, currently, I'm almost a one programming language only people,
  I
  can accept the existence of other languages, but I think they should
  be optional, not necessory!
 
  Necessary for what?! For you to use a computer? It seems as though
  you're being unreasonable (on many fronts), but if you are not fan of
  certain software, then don't use it. Don't bitch about how it was
  developed. Those folks (eg., gnome, X.org, etc.) produced a product
  the way that they did and then offered it to the masses for free.
 
  cliche
  Beggers can't be choosers.
  /cliche
 
  you treat yourself a begger, I'm not, I'm a chooser. Happy begging to
  you!
 
  A rose by any other name is still a rose.  You can call yourself a
  chooser,
  but your actions show you to be a begger.
 
  Thanks for the long reply!
  I still do not think I'm a begger, as I have decided to work on the
  MikeOS, which is a assembly language programmed free OS. Of cause,
  currently I need to use Vista or Debian for everyday life, but my
  heart is on my own programmed OS, and I hope I will switch to my own
  OS after some years.
 
  You're a beggar.  You want what you want from other people in an easy
  format
  so they've packaged it for you.  When you're asking others for something,
  you're the beggar.  You can TRY to also be the chooser, but if that were
  the
  case, and you were a chooser, then you'd be selecting from several
  available
  choices.
 
  I don't agree with you, I'm just looking for some people who have the
  same thinking with me, I'm not begging from them, for they also need
  my paticipation very much.
 
  1) You're being literal and focusing on exact meanings, instead of
  interpreting the entire idiom.
  2) We all look at our situation and interpret it with us having the highest
  and best goals.  None of us look at ourselves as clearly as those who look
  from a distance.
 I sure know my ideal is far from the reality, but I think the meaning
 of life is to spend some time in realizing my ideal.
 
 
 
  First, when you look at what's in even just a minimal Linux install,
  there
  is no way you're ever going to get through working on more than a few
  programs in the next few years.  Second, when a programmer writes a
  program,
  if he has any wisdom (which is knowledge gained through experience,
  hence
  the more years, the more experience and the more wisdom), he will use
  the
  right tool for the right job.  For instance, I need to use mainly Perl
  and
  Java, but have used many other languages.  I find I can code 5x faster
  in
  Perl than Java and about the same, maybe better if I use Perl instead
  of
  C++.  Hardly any of my Perl code is done as a wrapper for a C or C++
  program.  It is valid code that does a LOT of work and does it well.
  Since
  it's text processing, to do the same work in C or C++ would be a
  nightmare.
 
  If we setup proper C/C++ library for text processing, we can reach the
  same effect as Perl, why cannot? for any piece of perl code, I believe
  I'm able to write a piece of C++ code as simple to replace it, on top
  of a proper library. It's the same for python, java and other
  languages. I worked on C# for 4 years, it's also a very efficient
  language, but I can drop it, for I know, C# is just C++ with a good
  library, the .net framework, but its cost is an additional layer, the
  .net runtime and its intermedia language.
 
  There are C and C++ text processing libraries.  They don't have the power
  of
  Perl or Python or other languages.  C has been around for decades and
  contributed to and worked on and used by many, MANY programmers.  These
  people have more experience than you or I and their combined experience
  is
  enormous.  If C was such a great language for doing every thing out
  there,
  and we'll use text processing as an example, why haven't these people
  released libraries that do all that Perl does already?  One answer is
  that
 
  good question, why haven't released those C libraries? I will release
  one in the future, I'm sure I'm able to replace perl by C, including
  change C a little, but changing C a little is much better than
  creating a new language like perl.
 
  When you get into writing them, I think you'll see.  Actually, it's kind of
  funny to look at this and see a young and inexperienced programmer thinking
  he's going to be able to do what many, many master programmers have never
 

Re: is it possible to install a desktop-manager without python and perl?

2009-06-23 Thread Micha Feigin
On Mon, 22 Jun 2009 12:21:22 -0400
Hal Vaughan h...@halblog.com wrote:

 
...
 
 I'm being blunt, but, honestly, I run a business on custom software  
 I've written and I can do it because I learned from those who knew  
 more than I did.  If I refused to learn from people on this and other  
 lists, I'd be an idiot and would still be wasting most of my life at  
 the keyboard.  I found one can save days, weeks, months, or even  
 years, by listening to those with experience.  You don't seem to want  
 to listen to the experience of many.


Learn from other people's errors, you don't have time to make them all yourself 
;-)

Like others said, learn whats the right tool for the job, do the jobs you feel
like and leave the others to the ones who like other jobs better. Don't forget 
to live.
Like I like to say, I'm more scared of not living than of dying. I hope you can
figure out the meaning ...
I also find that messing about in languages I know nothing about tought me also
about those I do know something about and also tought me what I don't want to
do and what I'm wasting my time on with the wrong tool
 
 That's fine, but don't come crying to us in 3-4 years when you realize  
 how much time you've wasted with such a capricious fetish.
 

I'm still claiming that the world would have been a better place if computers
hadn't been invented, or at least if user interface (cli, gui, whatever) has
never been invented, and the more I learn the more I'm convinced on that
matter ;-)

I used to be more of a purist like you but after going through, c, c++, java,
matlab, perl, fortran (yes it's still alive and kicking ...), assembly, basic,
pascal, logo, lisp and I don't know how many others I came to the concultion
that if I can save three weeks programing, let the program run a couple of days
instead of a couple of hours (assuming it needs to be run once or twice) and go
out to date my wife, mountain bike, kite surf, watch the sunset or whatever,
I'm much better of and sociaty is not the worst of it.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it possible to install a desktop-manager without python and perl?

2009-06-23 Thread Micha Feigin
On Tue, 23 Jun 2009 09:41:44 -0700
Hilco Wijbenga hilco.wijbe...@gmail.com wrote:

 2009/6/21 明覺 shi.min...@gmail.com:
  I want to keep the programs in my system all written in c/c++, no
  python or perl or any other programming languages, is it possible to
  reach it? I removed the 2 packages, python and perl, from my system,
  and of cause, I losed my desktop, is it possible to install a desktop
  manager without perl and python? which is the proper desktop manager?

By the way, there are a few window managers that don't depends on perl/python,
I double that there are any desktop managers. None of them will run without
Xorg. It's core is mostly c/c++ by the way, the others are probably mostly for
handling setup files and such.

 
 (This is in response to various comments/answers you gave, not just
 this initial email.)
 
 FYI:
 perl: C program
 python: C program
 (ba)sh: C program
 ruby: C program
 sed: C program
 awk: C program
 the list continues...
 
 And have you thought about make, m4, gcc, autotools? They all have/are
 their own language that you need to learn. gcc uses Lisp (or
 something like it) internally, are you now no longer going to use a
 compiler? No more make because it requires you to learn its language?
 How are you going to build your code?
 
 What about XML, YAML, HTML, javascript, and such? No more browser? No
 more internet? :-)

That would really free up my day, I think I'll take your offer

 
 On a different note, have you realised just how much you need to know
 before you know your whole system? Just the Linux kernel is (2.6.29)
 is 11 million SLOC. Debian 4.0 was a whopping 283 million SLOC. To
 quote some more from
 http://en.wikipedia.org/wiki/Source_lines_of_code:
 
 A similar study was later made of Debian Linux version 2.2 (also
 known as Potato); this version of Linux was originally released in
 August 2000. This study found that Debian Linux 2.2 included over 55
 million SLOC, and if developed in a conventional proprietary way would
 have required 14,005 person-years and cost $1.9 billion USD to
 develop.
 

Just wondering where that last 5 came from? ;-) possibly that's for arguing
with people why you languages other than c/c++ ...

 Are you going to live that long? Do you have that much money? (If yes
 to the latter, could you please send a few million my way?) ;-)

I would like to say to both but I would settle for the first for now, the
second I'll take care of in a few thousand years

 
 Please think this through and listen to reason before you waste your life.
 
 Cheers,
 Hilco
 
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it possible to install a desktop-manager without python and perl?

2009-06-23 Thread Micha Feigin
On Tue, 23 Jun 2009 09:22:38 +0800
明覺 shi.min...@gmail.com wrote:

 2009/6/22 Peter Crawford creature...@hotmail.com:
 
  Mon, Jun 22, 2009 at 09:17:18AM +0800, 明覺 wrote:
  I want to keep the programs in my system all written in c/c++, no
  python or perl or any other programming languages, is it possible to
  reach it?
 
  Eventually you might find DirectFB acceptable.
  http://en.wikipedia.org/wiki/DirectFB
 
  Lack of XDirectFB in Debian is a limitation for now.
 thank you, I think DirectFB is the right direction, while X window is
 a strange way for graphic system. I hope I can find a DirectFB
 implementation of window system to replace gnome.

I'm afraid that you are out of lucks as DirectFB won't help your cause either
as there are VERY few programs that support it. I think that there is a media
player, image viewer and possibly a pdf viewer, but not much more. You won't
find anything similar to gnome unless you start writing it. Most gui programs
depend explicitly on xorg calls so won't run without x windows.

You are mostly limited to the console with tcsh and try to ignore the face that
your whole startup and parts of your project management depend on sh, possibly
also perl. Some of the build procedures for you faivorite programs also
probably depend on some scripting language or other. I'm not aware of any pure
c building environment.

 
  regards,   p. crawford
 
 
  _
  We are your photos. Share us now with Windows Live Photos.
  http://go.microsoft.com/?linkid=9666047
 
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact 
  listmas...@lists.debian.org
 
 
 
 
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it possible to install a desktop-manager without python and perl?

2009-06-23 Thread Micha Feigin
On Tue, 23 Jun 2009 10:39:53 +0800
明覺 shi.min...@gmail.com wrote:

 2009/6/23 Hal Vaughan h...@halblog.com:
 
  On Jun 22, 2009, at 9:18 PM, 明覺 wrote:
 
  On Mon, Jun 22, 2009 at 10:18 PM, John Haslerjhas...@debian.org wrote:
 
  明覺 writes:
 
  yes, currently it's true, but I hope one day I will be able to take full
  control of my system, and modify them as i like, if I have those other
  language programmed softwares installed in my system, it will be hard to
  maintain for me.
 
  If learning enough of another language to do maintainence is hard for you
  you aren't much of a programmer.  Programming is not about knowing a
  language.
 
  Yes, language is just a tool, so I want to keep my tool simple and
  powerful, I do not want so many similar tools with the same functions.
 
  Boy, I didn't realize that by junior programmer you meant you were that
  inexperienced in the field.  I don't know if you realize that you've just
  basically said you are either unwilling or unable to understand the
  different reasons for different languages.
 
  EACH language is a tool, and each one is a DIFFERENT tool with a DIFFERENT
  purpose.
 I will give an example to deny your opinion - a DIFFERENT tool with a
 DIFFERENT purpose
 Sql is a language for database operation, but what microsoft doing is
 to use C# replacing sql, by linq. I don't like microsoft, but I like
 the way they developing C#, the only one language for microsoft will
 be C#, I guess. 

The only one language for microsoft is c#, oh wait, its visual basic, sorry
wait a minute it's forms for the gui, assembly in the drivers in if you start
digging you will find that half the system management is using scripts and
batch scripts of one sort or another.

 Then what's the only one language for linux? I think
 it's C/C++.

I'm afraid you are out of luck. All the init scripts are as the name sugests,
scripts (you may get away without bash but you won't get away without sh which
is basically simple bash). You probably should compile the kernel as
compilation includes scripts (assuming you don't have problems with make
files), emacs is out of the question as half of it is writen in elisp (variant
of list). Vim may be ok, don't know.

You can try dos, but the startup agian depends on batch scripts.

OSx likes objectiveC more than c++, but there is also quite a bit of apple
script and it's unix behind the scene which means perl, bash, python, etc.

 
  It is rarely a whim why a programmer picks one language over another.  There

I found that it's usually due to a whim and a bunch of buzz words. Usually it's
the program you know, but quite often this is due to you picking your initial
language to match the programming you like. I also do find that a lot of
people, esspecially windows people BTW, tend to be narrow minded and lock into
one programming language, usually it's c++ or c#. A lot of times its' the
managers who don't know anything about programing that choose the language.

  are often several, if not many reasons why one language is more appropriate
  and better for a job than another is.
 
  But there's no point in continuing any discussion.  You've made it quite
  clear you're too busy being right to care what anyone more experienced has
  to say -- unless it's what you want to hear.
 
 
 
  Hal
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.orgwith a subject
  of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 
 
 
 
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: is it possible to install a desktop-manager without python and perl?

2009-06-23 Thread Micha Feigin
On Tue, 23 Jun 2009 09:18:16 +0800
明覺 shi.min...@gmail.com wrote:

 On Mon, Jun 22, 2009 at 10:18 PM, John Haslerjhas...@debian.org wrote:
  明覺 writes:
  yes, currently it's true, but I hope one day I will be able to take full
  control of my system, and modify them as i like, if I have those other
  language programmed softwares installed in my system, it will be hard to
  maintain for me.
 
  If learning enough of another language to do maintainence is hard for you
  you aren't much of a programmer.  Programming is not about knowing a
  language.
 Yes, language is just a tool, so I want to keep my tool simple and
 powerful, I do not want so many similar tools with the same functions.

What you are saying is that you just don't want tools around.

First of all they don't have the same function (and if you'd use them you'd
know). And if you knew something you would know that c may be powerful but it
is far from simple. There are things you can do in python in one line that you
would need 100s of lines of code with c.

Don't try to kill a fly with a cannon, or to quote I don't remember who:
c is a language that has the power of assembly and the ease of use of assembly 
...


  --
  John Hasler
 
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact 
  listmas...@lists.debian.org
 
 
 
 
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What is the correct way to overide hal defaults?

2009-06-13 Thread Micha Feigin

Tom Rauchenwald wrote:

emikaadeo emikaa...@gmail.com writes:


On Sat, 13 Jun 2009 18:05:14 +0200, Tom Rauchenwald
sehnsucht.nach.unendlichk...@quantentunnel.de wrote:


Micha Feigin mi...@post.tau.ac.il writes:


I want to change the default settings for my synaptic touchpad in
X. I tried
changing
/usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi but it
keeps getting written over during upgrades. Is there a better way
to do this so
it won't get erased every time?

Put your changed file in /usr/share/hal/fdi/policy/, and it should be
used by hal and it won't be touched on upgrades.


Thanks

-tom


 The corect place for these modified files is in /etc/hal/fdi/policy/


Damn, thanks for correcting me, obviously I haven't slept enough -- I
wanted to write that path.

Tom



I tried this and it worked well with files that didn't exist but didn't work well with 
synaptic which already exists. Will try again though, thanks



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




What is the correct way to overide hal defaults?

2009-06-13 Thread Micha Feigin
I want to change the default settings for my synaptic touchpad in X. I tried
changing /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi but it
keeps getting written over during upgrades. Is there a better way to do this so
it won't get erased every time?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Second ethernet card seems to cause networking failure?

2009-06-07 Thread Micha Feigin
On Mon, 25 May 2009 08:37:33 +1200
Chris Bannister mockingb...@earthlight.co.nz wrote:

 On Fri, May 22, 2009 at 09:25:29AM -0700, Frank Miles wrote:
  I recently added a second networking card to a hardware-test PC.  This 
  elderly machine
  had been working reasonably well.  The second networking card is for eth1, 
  etc., and
  /sbin/ifconfig shows things as properly connected, with eth0 being the 
  outside interface
  and eth1 being an internal 192.168.x.x interface for some special internal 
  systems that
  have absolutely no need to communicate with the outside world, just this 
  one PC.
 
 So now you have a gateway?
 
 What firewall configuration software are you using?
 
 What is the output of cat /etc/network/interfaces
 
  The weird thing is that with normal booting configuration, pinging INet 
  addresses
  fails.  This seems to be related to the order in which the interfaces come 
  up: doing
  ifdown eth1 ; ifdown eth1 ; ifup eth0; ifup eth1
  causes pings to fail; but if eth0/eth1 are reversed (bringing up eth0 
  last), or eth1
  is simply suppressed, pinging URLs works (i.e. ping www.debian.org).
 

Sounds to me like both are setting a default gw. The last one takes precendence
so if you bring up eth0 last the default gw is set to the outside world, if you
bring eth1 last the default gw is in the local network and assuming the dns
address is not on the same subnet as eth0 requests are going through the
default gateway to eth1 which has no idea what to do with them

 Have you a local DNS server?
 
  Regrettably this last does not entirely solve things - for example, I 
  cannot do system
  updates: apt-get update fails to connect.
 
 Error? times out? unable to contact … ?
 
  Eventually, if I play around long enough (killing eth1, killing my firewall 
  - which
  hasn't changed since before adding the second NIC,...) I can do a system 
  update
  but it's not entirely clear what the critical steps were to get that 
  working.
 
 killing the firewall mmm ...
 
  I freely admit that I'm a hardware guy - I don't know much about networking.
 
 I don't know much about networking either but if I was asking this
 question I'd provide at least the config files (see above), exact error
 messages from logs (if any … if none say so.), exact messages on screen,
 (if none, say so) 
 
  Does anyone have a suggestion on where I might look to get this working 
  properly?
  Without sacrificing eth1?  Or at least some better diagnostic[s] to track 
  down
  where packets are getting lost?
 
 Of course, I'd only post to this list after I'd used apt-cache search
 network test | wc -l and saw that it shows 83 packages which fit that
 search criteria and see that there is not really anthing useful, ok
 there is ping, but you've already used that.
 
 So I'd try apt-cache search network diagnos | wc -l  ok 14, and see …
  that there is nothing very useful.
 
 We're at the mercy of the package maintainers to at least put some
 decent search terms in the descriptions and not just copy a paragraph
 off the upstream website or manpage.
 
 So I'd state I'd searched the packages and didn't really see anything
 useful.
 
 Also describe the network a bit more -DSL? Is this the first time you
 are connecting to the net with this machine etc.
 
 You may then get a response from someone who sees an anomaly with
 your setup, and might even help.
 
 But, and this is a stab in the dark, I think you have to tell the
 firewall about your new interface.
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



failure to connect usb disk (hal)

2009-05-20 Thread Micha Feigin
Lately on two machines I can't connect external usb disks.

mounting with pmount-hal works fine but from within xfce at least, the disk
shows up, but when I try to mount it from the menu (places plugin and thunar) I
get the following error:

Failed to mount 1G Removable Volume.
org.freedesktop.hal.storage.mount-removable no -- (action, result).

I think that I had this on a different machine but I'm not sure about it or how
I solved it. I believe that one of the hal files is broken, any idea on
how/what to fix?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mpirun problem

2009-05-14 Thread Micha Feigin

Dimitrios Eftaxiopoulos wrote:
I created the key by using 


ssh-keygen

but then when I try to copy the public key to the node (my laptop) by using

ssh-copy-id machine_name

I get 


ssh: connect to host machine_name port 22: Connection refused

Dimitris




You probably need to install a ssh server (look for a sshd package, I don't know 
your distro so I don't know what package to suggest)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-07 Thread Micha Feigin
On Wed, 6 May 2009 13:01:59 +
Tzafrir Cohen tzaf...@cohens.org.il wrote:

 On Sat, May 02, 2009 at 03:45:17PM +0200, Kaixi Luo wrote:
  Hello,
  I'm a new Linux user  (currently using Debian 5 testing) and I've noticed
  that the battery of my laptop used to last much longer with Windows Vista (4
  hours)  than with Debian (2.5 hours). How's that possible?I mean, Debian
  uses much less RAM (250 MB) than Vista (1 GB).
 
 Speculation:
 
 Less memory may mean more disk activity as you need more swapping and

I think he meant that debian uses less memory, not has less memory.

 have less memory to cache access to the disk. More disk activity
 probably increases the power consumption (if the disk can't rest).
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Graphics 1920x1440, monitor 1680x1050, nv 1280x1024.

2009-05-05 Thread Micha Feigin
On Tue, 5 May 2009 00:31:32 -0600
Dave Thayer debian0912423.dmtha...@recursor.net wrote:

 On Thu, Apr 30, 2009 at 08:20:36PM +0100, Nuno Magalhדes wrote:
   Yeah i came across that but i'd assume DVI to be superior (i.e. more
   recent, hence better) than VGA... Also, could the monitor's EDID be
   reporting erroneous values?
  
  I switched to VGA to give it a try, these are the results:
  
  DVI:
  # xrandr
  Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024
  default connected 1280x1024+0+0 0mm x 0mm
 1280x1024  60.0*
 1280x960   60.0
 1152x864   60.0
 1024x768   60.0
 800x60060.0 56.0
 640x48060.0
  
  RGB:
  # xrandr
  Screen 0: minimum 320 x 240, current 800 x 600, maximum 800 x 600
  default connected 800x600+0+0 0mm x 0mm
 800x60060.0*56.0
 640x48060.0
 400x30060.0 56.0
 320x24060.0
  
 
 These look like the basic VESA resolutions. I wonder if you could
 force any additional resolutions by adding custom modelines to your
 xorg.conf file. 
 
 dt
 

Any chance that it's a wide screen that has an option in the menu to either
automatically or manually adjust to a standard 3:4 resolution?

I've got a samsung syncmaster and on this particular monitor at least if I set
menu-setup-image size
to auto instead of wide (so that it gives a non-stretched screen for 3:4
resolutions) the edid comes out wrong and X doesn't recognize the high
resolutions. I don't recall what is the default behavior with this monitor
though.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Graphics 1920x1440, monitor 1680x1050, nv 1280x1024.

2009-05-05 Thread Micha Feigin
On Tue, 5 May 2009 10:54:35 +0100
Nuno Magalhães nunomagalh...@eu.ipp.pt wrote:

 Fiddling with the monitor menu i came across this:
 
 DIV
 1280x1024
 64KHz 60Hz
 

That is the current mode it is using. I don't know how to convert it into a 
modeline

 ...that'll be useful for a modeline i guess - how can i make one?
 It does have a menu for Full/4:3, i changed to 4:3., which stole
 screen-area, i now have two black stripes. Even if restarting X will
 give me the full res i don't think it's work it, but at least i'll be
 getting somewhere.
 

It should be on full. I thought that it may be the other way around.

 Also, my BIOS has nothing related to the video settings, at least not
 related to the resolution.
 
 Are there any programs (for amd64) to read the EDID?
 

At least with the nvidia driver, the nvidia-settings program can save the edid

 Looking at the log[0], i saw this:
 
 #
 (II) NV(0): Probing for EDID on I2C bus A...
 #
 (II) NV(0): I2C device DDC:E-EDID segment register registered at address 
 0x60.
 #
 (II) NV(0): I2C device DDC:ddc2 registered at address 0xA0.
 #
 (II) NV(0):   ... none found
 #
 (II) NV(0): Probing for EDID on I2C bus B...
 #
 (II) NV(0):   ... none found
 #
 (--) NV(0): CRTC 0 is currently programmed for DFP
 #
 (II) NV(0): Using DFP on CRTC 0
 #
 (--) NV(0): Panel size is 1280 x 1024
 #
 (II) NV(0): NOTE: This driver cannot reconfigure the BIOS-programmed size.
 #
 (II) NV(0): These dimensions will be used as the panel size for mode 
 validation.
 
 Does the monitor have some BIOS of its own? The panel size is
 obviously wrong, but it seems as though nv won't be able to change
 that...
 
 If 1280x1024 is all nv can do, i'll keep using it (in full mode, not
 4:3) and i guess that wraps it up as far as having nv to fallback to.
 Which list can i pester about this? I tried X's but couldn't even
 subscribe.
 
 Thanks,
 Nuno Magalhֳ£es
 
 [0] http://pastebin.com/m680093f9
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Added more memory. Not useable???

2009-05-03 Thread Micha Feigin
On Sun, 3 May 2009 08:28:44 +0300
Andrei Popescu andreimpope...@gmail.com wrote:

 On Sat,02.May.09, 15:27:26, Mark Neidorff wrote:
 
   Same thing, the kernel doesn't recognize your memory. What kernel
   flavour are you running (uname -a)?
 
  Linux mail 2.6.18-6-486 #1 Fri Dec 12 16:18:30 UTC 2008 i686 GNU/Linux
 
 Ok, I would try the -686 flavour and the -686-bigmem flavours. The 
 -bigmem flavour should not be needed unless you have *more* than 4GB 
 RAM, but it's worth experimenting with.
 

Actually if I'm not mistaken more the 2gb or 3gb (not sure about the standard
setup). Theoretically standard 32bit can address 4gb but the kernel splits that
memory space between userspace and kernel space, classically in a 2gb:2gb
split, which leaves 2gb addressable memory. It is possible to set it up in a
3gb:1gb split, but it is not standard.

Bigmem uses an extention that allows addressing more memory (I think that it's
called pxe). Another option is to use a 64bit kernel, but unless you use a
64bit userspace a few things can cause problems (most things work ok, I think
except some modules). The only problem with a 64bit userspace is more memory
consuption by programs (about 15%). Performace may also vary, depending on
typical usage.

 Regards,
 Andrei


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



stopwatch/worktime program?

2009-05-03 Thread Micha Feigin
I'm looking for some program to follow my work time on different projects,
preferably something that can plug into the xfce, or if not the gnome panel.

I'm working on different projects for different people and I need to report
work hours and it's a bit hard for me to follow the times by writing them down
as I tend to work on and off for short times during the day. I want something
like a stopwatch, preferable that would be able to keep a few of them around.
If they can later give me an history, it's even better.

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Added more memory. Not useable???

2009-05-02 Thread Micha Feigin
On Sat, 2 May 2009 10:26:45 -0400 (EDT)
m...@neidorff.com wrote:

 Hi all,
 
 My machine has been mostly updated to lenny from etch.  When etch was
 installed, I had 2 Gig of ram.
 
 I use virtualbox to run a guest OS.  I felt that the memory that I could
 allocate to the guest was insufficient (too much swapping) so I added 2
 Gig more of ram (same brand and model of ram as the original).  The memory
 is recognized at boot just fine.
 

If this is not inside your virtual machine then linux sees only 1GB of ram for
some reason. I thought that it should recognize 2 so this is strange. In any
case, if you want to use 4gb of ram you should use a 64bit kernel (amd64
kernel). Try intalling that and see if it helps. It should run with the rest of
the system running 32bit at least as a start.

 This is the contents of /proc/meminfo
 MemTotal:   906792 kB
 MemFree:349352 kB
 Buffers:101224 kB
 Cached: 203496 kB
 SwapCached:  0 kB
 Active: 203744 kB
 Inactive:   185136 kB
 HighTotal:   0 kB
 HighFree:0 kB
 LowTotal:   906792 kB
 LowFree:349352 kB
 SwapTotal: 2931820 kB
 SwapFree:  2931820 kB
 Dirty: 404 kB
 Writeback:   0 kB
 AnonPages:   84180 kB
 Mapped:  50976 kB
 Slab:   151092 kB
 PageTables:   1716 kB
 NFS_Unstable:0 kB
 Bounce:  0 kB
 CommitLimit:   3385216 kB
 Committed_AS:   218696 kB
 VmallocTotal:   122576 kB
 VmallocUsed: 47516 kB
 VmallocChunk:70344 kB
 
 As I understand what I am reading, I have (about) 1 Gig allocated as
 system memory and (about) 3 Gig allocated as swap.  How do I change this
 so that I can increase the amount of ram allocated to the virtual machine?
  I tried just increasing the allocation in the configuration of the
 virtual machine, but the virtual machine just hung.
 
 Thanks,
 
 Mark
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-02 Thread Micha Feigin
On Sat, 2 May 2009 15:45:17 +0200
Kaixi Luo kaixi...@gmail.com wrote:

 Hello,
 I'm a new Linux user  (currently using Debian 5 testing) and I've noticed
 that the battery of my laptop used to last much longer with Windows Vista (4
 hours)  than with Debian (2.5 hours). How's that possible?I mean, Debian
 uses much less RAM (250 MB) than Vista (1 GB).
 
 Also, is there anything I can do to improve my laptop battery life?
 
 Thanks,
 
 Kaixi


Some things you can improve on, such as installing laptopmode (and possibly
configuring it more or less aggresively) and using gnome-power-manager of
similar to automatically control screen brightness when disconnected and
possibly cpu throttling.

Other things are currently hard to control and appart for some tweaks that are
mostly proof of concept at the moment and will require waiting. These include
power saving on the GPU (graphics card) which needs support from the driver
writers, mostly nvidia/ati/intel. Some are better than others. Another issue is
turning off hardware such as wireless antena, bluetooth, usb, sata power
saving, etc. Some of this you can do manually either by tweaking laptop mode,
or try running powertop in a console and see what it sugests. One of the main
things is not controllable yet under linux and that is turning off pci power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: virtualbox-2.2 uninstallable on lenny/amd64?

2009-05-02 Thread Micha Feigin
worked for me with the following entry in /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian lenny non-free

Maybe the site is temporarily down (I can't seem to update from it at the
moment) or they are updating the package and didn't update whole the links yet.

On Sat, 2 May 2009 22:16:12 +1000
Adrian Levi adrian.l...@gmail.com wrote:

 When trying to install the latest virtualbox-2.2 from the virtualbox
 repo I get the following error:
 
 Cloud9:~# aptitude install virtualbox-2.2
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 The following NEW packages will be installed:
   virtualbox-2.2
 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
 Need to get 39.1MB of archives. After unpacking 80.2MB will be used.
 Writing extended state information... Done
 Err http://download.virtualbox.org lenny/non-free virtualbox-2.2
 2.2.2-46594_Debian_lenny
   302 Moved Temporarily
 E: Failed to fetch
 http://download.virtualbox.org/virtualbox/debian/pool/non-free/v/virtualbox-2.2/virtualbox-2.2_2.2.2-46594_Debian_lenny_amd64.deb:
 302 Moved Temporarily
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 
 Cloud9:~#
 
 
 And when trying to download the package from the virtualbox website I
 get redirected to a page with a single full stop.
 
 http://download.virtualbox.org/virtualbox/2.2.2/virtualbox-2.2_2.2.2-46594_Debian_lenny_amd64.deb
 
 Are others experiencing this as well?
 Has anyone come across a solution?
 
 Adrian
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Nvidia driver and second screen

2009-04-29 Thread Micha Feigin
On Wed, 29 Apr 2009 23:01:18 +0200
Sjoerd Hardeman sjo...@lorentz.leidenuniv.nl wrote:

 Hi list,
 
 I found out that second displays are no longer detected with the closed
 source nvidia driver. Neither nvidia's nvidia-settings tool, nor xrandr
 shows the second display. Also entering some monitor info directly into
 xorg.conf hasn't solved my issues. Using the open source nv driver
 works, but the video performance is then rather slow.
 I tried the newest driver directly from nvidia, to no avail. Has anybody
 else had similar problems? I filed a bug report at nvidia, but maybe
 somebody on this list can help me too.
 
 Sjoerd
 

I'm not having any trouble, but as a start, what hardware (video card, laptop
or desktop) and what driver from nvidia? Also just for the sake of
completeness, what kernel?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: virtualbox and usb devices

2009-04-25 Thread Micha Feigin
On Sat, 25 Apr 2009 10:33:04 +0200
Magnus Pedersen bofhena...@gmail.com wrote:

 Micha Feigin wrote:
  I've installed virtualbox from 
  http://download.virtualbox.org/virtualbox/debian
  on my debian unstable. I'm trying to connect a usb device to that machine (a
  usb camera at the moment). It appears under devices-usb devices-camera 
  0100
  but it is grayed out and I can't mark it.
  
  I tried adding write permissions to /proc/bus/usb, /dev/bus/usb and 
  /dev/*usb*
  but it doesn't seem to help.
  
  Any idea on how to make usb work?
  
  Thanks
  
  
 I had some troubles with that as well, as I remember I discovered there 
 was a right order to do the steps in. You might have tried this 
 already, but are the permessions in /proc/bus/usd rw before you start 
 virtualbox?
 
 /Magnus
 
 

Tried that but it didn't seem to work. I finally found a solution on an ubuntu
forum, seems a bit dirty to but it works.

1. Add a groups usbfs and add the user to that group
2. Add the following line to fstab
none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0
where 1001 is the gid of usbfs


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



virtualbox and usb devices

2009-04-24 Thread Micha Feigin
I've installed virtualbox from http://download.virtualbox.org/virtualbox/debian
on my debian unstable. I'm trying to connect a usb device to that machine (a
usb camera at the moment). It appears under devices-usb devices-camera 0100
but it is grayed out and I can't mark it.

I tried adding write permissions to /proc/bus/usb, /dev/bus/usb and /dev/*usb*
but it doesn't seem to help.

Any idea on how to make usb work?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: screen shaking with analog lcd connection

2009-04-18 Thread Micha Feigin
On Sat, 18 Apr 2009 08:44:25 +0300
Andrei Popescu andreimpope...@gmail.com wrote:

 On Sat,18.Apr.09, 01:30:59, Hashimoto wrote:
  Hello guys,
  
  I'm used to connect my laptop to my LCD monitor, and using the analog
  connection because it's the only way to do that. But I realized that the
  screen shake a lot mainly to watch a movie.
 
 I'm not sure what you mean by shaking, but here are a few things to 
 try:
 
 - try different resolutions, especially if you didn't let Xorg choose 
   the resolution
 - use a different cable (preferably shorter if you use a very long 
   cable)
 - use the same power outlet for both devices
 - use a different power outlet
 - disconnect the power to the laptop (to force it to use the battery) 
   and if possible connect also the LCD monitor via a UPS
 
 Regards,
 Andrei

Also try taking it to another room and connecting it there, sometime there is
electric interference. If it works check what electronic devices you have near
the monitor that can interfere.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: any software for 3D surfaces visualization in debian sid?

2009-04-18 Thread Micha Feigin
On Sat, 18 Apr 2009 12:09:52 -0400
Kamaraju S Kusumanchi raju.mailingli...@gmail.com wrote:

 Star Liu wrote:
 
  I'm looking for a free software which can draw 3D picture if I setup
  mathmetical equations and specify its scope, it's an important part of
  my current project. thanks!
  
 
 Check out open DX (open source), tecplot (commercial) as well.
 
 raju

octave (a matlab clone, mostly compatible in syntax)
scilib (similar in idea but different syntax)
I think that gnuplot should also be relevant.

for drawing from within a c/c++/fortran program look at plplot and possibly 
mathgl


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Versioning control

2009-04-17 Thread Micha Feigin
On Thu, 16 Apr 2009 20:05:27 +
Tzafrir Cohen tzaf...@cohens.org.il wrote:

 On Thu, Apr 16, 2009 at 09:45:03PM +0200, Jesús M. Navarro wrote:
 
  Section 1.2 of the CVS manual is very enlighting:
  
  1.2 What is CVS not? 
  CVS can do a lot of things for you, but it does not try to be everything 
  for 
  everyone.
 
 SVN is a better CVS. It works at the project level rather than at a
 single file level. And thus can detect such a conflict (if the user pays
 attention at 'svn update' time) as I mentioned before.
 

It stores changes at the project level instead of the file level, but I doubt
that it can detect conflicts that cvs can't, esspecially api conflicts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Versioning control

2009-04-15 Thread Micha Feigin
On Wed, 15 Apr 2009 10:22:00 +0200
Adrian Chapela achapela.rexist...@gmail.com wrote:

 Hello,
 
 I am preparing a versioning control. In my environment some of the 
 clients are Windows PC. I have implemented the next Subversion + 
 TortoiseSVN (for windows clients) + Eventum (for bug control, etc.). All 
 work very well but I have a problem that I think it won't be resolved 
 with any Versioning control.
 
 The problem is the next.
 
 User1 modifies file1 and file2.
 User2 modifies file3 and file4.
 file1, file2, file3 and file4 belong to the same repo.
 
 User2 has removed a function from file3 which is used by file1.
 User2 has tested all of his changes and all of them work well.
 User1 has tested all of his changes and all of them work well.
 User1 commits all of changes.
 User2 commits all of changes.
 
 Now the copy on the repo is bad, because the User1 is using a function 
 which isn't on the file3 commited by the User2. Is there any way to 
 advice User1 that some other files are changed by another user ? I know 
 that the User1 should update his working copy before commit their 
 changes but theres is another situation which end in a problem.
 
 After changes:
 User1 updates his working copy.
 User1 tests his changes. All work OK.
 User2 updates his working copy.
 User2 tests his changes. All work OK.
 Then User2 commits his changes at the same time that User1.
 Subversion will accept the changes because all of them are of different 
 files. Then the commited code are wrong because the file1 is using a 
 function which isn't in file3 now.
 
 Do you have any idea to solve this ?
 

Use a policy that you have to pull changes before commit and thus each user can
commit only after the last pull checked out ok and the pull after that pulls
nothing (no changes since the last change). Other than that you should possibly
setup work queues and assign tasks that don't everlap and also allow users to
know what others are doing.

Another option is not the remove functions  immediatly (esspecially external
interfaces) but deprecate them first which would throw a warning that
interfaces are going to change.

 Regards.
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Setting EmulateWheel with hal (new X model in sid)

2009-04-14 Thread Micha Feigin
I'm trying to restore my X settings with the move to X 7.4 in sid which
requires moving keyboard and mouse settings to hal settings. I tried creating a
file under

/usr/share/hal/fdi/policy/20thirdparty

that contains

?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.mouse
  merge key=input.x11_options.EmulateWheel type=stringon/merge
  merge key=input.x11_options.EmulateWheelButton type=integer2/merge
  merge key=input.x11_options.EmulateWheelTimeOut 
type=integer300/merge
  merge key=input.x11_options.XAxisMapping type=integer6 7/merge
  merge key=input.x11_options.YAxisMapping type=integer4 5/merge
  merge key=input.x11_options.Buttons type=integer7/merge
  merge key=input.x11_options.HWHEELRelativeAxisButtons type=integer7 
6/merge
  merge key=input.x11_options.ZAxisMapping type=integer4 5/merge
/match
  /device
/deviceinfo

But it doesn't seem to have any effect
any ideas on how to get this to work ? (this is for the trackpoint on the
thinkpads to allow it to scroll using the middle mouse button like under
windows)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



CircularScrolling stopped working with X 7.4

2009-04-14 Thread Micha Feigin
I'm migrating my settings from xorg.conf to hal due to the move to X 7.4.
Setting up vertical scrolling and circular scrolling seems to work except that
it is activated using all edges which is really annoying. I tried setting 

merge key=input.x11_options.CircScrollTrigger 
type=integer2/merge

in

/usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi

but it disables the touchpad altogether (as does any other value I give
CircScrollTrigger). Any idea on how to set it?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SOLVED] Re: Setting EmulateWheel with hal (new X model in sid)

2009-04-14 Thread Micha Feigin
On Tue, 14 Apr 2009 22:36:43 +0300
Micha Feigin mi...@post.tau.ac.il wrote:

 I'm trying to restore my X settings with the move to X 7.4 in sid which
 requires moving keyboard and mouse settings to hal settings. I tried creating 
 a
 file under
 
 /usr/share/hal/fdi/policy/20thirdparty
 
 that contains
 
 ?xml version=1.0 encoding=ISO-8859-1?
 deviceinfo version=0.2
   device
 match key=info.capabilities contains=input.mouse
   merge key=input.x11_options.EmulateWheel type=stringon/merge
   merge key=input.x11_options.EmulateWheelButton 
 type=integer2/merge
   merge key=input.x11_options.EmulateWheelTimeOut 
 type=integer300/merge
   merge key=input.x11_options.XAxisMapping type=integer6 7/merge
   merge key=input.x11_options.YAxisMapping type=integer4 5/merge
   merge key=input.x11_options.Buttons type=integer7/merge
   merge key=input.x11_options.HWHEELRelativeAxisButtons 
 type=integer7 6/merge
   merge key=input.x11_options.ZAxisMapping type=integer4 5/merge
 /match
   /device
 /deviceinfo
 
 But it doesn't seem to have any effect
 any ideas on how to get this to work ? (this is for the trackpoint on the
 thinkpads to allow it to scroll using the middle mouse button like under
 windows)
 
 

Turns out that hal settings only accept type=string and anything else causes
things to fail


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SOLVED] Re: CircularScrolling stopped working with X 7.4

2009-04-14 Thread Micha Feigin
On Tue, 14 Apr 2009 22:43:06 +0300
Micha Feigin mi...@post.tau.ac.il wrote:

 I'm migrating my settings from xorg.conf to hal due to the move to X 7.4.
 Setting up vertical scrolling and circular scrolling seems to work except that
 it is activated using all edges which is really annoying. I tried setting 
 
 merge key=input.x11_options.CircScrollTrigger 
 type=integer2/merge
 
 in
 
 /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi
 
 but it disables the touchpad altogether (as does any other value I give
 CircScrollTrigger). Any idea on how to set it?
 
 Thanks
 
 

Turns out that hal settings only accept type=string and anything else causes
things to fail so it needed

merge key=input.x11_options.CircScrollTrigger type=string2/merge


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: HOWTO run xorg without hal

2009-04-14 Thread Micha Feigin
On Tue, 14 Apr 2009 17:01:01 +0200
Dirk noi...@gmx.net wrote:

 Thorny wrote:
  On Tue, 14 Apr 2009 16:22:59 +0200, Dirk posted:
  
  Randy Kramer wrote:
  On Tuesday 14 April 2009 05:49:48 am Dirk wrote:
  some true asshole decreased linux' value as an alternative to windows
  by making hal a dependency(!) of xorg now...
  Just for clarification, is this in Debian stable or test?
 
  Randy Kramer
  unstable.. if it was already in stable i wouldn't bother complaining here
  because it would be too late...
  
  Well, complaining here will probably not do much for you either, even
  though you have now identified your version. You might want to try a
  developers list rather than a users one. Of course, they might not like
  the way you explain your complaint.
  
  
  
 
 well this post was a complaint wrapped in a howto for avoiding hal 
 because i thought that was important...
 
 but i posted in debia...@lists.debian.org too.. just for the case the 
 package maintainers don't know what they do when they compile xorg with 
 an installed hal-devel...
 
 


They know exactly what they do, and it's been in experimental for testing for a
long time now. The whole idea is to allow hot plugging devices such as mice,
printers etc. If you look in 
/usr/share/hal/fdi/policy/
there are even quite a lot of rules already set up. for most cases and people
it is now possible to run X with a (nearly) empty xorg.conf and things just
work.
and as you mentioned it is still possible to disable it


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Deploy job management system software such as PBS, LSF on Debian cluster.

2009-04-09 Thread Micha Feigin
On Wed, 8 Apr 2009 18:01:11 +0800
hongyi.z...@gmail.com wrote:

 On Wednesday, April 8, 2009 at 13:48, jsp...@sun.ac.za wrote:
  On Tue, Apr 07, 2009 at 10:52:50PM +0800, hongyi.z...@gmail.com wrote:
 
  I've setup a Debian cluster to construct a HPC workstation.  Now, I
  want to install one of the job management system softwares, such as
  PBS, LSF, or some others.
 
  
  But I'm a newbie on do this job.  Who can give me some hints on the 
  following issues:
 
  
  1- Which job management system software should I use for my case?
 
  I wouldn't know. I am managing a OpenSuse hpc-cluster which uses
  sun-gridengine and it seems to do the job efficiently.  I see there
  are Debian Packages for it (aptitude search gridengine).
 
 In my case, I want to use this cluster to run CASTEP.  The official of
 it has asserted that the job management system should be pbs or lsf.
 

Personally I installed torque + maui from source (which are free) from
http://www.clusterresources.com/pages/products.php

There seems to be a package of torque for debian lenny at
http://debian.physik.hu-berlin.de/
direct link:
http://debian.physik.hu-berlin.de/addons/dists/lenny/experimental/binary-amd64/

Have a look at this for building a Maui package
http://www.mail-archive.com/mauius...@supercluster.org/msg00438.html

I seem to recall that I followed some tutorial but I can't find it at the 
moment, maybe tomorrow on my cluster


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: acroread issue

2009-04-02 Thread Micha Feigin
On Thu, 2 Apr 2009 07:56:02 +0100
Brad Rogers b...@fineby.me.uk wrote:

 On Wed, 01 Apr 2009 09:26:06 +0800
 Jerome BENOIT ml.jgmben...@mailsnare.net wrote:
 
 Hello Jerome,
 
  acroread-debian-files 0.0.32
 
 Hasn't fixed the problem for me.  Weirder still.
 

Check the acrobat version. Not sure if it's in experimental but appranly 
acroread-data
is available in two versions 9.1.0-0.1 (which doesn't work since acroread is
not available at that version) and 8.1.4-0.0 (this is for amd64, it seems that
acroread is available at version 9.1.0-0.1 for i386). You need to install
acroread-data and acroread at the same version (8 as 9 is not fully available).
I had to download the package manually from the site though as it was not in
aptitude.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: acroread, ERROR: Cannot find installation directory.

2009-04-02 Thread Micha Feigin
On Thu, 02 Apr 2009 11:07:10 -0400
H.S. hs.sa...@gmail.com wrote:

 Hello,
 
 Since last few days at least, I am getting this error when I try to
 start acroread:
 
 $ acroread
 ERROR: Cannot find installation directory.
 
 
 This is on Debian Testing, fully updated, and acroread 8.1.3-0.0. I have
 taken a look at the other current thread on acroread, I am sure if this
 is the same problem or even related.
 
 I have tried removing .acroread, that made no difference.
 
 Anybody know what is going on?
 
 Thanks.

Same problem,

I didn't test the option in the thread of changing reader version to match, but
make sure that acroread and acroread-data are the same version and that
acroread-debian-whatever is version 0.32. should solve the problem


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: acroread issue

2009-04-01 Thread Micha Feigin
On Wed, 01 Apr 2009 09:26:06 +0800
Jerome BENOIT ml.jgmben...@mailsnare.net wrote:

 Hello,
 
 I have the same issue yesterday on my Lenny amd64 (64bits kernel) box:

Same for me

 the issue was solved with the package
 
 acroread-debian-files 0.0.32
 

It was solved for me by going to the debian multimedia site and downgrading
manually acroread-data from 9.1.0-0.0 to 8.1.4-0.0

 hth,
 Jerome
 
 Marcelo Chiapparini wrote:
  Hello,
  
  I have just installed acroread for lenny (32 bits) from
  debian-multimedia.org. But I can't run it:
  
  marc...@yggdrasill:~$ acroread
  /usr/bin/acroread: line 95: /usr/lib/Adobe/Reader8/bin/acroread-en: No
  such file or directory
  /usr/bin/acroread: line 95: exec:
  /usr/lib/Adobe/Reader8/bin/acroread-en: cannot execute: No such file
  or directory
  
  Anybody has the same problem? any help will be very welcome.
  
  Regards
  
  Marcelo
  
  
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: acroread issue

2009-04-01 Thread Micha Feigin
On Thu, 2 Apr 2009 08:12:25 +1100
Alex Samad a...@samad.com.au wrote:

 On Wed, Apr 01, 2009 at 08:10:02AM -0300, Marcelo Chiapparini wrote:
  Hello Jerome,
  
  I installed acroread-debian-files 0.0.32 from debian-multimedia.org,
  and now acroread is working. Many thanks!
 
 any reason not to use evince ?

It doesn't behave well with a lot of documents, it's search capability is much
weaker, if I'm not mistaken it doesn't allow to fill in forms, the full
screen/rotated view is much stronger in acrobat, and once it's up and running
it's much faster with complex documents.

 
  
  Regards
  
  Marcelo
  
  Marcelo Chiapparini
  http://sites.google.com/site/marcelochiapparini
  
 
 [snip]
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[offtopic] screen capture using opengl

2009-03-30 Thread Micha Feigin
Sorry for being off topic, I'll be happy if someone can point me at the right
location to ask this.

I'm trying to figure out how to capture the screen using opengl. I tried
glReadPixels but if I understand correctly it is reading from the current
opengl context (the visible part of the current opengl window) and not the full
screen. Is there a way to make the current opengl context the full screen
instead of an opengl window, or is there another way to do this?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [offtopic] screen capture using opengl

2009-03-30 Thread Micha Feigin
On Mon, 30 Mar 2009 10:59:42 -0500
Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote:

 In 20090330125126.28021...@vivalunalitshi.luna.local, Micha Feigin wrote:
 I'm trying to figure out how to capture the screen using opengl. I tried
 glReadPixels but if I understand correctly it is reading from the current
 opengl context (the visible part of the current opengl window) and not the
  full screen. Is there a way to make the current opengl context the full
  screen instead of an opengl window, or is there another way to do this?
 
 I've only got a passing familiarity with OpenGL, but I'll guess...
 
 If you are doing a screen capture via OpenGL, you'll probably want to create 
 your own context (with direct GLX calls), rather than using the one provided 
 by your widgets API (Qt/Gtk).  You will probably need to base it off of the 
 root window.

Thanks, for some reason that gave me the right search words for google, found a
currently working solution using glx under linux (will still need to find a
matching version for windows). If anyone is interested or can tell me if what
I'm doing is the most efficient way for this, or much more importantly, how do
I trasnlate this code to copy the data into a PBO (pixel buffer object if I'm
not mistaken) then here is the code (without the error checking for clarity)

Display *dpy = XOpenDisplay(NULL);
Window root = DefaultRootWindow(dpy);
GLint att[] = {GLX_RGBA, None};
XVisualInfo *vis = glXChooseVisual(dpy, 0, att);
GLXContext glc = glXCreateContext(dpy, vis, NULL, true);
glXMakeCurrent(dpy, root, glc);

glReadBuffer(GL_FRONT);

unsigned char *data = new unsigned char[WIDTH*HEIGHT*3];
glReadPixels (0, 0, WIDTH, HEIGHT, GL_RGB, GL_UNSIGNED_BYTE, data);


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: VirtualBox on lenny

2009-03-21 Thread Micha Feigin
On Sat, 21 Mar 2009 11:49:26 +0200
Andrei Popescu andreimpope...@gmail.com wrote:

 On Tue,24.Feb.09, 06:12:14, Micha Feigin wrote:
  
  I tried installing that but for some reason after running windows in a box
  (which seems to be running rather nicely in initial tests) the color 
  settings
  are messed up. Opening lyx for example, it runs using 4 colors and a messed 
  up
  pallet. opening windows again makes it run with weird colors when in focus 
  and
  correct colors when not in focus.
 
 I know this is one month old, but, just in case you didn't figure it 
 out, did you install the Guest Additions?
 

Installed it, of course. It seems solved now (not due to guest additions), not
too heavily tested though, but it may have been a graphics driver issue.

 Regards,
 Andrei


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 64 vs 32 lenny

2009-03-20 Thread Micha Feigin
On Fri, 20 Mar 2009 18:54:58 -0500
Mark Allums m...@allums.com wrote:

 Mark Allums wrote:
  prad wrote:
  i've recently returned to debian on a amd64 3400+ machine with 1G ram
  in it.
 
  i am running the 32bit version of lenny.
 
  would there be benefits to use 64bit lenny instead?
 
  in the archives, i found posts suggesting there is no benefit unless
  you are using 64-bit apps that require extra processing power like
  number-crunching.
  
  64-bit is the future.  Everyone will run it eventually.  Except older 
  computers and possibly embedded processors, such the ones that power 
  .mp3 players and the like.  ARM, Coldfire, SH-1, and so on.
  
  Right now, there is no hurry to move from 32- to 64-bit, especially if 
  your machine has 4 GB or less.  Or you need the 64-bit architechture 
  itself, for the extra registers, whatnot.  Some number-crunching 
  applications can benefit from it.
  
  A downside is 64-bits not only allows more memory, it requires it. 
  64-bit pointers vs. 32-bit pointers.  Excuse me, *addresses*.
  
  I recommend 64-bits for new installs, but for existing setups, there is 
  no need to update, unless you have specific needs.
  
  Mark Allums
 
 
 Oops, make that *3* GB or less.  The PC architecture allows more, but 
 while 4 GB fits into 32-bits, the video card and other hardware is 
 memory-mapped into the upper GB, so the 4th GB of physical memory must 
 be remapped above the 4 GB line.  In theory, with PAE segments you can 
 address that memory with a 32-bit OS, but in practice, 64-bit is required.
 

It's not so much the video card any more (used to be that the video card was
mapped into this space but it was a long time ago in the days of far pointers
and memory size less than single digit megabytes).

It's the kernel memory that is mapped there. By default the application has a
four giga memory space under 32bit, two of which are actually used by the
application and two for kernel mode. This is used to reduce overhead during
context switching between usermode and kernel mode.

You actually need a patch to change this to a 1:3 ratio instead of a 2:2 ratio.

The standard recomendation in this case is to use amd64 for memory  2gb. Like
you said, theoretically it is possible to solve this differently but it is very
inefficient

As for other the advantages and disadvantages

1. amd64 has more registers, mostly useful for sse instructions and thus can
benefit number crunching applications
2. on the other hand it uses 64 bit pointers (addresses) and thus usually uses
about 30% more memory than 32bit applications. This means more pages and thus
less spatial coherence which results with less cache coherence, actually
hurting performance.

So unless you do a lot of sse based number crunching or have more than 2gb ram
you are still better off using i386 over amd64 for regular desktop usage 9
times out of 10 at least

BTW, you can always install a amd64 kernel with i386 userspace to access more
than 2gb for the system (although single applications will still only be able
to use 2gb each).

As for applications, the only one I'm missing at the moment is a 64bit version
of skype (you can still run the static version), most everything else has 64
bit versions I believe (at least things I use)

 Mark Allums
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 64 vs 32 lenny

2009-03-20 Thread Micha Feigin
On Fri, 20 Mar 2009 23:08:03 -0400
Stefan Monnier monn...@iro.umontreal.ca wrote:

  In theory, with PAE segments you can address that memory with a 32-bit
  OS, but in practice, 64-bit is required.
 
 Actually, practice suggests otherwise:
 
% uname -a
Linux pastel 2.6.28-1-686-bigmem #1 SMP Mon Feb 23 04:05:37 UTC 2009 i686 
 GNU/Linux
% free
 total   used   free sharedbuffers cached
Mem:   41481604018720 129440  0  414283293968
-/+ buffers/cache: 6833243464836
Swap:  2097144 3612921735852
% 
 
 so I can use all of my 4GB (except for 46MB eaten by the kernel) with my
 32bit OS.  This running a stock Debian kernel.
 

It's a different approach taken than the 1:3 gb split. You are paying a
performance penalty for accessing the higher part of the memory as it requires
trickery and you will probably see a gain by using a amd64 kernel (you can keep
the 32bit userspace)

 
 -- Stefan
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: any software for 3D surfaces visualization in debian sid?

2009-03-15 Thread Micha Feigin
On Sun, 15 Mar 2009 21:31:20 +0800
Star Liu minxinjian...@gmail.com wrote:

 I'm looking for a free software which can draw 3D picture if I setup
 mathmetical equations and specify its scope, it's an important part of
 my current project. thanks!
 

scilab and octave?
I think that currently octave is better maintained (used to be the oposite) and
is a partial comaptible open source replacement of matlab.

At lest at the time though the image processing capabilities of scilab were 
better
(didn't use either lately, unfortunately they are no replacement for the real 
matlab
and some fortran work for the things I do)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



changing headers/footers in sections in oowriter

2009-03-08 Thread Micha Feigin
How do I change the headers footers between sections in oowriter? Tried to
google but only found hints. I remember that in word you just insert-section
break and then right click on the header footer to tell it not to link to the
previous one. Couldn't find anything similar on oowriter.

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what's the difference and superior between gtk+ and gecko?

2009-03-04 Thread Micha Feigin
On Wed, 4 Mar 2009 17:04:28 +0800
Star Liu minxinjian...@gmail.com wrote:

 I want to develop a cross-platform desktop software by open source
 platform and develop tools. I'm also a web developer so I'm interested
 in gecko, and know that gecko is also able to build desktop
 applications by XUL, not only display html files. But it seems gtk+ is
 the more normal way to develop desktop applications, then what's the
 superior of the two methods? thanks.
 
 

gtk+ is not ideal for cross platform because unless things changes it's not in
great shape under windows.

You have a few dedicated cross platform toolkits that are application oriented

My personal favorite is wxWidgets. Very mature, has a large support base and
the main developers earn a living from in (support contracts, not the code) so
they have a motivation to keep it  going (it's not just dependent on whomever
comes along). It uses the lgpl license so it's free to link against and
distribute also in commercial apps (there are als a few commercial that use
it). It's main advantage is that is uses the local GUI on each platform
(windows, mac, gtk on linux, windows ce, I think also a few more).  The
codeblocks ide is built with it and audacity.

http://www.wxwidgets.org/

There is also qt, if things haven't changes it has either a gpl lisence that
you don't pay for or a commercial license if you want to sell the software.
Alos very mature and stable. It draws it's own widgets so you get the same
appearance on all platforms.

There are a few others also, fox toolkit and fltk are a couple I remember (look
at http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



  1   2   3   4   5   6   7   8   9   10   >