LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-28-2013, 01:10 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,763

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
GUI frontend to slackpkg ?


Hello everybody,

I wonder if there's some sort of Synaptic-like graphical frontend to slackpkg. You may wonder what on earth got into me for asking this. Here goes.

More often than not, my clients have the odd exotic requirement. They all use my beefed-up MLED desktop, which is a one-size-fits-all desktop filling most requirements. But it rarely stops here. One client needs an application to revise movie scripts, another needs to access his iPod, another one wants to read his ebooks or have some basic touch-typing training. Or use AMule. Etc.

Now thanks to the slackpkg+ plugin I can setup my own MLED repository, integrate new apps nicely into the repo for 32-bit and 64-bit machines, and then fetch them via slackpkg.

http://www.microlinux.fr/slackware/M...0-32bit/extra/

A simple 'slackpkg search microlinux' shows me the "status" of the client's desktop, e. g. which apps are installed, which are not installed, which can be updated, etc.

Now a graphical frontend to all this would be nice, because this would allow some of my clients to perform a few basic tasks like upgrading or installing the odd extra application by themselves.

I doubt that such an application exists. But hey, I'll just ask anyway.
 
Old 06-28-2013, 01:40 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,413

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Hello Nicolas,

I don't know of any but it shouldn't be difficult to write one yourself, with either 'dialog' (heavily used by Slackware's installer and many Slackware tools and also BTW by slint's toolbox) or 'Xdialog', which is a GTK+ application, intended to be a drop-in replacement of 'dialog' and for which a SlackBuild is available @ slackbuilds.org.

Last edited by Didier Spaier; 06-28-2013 at 01:41 AM.
 
1 members found this post helpful.
Old 06-28-2013, 04:11 PM   #3
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 176

Rep: Reputation: 20
The problem I see with a Slackpkg GUI is if any of the X packages need updated (kde/, xfce, x/, xap/ among possibly others), X cannot be running.
 
Old 06-28-2013, 04:22 PM   #4
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 875

Rep: Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819Reputation: 1819
Quote:
Originally Posted by Lenard Spencer View Post
The problem I see with a Slackpkg GUI is if any of the X packages need updated (kde/, xfce, x/, xap/ among possibly others), X cannot be running.
X can be running while X packages are upgraded. Any shared libraries that are in use but get removed will remain mapped in memory until nothing is using them any longer.

That said, I don't see how a GUI would improve slackpkg much.
 
2 members found this post helpful.
Old 06-28-2013, 04:25 PM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,413

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Quote:
Originally Posted by Lenard Spencer View Post
The problem I see with a Slackpkg GUI is if any of the X packages need updated (kde/, xfce, x/, xap/ among possibly others), X cannot be running.
Are you sure? let's say xorg-server is updated, for instance: the new version won't be used till next (re)start of the server, so I don't see a problem here. Same for DEs and applications. More generally, a new version of a software is not used as soon as installed. And even if removed from the hard disk I think that the old version will continue to work, as long as it stays in RAM. Of course there can be exceptions.

EDIT Pat was faster. Slow typer I was, slow typer I stay

Last edited by Didier Spaier; 06-28-2013 at 04:30 PM.
 
Old 06-29-2013, 02:11 AM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 768

Rep: Reputation: 92
Quote:
Originally Posted by volkerdi View Post
I don't see how a GUI would improve slackpkg much.
Not for most users that's for certain, but the new generation of 'pointy, clicky, touchy' users might not get the advantage of the cli. Might hurt their pinkys having to do all that typing.
 
Old 06-29-2013, 12:41 PM   #7
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 253

Rep: Reputation: 27
'pointy, clicky, touchy' from sysadmin side that is not slackware
 
1 members found this post helpful.
Old 06-29-2013, 01:09 PM   #8
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,763

Original Poster
Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by volkerdi View Post
That said, I don't see how a GUI would improve slackpkg much.
Me, I'll always prefer the command-line. But let's say a client who lives 40 miles from here - and whose machine I can't access remotely - wants a certain app not included in Slackware. I'll just try to integrate it nicely, add it to my repo... and then tell the client to just perform a few clicks. That's the general idea.
 
Old 06-29-2013, 02:43 PM   #9
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,276

Rep: Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686
Check out QTGZManager (there is a SlackBuild at slackbuilds.org). It is an interface to pkgtools (installpkg/upgradepkg/removepkg) and not slackpkg, but it does support patch updates from a Slackware mirror. I haven't tried it but it looks very nice. Of course, it requires Qt (but not KDE?), but I see your MLED tagfiles include Qt so it may work out of the box. As far as I know, it does not support additional repositories, so it wouldn't be a total solution. A script using Xdialog to call slackpkg may be your best bet if you can't find anything else (though Xdialog is obviously fairly limited in looks and functionality).
 
