Carsten Haitzler | 1 Jul 02:38 2006

Re: [E-devel] E17 catches all keystrokes

On Fri, 30 Jun 2006 12:25:25 -0700 Eric Sandall <eric <at> sandall.us> babbled:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I recently tried to use TightVNC to connect to a Windows server box also
> running TightVNC. The account is of course locked, which requires one to
> press CTRL+ALT+Delete to log in, but e17 is catching this and asking if
> I want to log off. Perhaps e17 should check if the focused window
> catches the keystroke before assuming it is meant for e17?

it can't check this. there is no way of knowing that an app uses a particular
keycombo (as tightvnc is also likely NOT grabbing the keyboard - it's simply
passively listening for keystrokes). tightvnc should have a "trapped kbd/mouse"
mode - qemu has it. vmware has it. basically app grabs whoe keyboard when u
click in it and no wm keybinding works (no other one does too). ALL keys are
available for the app. otherwise there is no way to know app X uses certain
keystroke combos in X - be they passively handles as normal key events or as
passively grabbed keys.

your only choice is to either find out if tightvnc has such a mode to grab the
kbd/mouse ala qemu/vmware or to remvoe e's keybinding for ctrl+alt+del.

> - -sandalle
> 
> - --
> Eric Sandall                     |  Source Mage GNU/Linux Developer
> eric <at> sandall.us                  |  http://www.sourcemage.org/
> http://eric.sandall.us/          |  SysAdmin  <at>  Shock Physics  <at>  WSU
> http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
(Continue reading)

Carsten Haitzler | 1 Jul 02:41 2006

Re: [E-devel] E17 catches all keystrokes

On Fri, 30 Jun 2006 22:44:49 +0000 Aleksej Struk <astruk <at> gmail.com> babbled:

> On Fri, Jun 30, 2006 at 12:25:25PM -0700, Eric Sandall wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > I recently tried to use TightVNC to connect to a Windows server box also
> > running TightVNC. The account is of course locked, which requires one to
> > press CTRL+ALT+Delete to log in, but e17 is catching this and asking if
> > I want to log off. Perhaps e17 should check if the focused window
> > catches the keystroke before assuming it is meant for e17?
> 
> If u take a look into shortcut, you will see that it is defined for ANY
> context. Therefore, it does not matter are u have a focused window or
> not. This shortcut will be catched and it is global.
> 
> If u want to have it per window - say that the context of the shortcut
> is BORDER.

that won't do it :) key grabs are global regardless of context in e17. the
context is part of a generic grab system that also converts button grabs (that
CAN have a context as its a button press ON a type of object - context), or
singal bindings (edje objects emitting certain signals).

> 
> > 
> > - -sandalle
> > 
> > - --
> > Eric Sandall                     |  Source Mage GNU/Linux Developer
(Continue reading)

Carsten Haitzler | 1 Jul 02:43 2006

Re: [E-devel] E17 catches all keystrokes

On Fri, 30 Jun 2006 13:54:28 -0700 Eric Sandall <eric <at> sandall.us> babbled:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Aleksej Struk wrote:
> > On Fri, Jun 30, 2006 at 12:25:25PM -0700, Eric Sandall wrote:
> > I recently tried to use TightVNC to connect to a Windows server box also
> > running TightVNC. The account is of course locked, which requires one to
> > press CTRL+ALT+Delete to log in, but e17 is catching this and asking if
> > I want to log off. Perhaps e17 should check if the focused window
> > catches the keystroke before assuming it is meant for e17?
> > 
> >> If u take a look into shortcut, you will see that it is defined for ANY
> >> context. Therefore, it does not matter are u have a focused window or
> >> not. This shortcut will be catched and it is global.
> > 
> >> If u want to have it per window - say that the context of the shortcut
> >> is BORDER.
> 
> I didn't set the shortcut, it was the default. Shouldn't the default be
> changed, then?

so the default should be changed to work around ANOTHER operating system? i
don't think so. ctrl+alt+del has been a default "log me out/exit e" binding for
a decade. that one is definitely here to stay. using windows under vnc is a
vast minority of users and you can remove the binding - or find out if tvnc has
a grab mode ala qemu/vmware

> - -sandalle
(Continue reading)

David Seikel | 1 Jul 02:50 2006
X-Face
Picon

Re: [E-devel] E CVS: apps/e raster

On Fri, 30 Jun 2006 20:27:45 +0900 Carsten Haitzler (The Rasterman)
<raster <at> rasterman.com> wrote:

> On Wed, 28 Jun 2006 11:10:01 -0500 brian.mattern <at> gmail.com babbled:
> 
> > Maybe I just have an unnatural aversion to keeping edc in c code and
> > compiling it out every change. :)
> 
> mmmm. yeah. i'm currently mulling our situation over.

