VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Package installation from Thunar  (Read 2246 times)

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Package installation from Thunar
« on: October 09, 2007, 08:56:30 am »

I've just installed Vector 5.9 beta and I'm in the process of setting things up the way I like them.

One of the features that I found useful in Thunar under Zenwalk is the ability to install packages using the right click menu on a package. Attempting to use this under Vector results in a message saying that I must be root to carry out the task. However, if I start Thunar from a root terminal, the right-click menu doesn't include the Install Package option.

Is there a way round this? On a related note, what is the best option for installing single packages?

paul.
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Package installation from Thunar
« Reply #1 on: October 09, 2007, 09:45:59 am »

Normally when using Thunar you can right click and install the package.  But that hasn't been implemented yet in the beta (I'm assuming since it doesn't work for you). Mine (earlier than beta) does it at this time as I've added the options.  When using Thunar click "edit" > "configure custom actions".  Scroll down to the "install package" entry.  Select it and then click the button on the right that resembles a pencil and paper "edit".  When the new window opens, add this line to the "Command" field.
Quote
gksu -g "/sbin/vinstallpkg %F"
This is assuming that you have gksu in your machine.  I compiled and installed gksu.  The devs have made a app that mimics gksu and is invoked by the same name. It's lighter weight.  Not sure if that made it into the beta at this time.

Remember, this beta really isn't/wasn't ready for the general population yet.  VL5.8 Standard or SOHO are our current "Complete" releases.
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: Package installation from Thunar
« Reply #2 on: October 09, 2007, 02:38:52 pm »

Normally when using Thunar you can right click and install the package.  But that hasn't been implemented yet in the beta (I'm assuming since it doesn't work for you). Mine (earlier than beta) does it at this time as I've added the options.  When using Thunar click "edit" > "configure custom actions".  Scroll down to the "install package" entry.  Select it and then click the button on the right that resembles a pencil and paper "edit".  When the new window opens, add this line to the "Command" field.
Code: [Select]
gksu -g "/sbin/vinstallpkg %F"This is assuming that you have gksu in your machine.  I compiled and installed gksu.  The devs have made a app that mimics gksu and is invoked by the same name. It's lighter weight.  Not sure if that made it into the beta at this time.

Thanks. Had a look and found that there is a command for gksu, but it does not seem to be the full gksu, so it sounds like the app you're talking about. I modified the command field, but it still doesn't work - must be something else upseting it..

Quote
Remember, this beta really isn't/wasn't ready for the general population yet.  VL5.8 Standard or SOHO are our current "Complete" releases.

 ;D I'm not too worried about beta software, but I'm sufficiently unfamiliar with Vector itself to find some things confusing. I've got a copy of 5.8 Standard live, so I may replace the beta with that, at least until I know my way round Vector a biy better.

There are lots of things to like in Vector - the cruxports stuff works well, and I like some of the utilities that are included as well. I'm not sure I'd switch from Zenwalk, but its certainly an interesting alternative.

paul.
Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Package installation from Thunar
« Reply #3 on: October 09, 2007, 02:58:46 pm »

change  gksu -g "/sbin/vinstallpkg %F"
to
/sbin/vsuper /sbin/vinstallpkg %F
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Package installation from Thunar
« Reply #4 on: October 09, 2007, 04:00:13 pm »

change  gksu -g "/sbin/vinstallpkg %F"
to
/sbin/vsuper /sbin/vinstallpkg %F
Pretty slick!  I checked it out...  it'll replace gksu nicely without extra baggage.  And... it uses already implemented "Vasm" code from the vasm-functions.  Pretty neat how vsuper uses the real gksu, or kdesu if they are available.
Rocket science I tell ya!
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: Package installation from Thunar
« Reply #5 on: October 10, 2007, 12:22:50 pm »

change  gksu -g "/sbin/vinstallpkg %F"
to
/sbin/vsuper /sbin/vinstallpkg %F

Thanks. That worked a treat. Though for the moment, I've installed 5.8 Standard Gold so I can isolate some of the problems I was seeing.

 :D I guess there will be a new series of dumb questions shortly...

paul.
Logged