Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Thanks for your post.

I installed the Perl script in the scripts directory for nemo running on Mint, and although the script showed up in the context menu, it didn't run (I added some code to write to a file as a test). A bash script in the same location and with the same user/group/permissions did run OK.

My thought was that there was an environment issue. To get the perl script to work I added a perl libraries path like this:

use lib '/home/<myusername>/perl5/lib/perl5/';

I don't know if this was an issue with Mint/nemo or with my installation of perl, but this may help someone else who has the same problem.

Now shrink works from the context menu - at least for images - I haven't tried any pdf's yet.

It was just what I had been looking for when preparing images to share with others, so much easier than opening an image manipulation program and manually having to edit and save a new file. Thanks again.


In reply to Re: Shrink Images and PDFs by anita2R
in thread Shrink Images and PDFs by haukex

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-03-28 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found