Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 Oct 2014, 05:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
WallRefresh-1.4
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Author Message
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Fri 16 Mar 2012, 03:33    Post_subject:  

@stu90
Your suggestions are working like a charm. If I build a new version, this will go definitively in. Thanks. Very Happy
SFR wrote:
What I was thinking lately is to find a way to access a livestream and take a snapshot -> Wallrefresh.
I think it's a problem of different formats. I tried it with VLC, but also no go.

My dream/request would be using a livestream directly as a desktop background. Icons and widgets could be made visible by moving the cursor to a corner and click, similar to different layers in a graphic program. Easy to stop/start if you need more CPU/GPU power or internet bandwidth. But this is far beyond my knowledge Embarassed . I see WallRefresh at the beginning of this way. Wink

btw. your link is really great! Some webcams provide livestream which can be seen by VLC (I guess also by Mplayer).

Cheers
Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sun 18 Mar 2012, 18:53    Post_subject: WallRefresh-1.3
Sub_title: internationalized
 

rhadon wrote:
...
Next on my ToDo list:
- internationalisation
...


Take this as a starter.
It is 1.3 gettexted

Have fun

Code:
#!/bin/bash

#------------------------------------------------------------------------------------------------------
# i18n L18L
# Encoding=UTF-8
. gettext.sh
TEXTDOMAIN=wprefresh-config
# that´s all i18n overhead
#
# create portable object template: xgettext --language=shell  -o wprefresh-config.pot  wprefresh-config
# create portable object file de.po: msginit
# edit de.po (fill some empty msgstr)
# create machine object file: msgfmt de.po -o - > /usr/share/locale/de/LC_MESSAGES/wprefresh-config.mo
# or use momanager (in recent racy/wary)
#------------------------------------------------------------------------------------------------------

 GTKD4="`which gtkdialog4`"
wprefresh.png
 Description   
 Filesize   60.8 KB
 Viewed   380 Time(s)

wprefresh.png

wprefresh-config.gz
Description  remove fake .gz
make executable
gz

 Download 
Filename  wprefresh-config.gz 
Filesize  5.25 KB 
Downloaded  202 Time(s) 
Back to top
View user's profile Send_private_message 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Mon 19 Mar 2012, 12:40    Post_subject:  

@L18L
It was easy to follow your instructions.
Now i18n and german translation are ready. Very Happy

What about t12s? I thought, you'd prefer this way. In spite of that, you saved me a lot of work.

Thank you very much. Very Happy

Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Wed 21 Mar 2012, 06:20    Post_subject:  

rhadon wrote:
...
Now i18n and german translation are ready. Very Happy
...

patiently waiting.... Confused
Back to top
View user's profile Send_private_message 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Wed 21 Mar 2012, 13:59    Post_subject:  

Sorry L18L,

I wasn't aware, you are waiting Embarassed .

I asked a friend for french translation, but no result for now Rolling Eyes .

Also I was thinking about help text and a new feature (slideshow) and not asking for translations every 5 minutes (OK, that's exorbitant).

Well, here it is, WallRefresh-1.4 (see first post please).

- Internationalized, only english and german by now .

- Added stu90's suggestions.

Corrections, translations and suggestions are always welcome. Wink

If anybody wants de.po, it's below.


Have fun Very Happy ,
Rolf
de.po.gz
Description  just remove .gz please
gz

 Download 
Filename  de.po.gz 
Filesize  1.98 KB 
Downloaded  221 Time(s) 

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2530
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Wed 21 Mar 2012, 16:35    Post_subject: WallRefresh-1.4
Sub_title: i18n
 

no, I was not really waiting....

You have your script internationalized now.
The number of translations does not matter, that is localization !

I have installed and started the script, everything German.
Who should need de.po?

Stop. My fault.

change
Code:
# i18n L18L
. gettext.sh
 Encoding=UTF-8
TEXTDOMAIN=wprefresh-config
# that´s all i18n overhead
to
Code:
# i18n L18L
. gettext.sh
export TEXTDOMAIN=wprefresh-config
export OUTPUT_CHARSET=UTF-8
# that´s all i18n overhead

I don´t know what the encoding line is good for.
the OUTPUT_CHARSET line enables correct rendering if locale has no utf8
the export TEXTDOMAIN= enables working of momanager, see http://bkhome.org/blog/?viewDetailed=02676
Smile
Back to top
View user's profile Send_private_message 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Wed 21 Mar 2012, 17:50    Post_subject:  

L18L wrote:
change Code:
...
to Code:
...
export TEXTDOMAIN=wprefresh-config
export OUTPUT_CHARSET=UTF-8
...

Done.
Thank you again Very Happy
Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0630s ][ Queries: 13 (0.0082s) ][ GZIP on ]