That will have an impact on what I was planning on doing to optimise
how e17genmenu creates bulk .eaps, so I guess I'll hold off on that bit
for a while.  Also, I have a contract that will keep me busy for a few
weeks more (one of the main reasons I have not been active for a
while).  The next contract after that is not in a hurry, so I can put
that off for a little while and catch up on my e17 coding.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Frank Dischner | 1 Jul 04:41 2006
Picon

[E-devel] Edje not working

Hi,

I'm trying to get the EFL working on a handheld running linux and am having some problems. I've got the libraries compiled and rendering to the framebuffer and I can display images, use timers, get input etc. However, neither edje nor emotion objects are displayed. For example, I compiled eem and by navigating blindly I can change the background, but none of the menu items are shown, though it works perfectly on my desktop. I've read through the code many times, but honestly have no idea where the problem is. Is there something simple I'm missing? I don't know if it makes a difference, but I've compiled the libraries without X. Any ideas?

Thanks
Frank

Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
brian.mattern | 1 Jul 05:16 2006
Picon

Re: [E-devel] Edje not working

On Fri, Jun 30, 2006 at 07:41:46PM -0700, Frank Dischner wrote:
> Hi,
> 
> I'm trying to get the EFL working on a handheld running linux and am having some problems. I've got the
libraries compiled and rendering to the framebuffer and I can display images, use timers, get input etc.
However, neither edje nor emotion objects are displayed. For example, I compiled eem and by navigating
blindly I can change the background, but none of the menu items are shown, though it works perfectly on my
desktop. I've read through the code many times, but honestly have no idea where the problem is. Is there
something simple I'm missing? I don't know if it makes a difference, but I've compiled the libraries
without X. Any ideas?
> 

Make sure that your evas has the eet loader compiled in.
--
brian

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Daniel Kasak | 1 Jul 10:53 2006

Re: [E-devel] E17 catches all keystrokes

Eric Sandall wrote:

> I recently tried to use TightVNC to connect to a Windows server box also
> running TightVNC. The account is of course locked, which requires one to
> press CTRL+ALT+Delete to log in, but e17 is catching this and asking if
> I want to log off. Perhaps e17 should check if the focused window
> catches the keystroke before assuming it is meant for e17?

Press F8 while the VNC window has the focus, and then click the 'Send
CTRL-ALT-DELETE' menu item.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Massimo Maiurana | 1 Jul 14:12 2006
Picon

[E-devel] uptime module i18n

trying to update the italian translation for uptime I found that in
e_mod_main.c there is now this line:

snprintf(users, sizeof(users), D_("user%s: %d"), (inst->nusers != 1)
? "s" : "", inst->nusers);

for what I understand this assumes that the way to obtain a plural
name is to add an "s" in the word, but unfortunately this is true
for english and false for (almost?) every other language.
the result is an untranslatable item (I should remove "%s" to
translate it, but msgfmt will complain about it).

-- 
       Massimo Maiurana         massimo<at>ragusa.linux.it
       http://massimo.solira.org       GPG keyID #7044D601

Articolo 11 - L'Italia ripudia la guerra come strumento di offesa
alla libertà degli altri popoli e come mezzo di risoluzione delle
controversie internazionali....

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Christopher Michael | 1 Jul 22:11 2006
Picon
Picon

Re: [E-devel] uptime module i18n

Massimo Maiurana wrote:
> trying to update the italian translation for uptime I found that in
> e_mod_main.c there is now this line:
> 
> snprintf(users, sizeof(users), D_("user%s: %d"), (inst->nusers != 1)
> ? "s" : "", inst->nusers);
> 
> for what I understand this assumes that the way to obtain a plural
> name is to add an "s" in the word, but unfortunately this is true
> for english and false for (almost?) every other language.
> the result is an untranslatable item (I should remove "%s" to
> translate it, but msgfmt will complain about it).
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Fixed this in cvs by adding some if statements are it so that is users 
== 1 it will print just user, and if users > 1 it will print users. You 
should now be able to translate "user" and "users".

Devilhorns

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Martin Geisler | 1 Jul 23:33 2006
Picon

Re: [E-devel] uptime module i18n

Christopher Michael <cpmichael1 <at> comcast.net> writes:

> Fixed this in cvs by adding some if statements are it so that is
> users == 1 it will print just user, and if users > 1 it will print
> users. You should now be able to translate "user" and "users".

I'm sorry, but this is the wrong way to fix this. There are languages
which distinguish between more cases than just '1 foo and '2 foos'.

Please see the ngettext() function described here:

  http://www.gnu.org/software/gettext/manual/html_chapter/gettext_10.html#SEC150

Using ngettext() one could do this:

  snprintf(users, sizeof(users),
           ngettext("user: %d", "users:%d", inst->nusers),
           inst->nusers);

I guess the ngettext() call should be a dngettext() call, but I cannot
remember the domain used... :-)

--

-- 
Martin Geisler                                     GnuPG Key: 0x7E45DD38

PHP Exif Library      |  PHP Weather             |  PHP Shell
http://pel.sf.net/    |  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather    |  A shell in a browser
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Gmane