Unix Technical Forum

how to turn out pkgtool into a GUI program

This is a discussion on how to turn out pkgtool into a GUI program within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, I have found that it is possible to turn pkgtool into a nice GUI program: Download Xdialog and ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 06:13 AM
Olive
 
Posts: n/a
Default how to turn out pkgtool into a GUI program

Hello,

I have found that it is possible to turn pkgtool into a nice GUI program:

Download Xdialog and install

http://xdialog.dyns.net/

replace /bin/dialog by Xdialog

you are done pkgtool is now a nice GUI program. This trick work also for
texconfig.

The reason is that the dialog box displayed by pkgtool use "dialog" to
display these. Xdialog is fully compatible with dialog but display X
dialog box instead of the curse dialog box you see in the terminal.

Olive
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 06:13 AM
cashmir
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

Olive wrote:
> Hello,
>
> I have found that it is possible to turn pkgtool into a nice GUI program:
>
> Download Xdialog and install
>
> http://xdialog.dyns.net/
>
> replace /bin/dialog by Xdialog
>
> you are done pkgtool is now a nice GUI program. This trick work also for
> texconfig.
>
> The reason is that the dialog box displayed by pkgtool use "dialog" to
> display these. Xdialog is fully compatible with dialog but display X
> dialog box instead of the curse dialog box you see in the terminal.
>
> Olive


hoi,

works great here, looks very nice.

a few notes :
- compile it as root , otherwise it won't work ( well...here it didn't )

to install: ( workdir=/.../Xdialog-2.1.2/src )
-#mv /bin/dialog /bin/dialog.slack
-#cp Xdialog /bin/dialog

thanks for the tip.

cashmir
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 06:13 AM
reclusive monkey
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

There is also;

http://gnome-pkgtool.sourceforge.net/

For us Gnome Freaks :-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 06:14 AM
Miguel De Anda
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

Olive wrote:
> Hello,
>
> I have found that it is possible to turn pkgtool into a nice GUI program:
>
> Download Xdialog and install
>
> http://xdialog.dyns.net/
>
> replace /bin/dialog by Xdialog
>
> you are done pkgtool is now a nice GUI program. This trick work also for
> texconfig.
>
> The reason is that the dialog box displayed by pkgtool use "dialog" to
> display these. Xdialog is fully compatible with dialog but display X
> dialog box instead of the curse dialog box you see in the terminal.
>
> Olive



I haven't checked, but it seems like vector linux did this to the
slackware pkgtool program a long time ago. I did wonder about that at
some point. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 06:14 AM
Lars Behrens
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

Olive wrote:

> I have found that it is possible to turn pkgtool into a nice GUI program:


And what's the advantage of that?

Cheerz Lars


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 06:14 AM
Cycojesus
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

Here comes a new acronym : JFF which stand for Just For Fun

On Wed, 16 Feb 2005 10:49:38 +0100
Lars Behrens <Spam.Buster@web.de> a écrit:

> Olive wrote:
>
> > I have found that it is possible to turn pkgtool into a nice GUI program:

>
> And what's the advantage of that?
>
> Cheerz Lars
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 06:14 AM
Realto Margarino
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars Behrens <Spam.Buster@web.de> trolled:
> Olive wrote:
>
>> I have found that it is possible to turn pkgtool into a nice GUI program:

>
> And what's the advantage of that?


There's a stupid question. A gui program will run natively in a
gui environment.

Duh.

cordially, as always,

rm

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBQhMdLuEckfDWS6x8EQKOpQCfXR2DXab7dAW0xMpvfk0RIo FFFEoAmwbV
uMsT1YsozsbNrtYl1HvqJSzr
=ZZ8F
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 06:14 AM
Olive
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

Cycojesus wrote:
> Here comes a new acronym : JFF which stand for Just For Fun


This was exactly my purpose. I found particularly funny that such a
thing is possible without changing a single byte in pkgtool itself!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 06:14 AM
Cycojesus
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

On Wed, 16 Feb 2005 11:32:27 +0100
Olive <olive.lin@versateladsl.be> a écrit:

> Cycojesus wrote:
> > Here comes a new acronym : JFF which stand for Just For Fun

>
> This was exactly my purpose. I found particularly funny that such a
> thing is possible without changing a single byte in pkgtool itself!


Now there still is a little problem, when you go to the 'view' or 'remove' stuff
all gui disappear while pkgtool compute the list of packages...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 06:14 AM
Olive
 
Posts: n/a
Default Re: how to turn out pkgtool into a GUI program

Cycojesus wrote:
> On Wed, 16 Feb 2005 11:32:27 +0100
> Olive <olive.lin@versateladsl.be> a écrit:
>
>
>>Cycojesus wrote:
>>
>>>Here comes a new acronym : JFF which stand for Just For Fun

>>
>>This was exactly my purpose. I found particularly funny that such a
>>thing is possible without changing a single byte in pkgtool itself!

>
>
> Now there still is a little problem, when you go to the 'view' or 'remove' stuff
> all gui disappear while pkgtool compute the list of packages...


That's true but, it reappears once the package list has been computed so
I consider it to be a very small problem. (rem: I use Xdialog 2.1.1).

Olive
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com