Old 06-30-2013, 12:13 AM   #10
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 768

Rep: Reputation: 92
Quote:
Originally Posted by glorsplitz View Post
'pointy, clicky, touchy' from sysadmin side that is not slackware

Not everyone wants to be a sysadmin. Some people like to actually do real work
 
Old 06-30-2013, 03:31 AM   #11
bartgymnast
Member
 
Registered: Feb 2003
Location: Lelystad, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 262

Rep: Reputation: 87
eugene is working with packagekit dev to integrate slackpkg with packagekit.
this might be intresting to following.
 
1 members found this post helpful.
Old 07-03-2013, 02:06 PM   #12
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 176

Rep: Reputation: 20
Quote:
Originally Posted by volkerdi View Post
X can be running while X packages are upgraded. Any shared libraries that are in use but get removed will remain mapped in memory until nothing is using them any longer.

That said, I don't see how a GUI would improve slackpkg much.
Thanks for the clarification. As you, I don't see a benefit of a GUI, either. I don't know about others, but I'm MUCH more comfortable running it from the command line.
 
Old 07-03-2013, 02:52 PM   #13
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 271

Rep: Reputation: 82
A small patch to use kdialog instead dialog.

Code:
--- dialog-functions.sh.tmp 2010-05-02 01:10:33.000000000 +0200
+++ dialog-functions.sh        2013-07-02 09:15:31.418427035 +0200
@@ -47,13 +47,14 @@
                        awk '{ NF=3 ; print $0 }' $TMPDIR/dialog2.tmp > $TMPDIR/dialog.tmp
                        HINT=""
                fi
-               cat $TMPDIR/dialog.tmp|xargs dialog --title $2 --backtitle "slackpkg $VERSION" $HINT --checklist "Choose packages to $2:" 19 70 13 2>$TMPDIR/dialog.out
+               cat $TMPDIR/dialog.tmp|awk '{print $1,$1,$3}'|xargs kdialog --title $2 --checklist "Choose packages to $2:" >$TMPDIR/dialog.out
+               #cat $TMPDIR/dialog.tmp|xargs dialog --title $2 --backtitle "slackpkg $VERSION" $HINT --checklist "Choose packages to $2:" 19 70 13 2>$TMPDIR/dialog.out
                case "$?" in
                        0|123)
-                               dialog --clear
+                               #dialog --clear
                        ;;
                        1|124|125|126|127)
-                               dialog --clear
+                               #dialog --clear
                                echo -e "DIALOG ERROR:\n-------------" >> $TMPDIR/error.log
                                cat $TMPDIR/dialog.out >> $TMPDIR/error.log
                                echo -e "-------------
(apply it to /usr/libexec/slackpkg/functions.d)


Is not a real "GUI", but you will have a "window"

Last edited by zerouno; 07-03-2013 at 02:53 PM.
 
Old 07-03-2013, 02:58 PM   #14
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,413

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Isn't this patch a bit awkish? Nevermind, I like awk too :-)
 
Old 07-03-2013, 03:26 PM   #15
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 303

Rep: Reputation: 41
I could certainly see a use for a GUI front end. I installed Slackware as a dual-boot on my sister-in-law's computer after Windows fell over again and again. They now use Slackware almost all the time but with me being 250 miles away sysadmin is tricky. So far I have to dropboxed packages to her that become required after building them here and providing detailed installation instructions via email (for instance Google Chrome was needed when the kids discovered that Club Penguin had added a new section not supported by or working in Firefox).

A slackpkg GUI would undoubtedly make the process a whole lot easier for them, especially if I could add the Dropbox folder as a repository. She could also do a quick updates check herself once a week too.

I know a GUI isn't the slackware way and I'm certainly not advocating a road to ubuntuisation. Just the odd GUI in the right area may help some users.

- thinking about it, wasn't someone building somethinglike this a couple of years ago? I'm sure I remember reading a thread in here where some sort of GUI package manager was being developed.
 
  


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
Frontend Firewall GUI NugentS Linux - Software 3 05-22-2013 09:06 PM
is there a Frontend/Gui for dd? browny_amiga Linux - Software 39 02-12-2012 08:04 AM
[SOLVED] I ma looking for a GUI scaner frontend igadoter Linux - Software 3 09-20-2011 11:56 AM
Bind GUI Frontend athomas Linux - Software 2 10-20-2010 09:02 AM
GUI Frontend for IPTABLES metallica1973 Linux - Security 5 11-11-2006 04:47 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration