WallRefresh-1.4

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#31 Post by rhadon »

@stu90
Your suggestions are working like a charm. If I build a new version, this will go definitively in. Thanks. :D
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 :oops: . 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.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

WallRefresh-1.3

#32 Post by L18L »

rhadon wrote:...
Next on my ToDo list:
- internationalisation
...
Take this as a starter.
It is 1.3 gettexted

Have fun

Code: Select all

#!/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`"
Attachments
wprefresh.png
(60.8 KiB) Downloaded 475 times
wprefresh-config.gz
remove fake .gz
make executable
(5.25 KiB) Downloaded 402 times

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#33 Post by rhadon »

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

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. :D

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#34 Post by L18L »

rhadon wrote:...
Now i18n and german translation are ready. :D
...
patiently waiting.... :?

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#35 Post by rhadon »

Sorry L18L,

I wasn't aware, you are waiting :oops: .

I asked a friend for french translation, but no result for now :roll: .

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 :D ,
Rolf
Attachments
de.po.gz
just remove .gz please
(1.98 KiB) Downloaded 418 times
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

WallRefresh-1.4

#36 Post by L18L »

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: Select all

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

Code: Select all

# 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
:)

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#37 Post by rhadon »

L18L wrote:change Code:
...
to Code:
...
export TEXTDOMAIN=wprefresh-config
export OUTPUT_CHARSET=UTF-8
...
Done.
Thank you again :D
Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

Post Reply