Re: Configuring Hebrew keyboard in KDE desktop
On Tuesday May 22 2007, You wrote: > System: a PC with vanilla Debian Etch installation, with Gnome 2.14.3.6 > and KDE 3.5.5 (package version 5:47). > > In Gnome, the Hebrew keyboard is properly configured, including LED to > indicate which keyboard is active (Latin or Hebrew). > > However, I was not successful in doing the same in KDE. When I log into > KDE desktop and use the KDE keyboard tool (Kxkb), I can configure Latin > +Hebrew keyboard layouts, and switch between them when clicking on > Kxkb's icon in the system tray (a flag). But I was not successful in > getting it to recognize the Left Shift + Right Shift key combination, > which I use to switch between layouts. Neither was I successful in > getting the Scroll Lock LED to indicate the current keyboard layout. > Both options exist in the Kxkb configure tab "Xkb Options". The "Enable > xkb options" checkbox is checked. > > Any advice about getting KDE to support Hebrew as well as Gnome? I believe we had this question answered here, by Yours truly, at least twice, with configs and everything. Search the archives, and mail me if you want. -- Sincerely Yours, Michael Vasiliev "If in physics there's something you don't understand, you can always hide behind the uncharted depths of nature. You can always blame God. You didn't make it so complex yourself. But if your program doesn't work, there is no one to hide behind. You cannot hide behind an obstinate nature. If it doesn't work, you've messed up." -- Attributed to Edsger Wybe Dijkstra = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Connectiong to "Smile Internet zahav"
Hi all, I just installed Fedora core 6. Currently I am connected to the intenet via cables (Hot) to "Smile internet zahav". Untill now I could not establish the connection from my Fedora installation. Can you help me and send me instruction how to accomplish this task? Thanks in advanced, Yaron Kahanovitch = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Communicating with google talk voice
Hi, Ok, did a little more digging. More info about Google Talk from Google themselves: http://code.google.com/apis/talk/open_communication.html An article on voip-info.org, the place to go for info on Asterisk and VOIP in general, says that support for Google Talk is available in the 1.4.x branch of Asterisk. http://www.voip-info.org/wiki/view/Asterisk+Speaks+with+Google+Talk A more detailed article at http://www.voip-info.org/wiki/view/Asterisk+Google+Talk Since Asterisk is a fully blown software PBX, installing it just to get this working may be overkill for you. You may be able to hang a Linux client off a pre-existing Asterisk setup that will do the interconnect for you. Also, the second article sited above suggests that only ULAW/ALAW works right now, so if you need something lower than 64kbps, this may not be the way to go for you. This thread on the Ubuntu forums suggests some other alternatives, with mixed results. http://ubuntuforums.org/showthread.php?p=2660687 http://www.gtalk2voip.com claim to offer interconnects between Google Talk, Windows Live Messenger, Yahoo Instant Messenger and SIP phones free of charge. They also offer many other free and pay services. This could well solve your problem pretty easily. They also mention some web thing which I didn't look at. Ok, so that's enough tralling through Google search results. That should give you enough to go on with, or at least to generate a whole host of new questions. :) Geoff. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Communicating with google talk voice
Hi, I don't know much about Google Talk, but a few things come to mind that I vaguely recall reading * I thought I read something today that suggested that Google Talk was SIP compatible. If this is true, you should be able to use any SIP client to talk to it. * I see that DID World Wide (http://www.didww.com) offers terminations to Google Talk. I know they use Asterisk for their IAX2 terminations, so maybe they use it for Google Talk as well. I also heard through a friend that OpenPBX (a fork of Asterisk) has Google Talk support. Note that I've not ever looked at Google Talk and have not done any research prior to this Email. I may well go off and do some. As for other Win<>Lin solutions, I've had a couple of successes. OpenPhone from the Open H323 project (http://www.openh323.org) has worked well for me. You need to forward port 1720 and 50xx through if you're behind a NAT/firewall, and if you're behind a NAT you also need to specify the public IP address so that the packets have the correct reply address. Other thoughts: * You could use a SIP client at either end. There are numerous ones for both operating systems now. * I believe VoXaLot (http://www.voxalot.com ?) have some kind of web app which allows you to talk to SIP (?) devices without having one yourself. I've not looked into this however. * I understand that you can get Skype for Linux now, but my two attempts at installing it left me with a lot of headaches while trying to satisfy all the dependencies. * and if you really only need something simple, you can always use Speak Freely. With all these solutions, you can run into a little trouble with codecs. If you can stick to things which aren't too proprietory, such as ULAW/ALAW (64kbps) or Speex (8-40+kbps) then you should be OK. Even GSM shouldn't be too much trouble. Codecs like G729, G726 and G723 will cause some problems. Hope this helps. Feel free to ask further questions. Perhaps give us some idea of your particular requirements. Geoff. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
RE: multithread problem
Hi Guy, thanks for your reply. I should have debugged this better, indeed I found the racy condition. I should happen in a most rare and extreme case, but since it did, it required it's treatment and solution. Now problem is solved and everything works appropriately. Thanks, Rafi. -Original Message- From: guy keren [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 1:49 PM To: Rafi Cohen Cc: [EMAIL PROTECTED] Org. Il Subject: Re: multithread problem Rafi Cohen wrote: > Hi, I'm asking for further assistance for yet another problem I > encounter with my project, this time concerning multithreads. > In order to explain my problem, I'll write a short example: > main: > pthread_mutex_lock(&mut); > flag = 0; > pthread_cond_broadcast(&cond); > printf("after signal: flag=%d\n", flag); > pthread_mutex_unlock(&mut); > > thread: > pthread_mutex_lock(&mut); > while (flag) > { > pthread_cond_wait(&cond, &mut); > printf("after wait: flag=%d\n", flag); > } > pthread_mutex_unlock(&mut); this code looks ok. > Now, after signal I indeed see that flag is 0. > Flag is assigned 1 in 2 other places in main, in both cases surrounded > by lock and unlock of the same mutex. this sounds bad. > Wha happens, that after wait, flag is still 1 and the thread is stuck in > the loop, and I feel helpless. when the main thread has set flag to 0, sent a broadcast and unlocked the mutex, you are not guranteed which of the threads waiting on this mutex will wake up first and acquire the mutex. it could be that main's code continues running, locks the mutex again and set flag to 1. all this shows you've got a bad design. for instance - why does 'main' set the flag to 1? this is racy. what is te purpose of this flag? what are you trying to accomplish? --guy -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.6/813 - Release Date: 5/20/2007 7:54 AM = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Configuring Hebrew keyboard in KDE desktop
System: a PC with vanilla Debian Etch installation, with Gnome 2.14.3.6 and KDE 3.5.5 (package version 5:47). In Gnome, the Hebrew keyboard is properly configured, including LED to indicate which keyboard is active (Latin or Hebrew). However, I was not successful in doing the same in KDE. When I log into KDE desktop and use the KDE keyboard tool (Kxkb), I can configure Latin +Hebrew keyboard layouts, and switch between them when clicking on Kxkb's icon in the system tray (a flag). But I was not successful in getting it to recognize the Left Shift + Right Shift key combination, which I use to switch between layouts. Neither was I successful in getting the Scroll Lock LED to indicate the current keyboard layout. Both options exist in the Kxkb configure tab "Xkb Options". The "Enable xkb options" checkbox is checked. Any advice about getting KDE to support Hebrew as well as Gnome? Thanks, --- Omer -- In civilized societies, captions are as important in movies as soundtracks, professional photography and expert editing. My own blog is at http://tddpirate.livejournal.com/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Fwd: "spontaneous" umount
There is no binary. I also looked in all the usual places for an "unofficial" RPM that might exist, but no luck. On Tuesday 22 May 2007 10:48, Noam Meltzer wrote: > what error do you get when you run it? > if you can find the "stap" binary, it is most likely that all you are > missing afterwards is the kernel debug package. > > On 5/22/07, Shlomo Solomon <[EMAIL PROTECTED]> wrote: > > Sorry not to have answered earlier, but I've had a busy week at work and > > barely had time to look at my computer at home. > > > > In any case, as far as I can see, Mandriva does not support SystemTap, so > > I > > guess I'm back where I started. > > > > On Tuesday 22 May 2007 00:35, Noam Meltzer wrote: > > > any luck? > > > > > > -- Forwarded message -- > > > From: Noam Meltzer <[EMAIL PROTECTED]> > > > Date: May 18, 2007 9:59 PM > > > Subject: Re: "spontaneous" umount > > > To: [EMAIL PROTECTED] > > > Cc: linux-il@cs.huji.ac.il > > > > > > Hi, > > > Basically 'mounts' just don't disappear. So, the only possible > > > > explanation > > > > > is that some task on your machine umounts your partitions. > > > Now, for the question "what?", I find it just the right time to > > > > experiment > > > > > with systemtap. (I truly hope that Mandriva 2007 already supports it) > > > > > > So, please find the attached systemtap script. It will probe for the > > > > umount > > > > > system call and will print you the pid and name of the process > > > umounting your partitions as well as the parent's. > > > See where it gets you. > > > > > > - Noam > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 > > > > > > = > > To unsubscribe, send mail to [EMAIL PROTECTED] with > > the word "unsubscribe" in the message body, e.g., run the command > > echo unsubscribe | mail [EMAIL PROTECTED] -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
[OT/2] Windows network programming - but would it work on Linux?
Hi, (this is about Windows socket programming but the question is partially related to Linux and this is the only forum I know were heavy weight network programmers lurk). At my workplace we have to do tons of DNS lookups at one stage of the data processing. I suggested to use the following method instead of gethosybyname(3) or synchronous thread-per-query: 1. create a single UDP socket. 2. have one thread shooting as many DNS queries through this socket as it can. 3. have multiple "reader" threads simply running recv(2) on the same socket and processing the replies. When our dev team tried to implement this on Windows they discovered something strange: 1. the first batch of send(2)'s runs great. 2. the replies get recv(2)'ed by the reading threads. 3. the reading threads block on the recv(2) after the last reply has arrived (which is just what I expected) 4. the first send(2) of the next batch get blocked(!). It looks like the recv(2) blocks the send(2) on the same socket. We are trying to find ways to avoid this block (any suggestions are welcome, so far dup'ing the sockets failed and having two separate sockets bound to the same port with REUSEADDR works intermittently) but I was wondering whether my suggestion makes sense in general and we are just hitting yet another Windows stupidity (and it would work on Linux, another argument in favour of Linux) or do I miss something fundamental. Thanks, --Amos
Communicating with google talk voice
I've been trying to find a solution for audio communication (ie libjingle) with google talk clients on windows. So far, no luck. I tried tapiocaui, gossip-telepathy, but nothing worked. Either installation went havoc (needed a specific version of a specific library I couldn't find) or it installed fine and didn't work. Wine reportedly don't work with recent google talk at all, not to mention supporting voice calls. Anyone had any luck with that? You know, it's funny. Google has released the code and documentation for their libjingle more than year ago, yet, no project really supports it. Any luck with any other win+lin VOIP client, with minimal installation hassle? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Fwd: "spontaneous" umount
what error do you get when you run it? if you can find the "stap" binary, it is most likely that all you are missing afterwards is the kernel debug package. On 5/22/07, Shlomo Solomon <[EMAIL PROTECTED]> wrote: Sorry not to have answered earlier, but I've had a busy week at work and barely had time to look at my computer at home. In any case, as far as I can see, Mandriva does not support SystemTap, so I guess I'm back where I started. On Tuesday 22 May 2007 00:35, Noam Meltzer wrote: > any luck? > > -- Forwarded message -- > From: Noam Meltzer <[EMAIL PROTECTED]> > Date: May 18, 2007 9:59 PM > Subject: Re: "spontaneous" umount > To: [EMAIL PROTECTED] > Cc: linux-il@cs.huji.ac.il > > Hi, > Basically 'mounts' just don't disappear. So, the only possible explanation > is that some task on your machine umounts your partitions. > Now, for the question "what?", I find it just the right time to experiment > with systemtap. (I truly hope that Mandriva 2007 already supports it) > > So, please find the attached systemtap script. It will probe for the umount > system call and will print you the pid and name of the process umounting > your partitions as well as the parent's. > See where it gets you. > > - Noam -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]