Quote:
|
Quote:
I have long sought for a reason to start learning Python and PyQt would be a nice basis for a graphical frontend to slackpkg with slackpkg+ (and every other extension people might want to add in future). I have some ideas. Eric |
Quote:
(Un)fortunately I don't know Python and I don't want/I don't have time to learn it (I don't like it). xdialog is better than kdialog (obviously less than PyQt) because it is best compatible with dialog and contains some major feature, but it's out of official repository (even if presents in your repository); also kdialog supports --passivepopup useful for notification in system tray. But before to start with *dialog/PyQt/other I want to try some already existent projects mentioned in this thread; I want to known if these can works with slackpkg+ some years ago (before slackpkg+) I wrote http://www.slacky.eu/slacky/Slackware_Updates_Checker (italian site) that simply check via slackpkg for news changelog and notify it in system tray). It should works with slackpkg. On my pc I've a most recent (2013) version of that script but I'm not using that so I dont remember if it works well. phenixia2003 suggests a row for crontab to notify updates: http://www.linuxquestions.org/questi....php?p=5146591 Code:
0 */2 * * * export DISPLAY=:0 && /usr/sbin/slackpkg &>/dev/null check-updates && [ -s ~/.slackpkg/updated-repos.txt ] && notify-send -i dialog-warning "[ S L A C K P K G + ]" "Available updates in repositories: $(cat ~/.slackpkg/updated-repos.txt|tr '\n' ','|sed 's/,$//' )" sorry for confusion in this post. I don't know what I will do. In first post I ask for the existence of 'somethink' not necessary slackpkg wrapper, just to known what already exists. Obviously I prefer slackpkg+ :) because I can manage directly it if needed. |
Is there a GUI (Gtk or QT) for sbopkg?
|
Using zenity or even better: yad (an improved fork of zenity which does not require libgnomecanvas like zenity does) is also an option.
It is the GTK equivalent of Kdialog. It does not have any external dependencies and should run on any Slackware. I just built it on slackware64-13.37 in a couple of seconds. |
Yes, I know.
this solve the problem: if [ -x yad ];then use yad elif [ -x kdialog ];then use kdialog ... ... else use dialog fi solve any problem since are all dialog semi-compatible. |
Quote:
|
Quote:
|
3 Attachment(s)
Quote:
To experiment it I decided to return to this project. Currently here is a draft not-working of the slackpkg+ configurator, written in PyGObject. I'm not sure to continue using GTK+3 or switch to QT (I'm waiting for qt5 natively in slackware). For now the project works with both python2 and python3, but since some days ago I can opt to totally switch to python3, and since I'm starting to learn python, I think that I will study python3, so this project may be not compatible with slackware 14.2 Attachment 26078 Attachment 26079 Attachment 26080 the goal now is only to learn Python. |
Quote:
|
Quote:
|
I use QTGZManager sometimes it is very good for find file,lib,..... in the package ;)
https://qtgzmanager.wordpress.com/ |
Quote:
|
Quote:
https://www.linuxquestions.org/quest...ml#post5611700 |
It was really easy for me to continue using Kpackage from V3 KDE in early v4, because I was still using 32bit 14.0 until a few months ago. Bassmadrigal solved the 64bit and Multilib 14.2 issues quickly and perfectly. Works great! I thanked him then and I do so again now... "Thank you mathed man" (some minor credit for that last bit of "pun-ishment for Lenny Bruce :) )
|
All times are GMT -5. The time now is 07:33 PM. |