Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 15 Sep 2014, 21:11
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Solved Can't change ROX run action to XNview
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
1ColdBeer


Joined: 02 Oct 2005
Posts: 36

PostPosted: Sun 02 Oct 2005, 11:37    Post subject:  Solved Can't change ROX run action to XNview  

Hi,
I'm trying to change the rox run action so images open in XNview. XNview works great standalone. Tried right click > run action and changed to xnview. Now when i click BlaBla.jpg XNview opens but the image variable is lost in the shuffle.

Now the run action line only shows the variable with no program name. I tried to change it back to mpaint with no luck.

Lots of reading, poking, proding, clicking and scrolling has not fixed it. Any ideas sure would be great.

Thanks,
1ColdBeer

Last edited by 1ColdBeer on Wed 05 Oct 2005, 08:31; edited 2 times in total
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sun 02 Oct 2005, 15:56    Post subject:  

Did you try /usr/local/share/Choices/MIME-info
Back to top
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 02 Oct 2005, 16:17    Post subject:  

you should be able to right click any jpg, click Set Run Action, and either type in mtpaint so it looks like mtpaint "$1", or find mtpaint in /usr (you can type rox -s `which mtpaint` and drag it to the Set Run Action window

i usually set the rox Run Action for jpgs, gifs, and pngs to xli, because usually i just want to look at the picture ... if i want to open it with mtpaint, i usually use Send To
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sun 02 Oct 2005, 20:26    Post subject:  

Hi,

if you would like a real solution, to let you do what you want, try this one:

http://www.goosee.com/puppy/wikka/RoxFileSelector

Jesse
Back to top
View user's profile Send private message 
1ColdBeer


Joined: 02 Oct 2005
Posts: 36

PostPosted: Mon 03 Oct 2005, 22:02    Post subject:  

Hi,
I tried XnView from the command line and found the path was broke. I tracked that down and found that /root/my-roxapps/XnView/bin/xnview "$1" in the Set run action > Enter a shell command box fixes my problem.

How do i append or link the path in Puppy?

Thanks
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 03 Oct 2005, 22:18    Post subject:  

# echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/root/my-applications/bin
#

So create a symlink in one of the folders, that is in the PATH:

# ln -s /root/my-roxapps/XnView/bin/xnview /root/my-applications/bin/xnview

Now you have a new entry /root/my-applications/bin/xnview that is in the PATH.
It does not waste space, as it is just a link, not a copy.

Mark
Back to top
View user's profile Send private message Visit poster's website 
1ColdBeer


Joined: 02 Oct 2005
Posts: 36

PostPosted: Mon 03 Oct 2005, 23:21    Post subject:  

Hi,

MU wrote:

So create a symlink in one of the folders, that is in the PATH:
# ln -s /root/my-roxapps/XnView/bin/xnview /root/my-applications/bin/xnview


I gave symlink a try and it was a no go too. It does what i want now with the full path in the box so I'll run with that and be happy.

Thanks to all for thhe help,
1ColdBeer
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 03 Oct 2005, 23:44    Post subject:  

Oh, I see...

just installed it.

there is already a symlink /usr/bin/xnview, but it has a path-error.

Replace it with this shellscript:

Code:
#!/bin/sh
/root/my-roxapps/XnView/bin/xnview $1


Don't forget to make it executable:
chmod 755 /usr/bin/xnview

And delete the symlink from my first answer.

Greets, Mark
Back to top
View user's profile Send private message Visit poster's website 
1ColdBeer


Joined: 02 Oct 2005
Posts: 36

PostPosted: Tue 04 Oct 2005, 00:07    Post subject:  

Hi,
That did it.

Thanks again!

Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0547s ][ Queries: 12 (0.0041s) ][ GZIP on ]