Jorma Karvonen | 26 Oct 20:26
Picon

A problem with the localizing of the Gliv messages

Hello,

After checking the source code of Gliv I found that localizing of the
following two messages is not so simple.

#: src/loading.c:81
#, possible-c-format
msgid	"%s not while loading an image\n"
msgstr	""

#: src/loading.c:83
#, possible-c-format
msgid	"%s while loading %s\n"
msgstr	""

 Both %s-strings at the beginning of msgids are messages from the
sys_siglist array and are depended on a signal. For example, signal
SIGSEGV should produce "Segmentation fault" message, I suppose. So the
whole first message would be something like "Segmentation fault not
while loading an image\n" and the second one "Segmentation fault while
loading %s\n", where the second %s is some file name.

The problem is that the first part of message ("Segmentation fault")
is probably not localized as like the second part. Source code will
need some refactoring, I think.

Best regards,

Jorma
(Continue reading)

Rodolfo Borges | 26 Sep 12:18
Picon
Gravatar

translation update for pt_BR

attached is the result of `git format-patch`
Bin Tian | 18 Feb 20:16
Picon
Favicon

-window-id support?

Hi,

Is it possible for Gliv to take a "-window-id" command line argument and 
draw on that window?

The motivation is to use the slide show feature of this great program as 
desktop background. There is a program called "xwinwrap" that tricks 
external programs to draw desktop background in Compiz. The only problem 
is Gliv does not take the -window-id parameter.

Currently the only option to do GL transition in slideshow is the 
"glslideshow" program from xscreensaver. However glslideshow is very 
choppy in the transition process. Gliv, on the otherhand, handles 
transition silky smooth, which makes it a better candidate for the task.

I have some C/C++ experience, however I know nothing about 
X11/GTK+/OpenGL. When I tried to find out how to add the "-window-id" 
feature from the xscreensaver suit, what I can see is that "-window-id" 
and "-root" belongs to Xresources. This seems to imply that every X11 
program supports this function, it is just a matter of how to enable it. 
Am I correct in this?

Could you please point me the right direction?

Thank you very much!

-Bin Tian

Guillaume Chazarain | 27 Jul 23:28
Picon
Favicon

Re: gliv -a file doesn't work fine

Andrea a écrit :
>     1.jpg         <- previouse image
>     2.jpg         <- previouse image
>     3.jpg         <- it starts here
>     4.jpg         <- next image
>     5.jpg         <- next image

Hi Andrea,

I gave some more thought to this, and I found a shortcoming to this 
change in behavior. The -a option was initially added to help graphical 
file browsers by associating images with gliv -a. This way, you double 
click on a random image in a directory, and gliv lets you see all the 
images in the directory. With this change, you cannot anymore easily see 
all images with a slideshow except by looping.

Furthermore, once gliv -a is started, it is already possible to set the 
list like you want by using the menu entry Commands->Sort images list. 
You can assign it a key-binding if you want.

Hope it helps.

-- 
Guillaume
--

-- 
GLiv mailing list
To unsubscribe:
mailto:gliv-request@...?subject=unsubscribe

(Continue reading)

Guillaume Chazarain | 16 Jul 18:50
Picon
Favicon

Re: gliv -a file doesn't work fine

[Please keep the list in Cc. Thanks.]

Andrea a écrit :
> I don't know why, but now it works as the your one.

Well, OK then ;-)

 > However I think that
> it must read the list in another way. If I open the 3.jpg it must be:
> 
>     1.jpg         <- previouse image
>     2.jpg         <- previouse image
>     3.jpg         <- it starts here
>     4.jpg         <- next image
>     5.jpg         <- next image
> 
> and not 3.jpg as first image and all the other as 'next image'... don't
> you think it is better in this way?

Yes, that's a good idea I agree. Expect some patch when I am back from 
vacation :-)

Thanks for your feedback.

-- 
Guillaume
--

-- 
GLiv mailing list
To unsubscribe:
mailto:gliv-request@...?subject=unsubscribe
(Continue reading)

Andrea | 16 Jul 17:58
Picon

gliv -a file doesn't work fine

Hi list... I'm new here, but I use gliv since some month. I write here
because I find a "bug" (it isn't a real bug, but I think it is wrong how
gliv works). If I have a folder with some file

    1.jpg
    2.jpg
    3.jpg
    4.jpg
    5.jpg

and I run "gliv -a 3.jpg" it opens all the file in the folder. That's
right! But if I press 'space' for the next image, it goes to 1.jpg
instead of 4.jpg... so my file-list is

    3.jpg
    1.jpg
    2.jpg
    3.jpg      (I got it twice)
    4.jpg
    5.jpg

is there any workaround/feature to solve this problem?

PS:I'm italian so my english probably it's full of mistakes

--

-- 
"Coltiva Linux, tanto Windows si pianta da solo" - Anonimo

"Se qualcosa può andar male, lo farà" - Murphy's Law

(Continue reading)


Gmane