Author Topic: [FIXED] Leiche took over [pygtk-shutdown]  (Read 1562 times)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Need someone to take over [pygtk-shutdown]
« Reply #15 on: September 09, 2011, 01:15:11 PM »
Hi again,

I opened your package with file-roller and looked into the script

One more thing will be the name of the command (name of the python script). The new maintainer/developer has forked it with the permission and thanks from the former one who lacks time to continue. The new name is "pygtk-shutdown". The actual command used in the Openbox versions is still "shutdown-dialog.py".

It would be nice to still have the new name, and a symlink. shutdown-dialog.py would be the symlink and pygtk-shutdown, the command.

There is also a new place for this program : https://github.com/doorknob60/pygtk-shutdown

Regards,
Mélodie
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Need someone to take over [pygtk-shutdown]
« Reply #16 on: September 09, 2011, 01:52:03 PM »
Why is it in 2?

Will change your patch ok?

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Need someone to take over [pygtk-shutdown]
« Reply #17 on: September 09, 2011, 02:04:30 PM »
Why is it in 2?

Will change your patch ok?

It's in 2 because the dev thinks it good to be in 2. We need not 2 so we remove it. patch : I have shown it to the dev of the program he said, it's a good patch. I have shown it to my companion he also said it will be ok.

It's easy to read.

-#!/usr/bin/env python2 //the minus at the start of the line removes this

+#!/usr/bin/env python //the plus at the start of the line adds it.

The rest of the patch file comes from the program I used, a diff with some options. I found the howto on the web and asked confirmation about the way it has to go to 2 persons who I know for knowing some python.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Need someone to take over [pygtk-shutdown]
« Reply #18 on: September 09, 2011, 02:29:32 PM »
crazy, but did it

LINK removed

Hopeful it is, what you want....
« Last Edit: September 10, 2011, 01:28:27 PM by Leiche »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Need someone to take over [pygtk-shutdown]
« Reply #19 on: September 09, 2011, 02:38:49 PM »
Leiche, I tested just now.

Password:
[root@herisson tmp]# rpm -Uvh pygtk-shutdown-0.1-5leiche2011.i586.rpm
erreur: Dépendances requises:
   shutdown-dialog entre en conflit avec pygtk-shutdown-0.1-5leiche2011.i586  //conflicts


[root@herisson tmp]# rpm -e shutdown-dialog  //so I remove the conflict

[root@herisson tmp]# rpm -Uvh pygtk-shutdown-0.1-5leiche2011.i586.rpm
Préparation...              ########################################### [100%]
   1:pygtk-shutdown         ########################################### [100%]
[root@herisson tmp]#

The program starts fine !

I would just like to ask you to add a symlink.
Code: [Select]
# ln -s /usr/bin/pygtk-shutdown /usr/bin/shutdown-dialog.py
The reason is that the Openbox which use it have a button menu configured with the "shutdown-dialog.py" command. It would be nice to have some delay for the users (and the next quarterly Openbox versions) some time to switch gently.

Can you try to do that ?

Thanks,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Need someone to take over [pygtk-shutdown]
« Reply #20 on: September 09, 2011, 03:17:17 PM »
Hello darling  ;D,

for you, i will make a symlink, and use latest source from  https://github.com/doorknob60/pygtk-shutdown

Hopeful it will now so work how you it like...

LINK removed

Good luck....
« Last Edit: September 10, 2011, 01:28:58 PM by Leiche »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Need someone to take over [pygtk-shutdown]
« Reply #21 on: September 09, 2011, 03:23:05 PM »
Hello darling  ;D,

for you, i will make a symlink, and use latest source from  https://github.com/doorknob60/pygtk-shutdown

Hopeful it will now so work how you it like...

http://dl.dropbox.com/u/2077694/pygtk-shutdown-70b9f7c-1leiche2011.i586.rpm

Good luck....


Leiche, thank you very much ! I will try it tomorrow, as soon as the machine will be rebooted. Wishing you a good night with sweet dreams. ;D

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Need someone to take over [pygtk-shutdown]
« Reply #22 on: September 09, 2011, 07:46:40 PM »
It looks like you lovebirds got everything sorted out already so I'll be marking the op FIXED. ;)
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [FIXED] Leiche took over [pygtk-shutdown]
« Reply #23 on: September 10, 2011, 01:52:10 AM »
Hi,

I removed all traces from former installs, and installed pygtk-shutdown-70b9f7c-1leiche2011.i586.rpm
Quote
$ ls -l /usr/bin/shutdown-dialog.py
lrwxrwxrwx 1 root root 28 sept. 10 09:46 /usr/bin/shutdown-dialog.py -> ../../usr/bin/pygtk-shutdown*
$

I started both commands, It works perfect. :D
Thank you Leiche ! It's ok for going to the repos (I didn't check if you made it conflict with the package shutdown-dialog.py, but I suppose you have not forgotten).

Archie, thanks for this thread.

Regards,
Mélodie



« Last Edit: September 10, 2011, 01:54:01 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: [FIXED] Leiche took over [pygtk-shutdown]
« Reply #24 on: September 10, 2011, 01:00:26 PM »
send it to our dropbox...

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [FIXED] Leiche took over [pygtk-shutdown]
« Reply #25 on: September 10, 2011, 01:24:15 PM »
Leiche, thanks a lot !
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode