Author Topic: zenity script  (Read 7814 times)

uncleV

  • Guest
Re: zenity script
« Reply #90 on: July 14, 2010, 03:26:44 AM »
It great to see some neighbors here :)
Just install poedit from synaptic and you can easily translate the po file.
Leiche offer to add it. ;)

Unfortunately there isn't much effort in translating pclos :( I would like to see it more
Zdravo, slax!
It's good to me too.

Thank you for the poedit hint, I didn't know about it.

uncleV

  • Guest
Re: zenity script
« Reply #91 on: July 14, 2010, 03:41:56 AM »
add your language file in the attachment, and i rebuild the package (add it) ;)
You need the pot file (attached), remove .txt.
How to translate see here
http://www.pclinuxos.com/forum/index.php/topic,59145.0.html
Hope it's help ;)

Downloaded the attachment and translated it using for the first time poedit.

Attached here but I'm not sure everything got right because get this message while saving the translation:
Quote
/home/uncleV/Desktop/ezswitch_bg.pot:7: some header fields still have the initial default value

Bookmark 7 is translated and the original and translated lines look the same except the translated words.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: zenity script
« Reply #92 on: July 14, 2010, 09:55:11 AM »
@uncleV
to see if it works install new package link removed
thanks...
« Last Edit: July 15, 2010, 10:47:31 AM by Leiche »

musonio

  • Guest
Re: zenity script
« Reply #93 on: July 14, 2010, 03:03:20 PM »
Neal:
First of all: great script.
However, we are kind of in the dark when we change themes. We only have a name, and a reboot is needed in order to see what it loks like.
Couldn't there be a post (sticky) where one could take a look at the available themes?
Thanks again.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #94 on: July 14, 2010, 04:52:26 PM »
Neal:
First of all: great script.
However, we are kind of in the dark when we change themes. We only have a name, and a reboot is needed in order to see what it loks like.
Couldn't there be a post (sticky) where one could take a look at the available themes?
Thanks again.

 :D I have been thinking on that. Were you reading my mind? ;D

musonio

  • Guest
Re: zenity script
« Reply #95 on: July 14, 2010, 07:14:12 PM »
Neal:
First of all: great script.
However, we are kind of in the dark when we change themes. We only have a name, and a reboot is needed in order to see what it loks like.
Couldn't there be a post (sticky) where one could take a look at the available themes?
Thanks again.

 :D I have been thinking on that. Were you reading my mind? ;D

Since plymotuh themes are animated, I think it would be relatively easy to embed video in a post linking to the demos I've seen around the web for some themes.
Where there isn't any video, a simple still image could be made.
Besides, those images could be included in the package and your script could be modified with a preview button.
On top of that, you could solve the problem in Iraq.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #96 on: July 14, 2010, 07:19:42 PM »
Neal:
First of all: great script.
However, we are kind of in the dark when we change themes. We only have a name, and a reboot is needed in order to see what it loks like.
Couldn't there be a post (sticky) where one could take a look at the available themes?
Thanks again.

 :D I have been thinking on that. Were you reading my mind? ;D

Since plymotuh themes are animated, I think it would be relatively easy to embed video in a post linking to the demos I've seen around the web for some themes.
Where there isn't any video, a simple still image could be made.
Besides, those images could be included in the package and your script could be modified with a preview button.
On top of that, you could solve the problem in Iraq.

Coffeetime posted a video in the thread on the Radically Simple theme.
Bet you want it all yesterday. ;D

 :o :o :o Iraq!?!?? :o :o Hmm...... no ideas that I can post here. ;) ;D

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: zenity script
« Reply #97 on: July 15, 2010, 12:22:12 AM »
Neal:
First of all: great script.
However, we are kind of in the dark when we change themes. We only have a name, and a reboot is needed in order to see what it loks like.
Couldn't there be a post (sticky) where one could take a look at the available themes?
Thanks again.


You can test different plymouth themes from init level 3 (no X) without rebooting:

(from http://brej.org/blog/?p=158 and http://blog.fpmurphy.com/2009/09/project-plymouth.html)

First set up a script to simplify things:
(I used /usr/bin/plymouth-test-theme):
Code: (/usr/bin/plymouth-test-theme) [Select]

#!/bin/bash
#

# check that we are in an appropriate runlevel
rlevel=$(runlevel | cut -d " " -f 2)
if [[ "$rlevel" != "2"  && "$rlevel" != "3" ]]
then
    echo "ERROR: You must be at runlevel 2 or 3"
    exit 1
fi

echo "checking plymouthd status"
plymouth --ping || plymouthd
sleep 2

echo "selecting theme: $1"
plymouth-set-default-theme $1
sleep 2

echo "starting plymouth preview"
plymouth --show-splash
sleep 2

for ((I=0; I<10; I++)); do
  plymouth --update=test$I
  sleep 1
done

plymouth quit


..save in /usr/bin and make it executable



Switch to init level 3 (as root; close / save work first!)
Code: [Select]
init 3
<at prompt, log in as root again>

Get a list of installed themes:
Code: [Select]
plymouth-set-default-theme --list
Test theme (adjust name of script if you used a different name in the first step):
Code: [Select]
plymouth-test-theme  <insert name of theme>
When you have tested all your themes, return to normal session (init 5):
Code: [Select]
init 5

..and then use our fine script to switch to a new plymouth theme!
 ;D


« Last Edit: July 15, 2010, 01:16:32 AM by travisn000 »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3892
Re: zenity script
« Reply #98 on: July 15, 2010, 01:33:20 AM »
You guys are amazing!

Switching runlevels is not for the faint-hearted. Not that it is difficult to do, but for those who don't understand linux it can be scary if anything goes wrong. I like this idea of playing a very small theora video capture in a window as a preview of the animated theme. Would this be difficult to do?  ;)

Galen

uncleV

  • Guest
Re: zenity script
« Reply #99 on: July 15, 2010, 02:49:54 AM »
Since plymotuh themes are animated, I think it would be relatively easy to embed video in a post linking to the demos I've seen around the web for some themes.
Where there isn't any video, a simple still image could be made.
Besides, those images could be included in the package and your script could be modified with a preview button.
On top of that, you could solve the problem in Iraq.


Me the noob go to /usr/share/plymouth/themes/*/ and click the PNGs there. animation.png gives me the animation.

Btw, Neal, here on LXDE-Mini I have details, text, PCLXDE and PCLOS, the latter two being exactly the same by files and animation.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #100 on: July 15, 2010, 05:16:14 AM »
uncleV,
Open Synaptic > Reload > Upgrade (you know. standard stuff.) > Search for - pclinuxos-theme > mark to reinstall > Apply.

Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: zenity script
« Reply #101 on: July 15, 2010, 12:25:51 PM »
Neal:
First of all: great script.
However, we are kind of in the dark when we change themes. We only have a name, and a reboot is needed in order to see what it loks like.
Couldn't there be a post (sticky) where one could take a look at the available themes?
Thanks again.


You can test different plymouth themes from init level 3 (no X) without rebooting:

(from http://brej.org/blog/?p=158 and http://blog.fpmurphy.com/2009/09/project-plymouth.html)



This can probably be implemented in ezswitch?  :-\
At least we can try...



Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #102 on: July 15, 2010, 12:31:10 PM »
Perhaps a different script? > EZTest?

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3892
Re: zenity script
« Reply #103 on: July 15, 2010, 01:14:24 PM »
Perhaps a different script? > EZTest?

EZThemePreview?

Galen

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #104 on: July 15, 2010, 01:28:54 PM »
Perhaps a different script? > EZTest?

EZThemePreview?

Galen

 :) Good name!