Author Topic: zenity script  (Read 7648 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #45 on: July 09, 2010, 09:44:17 AM »
..I think the difference is the lack of the -u option; even though the scripts help seems to indicate it is needed, it doesn't work if you use the option.  ::)

Sorry, but no. I tried it without the -u option first. Its failure and the error message in the terminal is the reason I added the -u option.

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: zenity script
« Reply #46 on: July 09, 2010, 10:07:06 AM »
I just saw your package hit the drop box...  I was in the process of adding a zenity progress dialog to switch-themes command, as it acturally takes a while to complete (..wouldn't want a user to restart before it had finished  ;))

I'll post the change as soon as I finish the reboot to test the effect.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #47 on: July 09, 2010, 10:19:37 AM »
Okay. I've pulled the SRPM.

I hadn't thought about that. ::)
The switch for me took less than a second, but my machine has a fast processor and 3 GB RAM.

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: zenity script
« Reply #48 on: July 09, 2010, 10:37:24 AM »
..it appears to go fast, becuase kdesu / gksu runs swith-themes as a separate process and the script appears to complete; if you watch top as it runs you will see a number of gzip processes run while switch-themes runs in the background

(I'm using 2.6 Ghz athlon x2 and 2Gb ram, but it still takes awhile)

Here is what I have if you would like to test (attached):

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #49 on: July 09, 2010, 10:59:39 AM »
Thank you. :) I will test it now.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #50 on: July 09, 2010, 11:30:02 AM »
Good to go through 3 tests. :D :D :D

SRPM sent to dropbox.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #51 on: July 09, 2010, 02:04:12 PM »
Anyone else testing this? Does it work well for you?

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: zenity script
« Reply #52 on: July 09, 2010, 02:17:19 PM »
Neal, sorry I "vanished" for some time, but I got caught up in my job.

Now I finally got a chance to have a closer look in the forum, and I'm happy to see that the script is indeed working. I tried it twice, and it does exactly what I wanted.

Great job!  :D
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #53 on: July 09, 2010, 02:20:43 PM »
Thank you very very much, Torsten. :D :D :D :D :D

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: zenity script
« Reply #54 on: July 09, 2010, 03:54:02 PM »
take it from the dropbox, and must say...
Great job, it's work perfectly
 

EDIT:
add german language, and icon in zenity ...
package version now 0.1-2
sent to dropbox, i don't remove the older file...

EDIT II:
pot file for more languages attached...
« Last Edit: July 10, 2010, 04:21:59 AM by Leiche »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #55 on: July 10, 2010, 05:16:49 AM »
Thank you, Leiche! :D Hmm...... should the .pot file be added to the RPM?

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: zenity script
« Reply #56 on: July 10, 2010, 01:19:40 PM »
Quote
should the .pot file be added to the RPM?
Would you make it, or should i make it?

EDIT:
added pot file to the SRPM, and add languages folder...
« Last Edit: July 10, 2010, 03:04:53 PM by Leiche »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: zenity script
« Reply #57 on: July 10, 2010, 06:14:49 PM »
Quote
should the .pot file be added to the RPM?
Would you make it, or should i make it?

EDIT:
added pot file to the SRPM, and add languages folder...

Thank you again, Leiche. :D

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: zenity script
« Reply #58 on: July 11, 2010, 02:25:46 AM »
I installed all of the Plymouth themes from the repo today and set out to try each of them with our new script...  I soon found that the unordered list, and a lack of a theme description in the zenity list made it difficult to recall which themes I had already tested! :-[ :-X

..because of this I made a few more modifications:

Changelog
 - Sort themes list alphabetically
 - Added theme description to zenity list (as read from theme's .plymouth file)
 - Added a check so that if current theme is selected as the new theme, the switch-themes script is not run.

Now if only I could get zenity to display a picture of the theme!  ::)
« Last Edit: July 11, 2010, 04:01:05 AM by travisn000 »

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: zenity script
« Reply #59 on: July 11, 2010, 04:02:05 AM »
(..added updated script / attachment to previous post)