LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-21-2015, 11:21 PM   #16
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,302

Rep: Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279

Quote:
Originally Posted by ReaperX7 View Post
Technically, pkgtools does have a UI, but it's ncurses based.
However, OP is looking for a frontend for slackpkg, including the slackpkg+ extension, not pkgtools.
 
Old 05-22-2015, 02:31 AM   #17
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,661

Rep: Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982
Quote:
Originally Posted by zerouno View Post
A few years ago, someone took a graphical version of slackpg and I replied with a small patch that allowed to use kdialog instead of dialog. Of course no one, not even me, has never used this patch because useless.
Now it was being planned to start developing something.
The plan for now is only a concept; I think it's just a wrapper slackpkg+ based on kdialog (not a simple replacement of dialog with kdialog but not something elaborated based on languages and API that I do not know).
Before we begin, however, I would like to be sure that someone has not already done something to not end up with yet another package manager.

Obviously I do not guarantee anything.
Put me on your list if you still need people for that project. Kdialog will be just fine, but it will limit its application to only those people who have KDE installed (and a lot of people do not install that because they think it is bloatware).
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
 
Old 05-22-2015, 07:16 AM   #18
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 498

Original Poster
Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by Alien Bob View Post
Put me on your list if you still need people for that project. Kdialog will be just fine, but it will limit its application to only those people who have KDE installed (and a lot of people do not install that because they think it is bloatware).
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.
If you want to start a project in PyQt (that I known it's better than kdialog and many other gui languages) you're welcome!
(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.
 
Old 05-22-2015, 08:10 AM   #19
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 491

Rep: Reputation: 145Reputation: 145
Is there a GUI (Gtk or QT) for sbopkg?
 
Old 05-22-2015, 08:36 AM   #20
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,661

Rep: Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982Reputation: 3982
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.
 
Old 05-22-2015, 09:04 AM   #21
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 498

Original Poster
Rep: Reputation: 127Reputation: 127
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.
 
Old 05-22-2015, 09:34 AM   #22
neymac
Member
 
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138

Rep: Reputation: 19
Quote:
Originally Posted by Bindestreck View Post
Is there a GUI (Gtk or QT) for sbopkg?
No! It uses "dialog", just type "sbopkg" as root and there is it.

Last edited by neymac; 05-22-2015 at 09:39 AM.
 
Old 05-22-2015, 09:42 AM   #23
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 491

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by neymac View Post
No! It uses "dialog", just type "sbopkg" as root and there is it.
I don't understand, what is root?
 
Old 10-11-2017, 07:21 AM   #24
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 498

Original Poster
Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by zerouno View Post
(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).
Unfortunately I've to learn python now.
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
Click image for larger version

Name:	slackpkg+cfg1.png
Views:	58
Size:	63.0 KB
ID:	26078
Click image for larger version

Name:	slackpkg+cfg2.png
Views:	52
Size:	66.3 KB
ID:	26079
Click image for larger version

Name:	slackpkg+cfg3.png
Views:	47
Size:	35.5 KB
ID:	26080
the goal now is only to learn Python.

Last edited by zerouno; 10-11-2017 at 07:26 AM.
 
2 members found this post helpful.
Old 10-11-2017, 03:30 PM   #25
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 393

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by zerouno View Post
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.
There is SUN for that purpose: https://github.com/dslackw/sun
 
Old 10-11-2017, 06:09 PM   #26
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,470

Rep: Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414
Quote:
Originally Posted by cwizardone View Post
KDE once had a package manager that ran very well with Slackware. I can't remember why it is no longer used.
You may be thinking of the original KPackage from KDE 3x. I love that app and still use it rather regularly, not for installation but as a one-stop shop for viewing installed packages and especially all the files installed for each package and at what location. It is also handy for uninstalling packages. Kpackage was entirely castrated in KDE v4x but the original will run with just a few old libraries that can neatly be installed in /opt or /usr/local to avoid any confusion. I suppose the original worked at one time for installing but it never seemed advantageous in that area to me so I only used it as I've stated which works out well since it can still do those things precisely and visibly.

Last edited by enorbet; 10-11-2017 at 06:10 PM.
 
2 members found this post helpful.
Old 10-11-2017, 06:16 PM   #27
gmgf
Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 963

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
I use QTGZManager sometimes it is very good for find file,lib,..... in the package

https://qtgzmanager.wordpress.com/
 
Old 10-12-2017, 03:14 AM   #28
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 736

Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
You may be thinking of the original KPackage from KDE 3x. I love that app and still use it rather regularly, not for installation but as a one-stop shop for viewing installed packages and especially all the files installed for each package and at what location. It is also handy for uninstalling packages. Kpackage was entirely castrated in KDE v4x but the original will run with just a few old libraries that can neatly be installed in /opt or /usr/local to avoid any confusion. I suppose the original worked at one time for installing but it never seemed advantageous in that area to me so I only used it as I've stated which works out well since it can still do those things precisely and visibly.
can you share instructions on how to do that?
 
Old 10-12-2017, 08:32 AM   #29
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,302

Rep: Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279
Quote:
Originally Posted by solarfields View Post
can you share instructions on how to do that?
I covered them in a previous discussion enorbet and I had on the matter

https://www.linuxquestions.org/quest...ml#post5611700
 
Old 10-12-2017, 11:04 AM   #30
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,470

Rep: Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414
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 )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Manager , Synaptic package manager & dpkg: warning error massage sa3paleasm Linux - Software 1 08-07-2013 04:45 PM
[SOLVED] Debian 6 / Graphical package manager? Pearlseattle Linux - Newbie 9 10-10-2012 09:14 PM
LXer: Kate OS Linux rev adds graphical package manager LXer Syndicated Linux News 0 12-30-2006 01:03 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM
Graphical package manager for Gentoo blood_omen Linux - General 1 01-12-2005 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration