Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
Hi folks, Ubuntu 7.04 lamp server amd64 Fluxbox desktop Rox-filer - File Manager xpdf How to make the .pdf files on the "File Manager" started with mouse pointer clicking on ...
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546

    How to open a .pdf file

    Hi folks,

    Ubuntu 7.04 lamp server amd64
    Fluxbox desktop
    Rox-filer - File Manager
    xpdf


    How to make the .pdf files on the "File Manager" started with mouse pointer clicking on their icons?

    $ ls -al /home/satimis/.config/rox.sourceforge.net/MIME-types/
    Code:
    total 16
    drwxr-xr-x 2 satimis satimis 4096 2007-08-16 18:23 .
    drwxr-xr-x 4 satimis satimis 4096 2007-08-16 18:11 ..
    -rwxr-xr-x 1 satimis satimis   22 2007-08-16 18:13 application_pdf
    $ cat ~/application_pdf
    Code:
    #! /bin/sh
    exec  "$@"

    Tried changing
    exec "$@"
    as
    exec "xpdf"

    or as
    exec xpdf

    w/o result. xpdf started w/o the file evoked/displayed.


    Pls help. TIA


    B.R.
    satimis

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    In rox, go to the menu and select options, then select "set run action".

    Type xpdf in the box, just like the following example used for gimp:

    http://rox.sourceforge.net/Manual/Ma...html#id2507190
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by ozar View Post
    In rox, go to the menu and select options, then select "set run action".

    Type xpdf in the box, just like the following example used for gimp:

    http://rox.sourceforge.net/Manual/Ma...html#id2507190
    Hi ozar,

    I got it. Thanks


    satimis

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    I love rox. It takes a bit of getting used to but once there, it's hard to beat rox.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by ozar View Post
    I love rox. It takes a bit of getting used to but once there, it's hard to beat rox.
    What about Rox desktop? On this server I run Fluxbox, a light weight desktop.

    The reason for having X on the server is only for running GUI browser for Internet browsing. The other documentation tools I need are a good text editor and screen capture tool which I'm still looking for. I have nano and vi on this server. They are not my favourite editor. Any suggestion? TIA

    B.R.
    satimis

  6. #6
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    I'm not crazy about rox desktop myself, but some really like it. It's getting better though.

    I do like using Fluxbox as a simple and fast window manager.

    Of course, the Fluxbox menu comes with commands built in for some simple screenshots. You can also use the import command directly from the terminal through Imagemagick. It can do all kinds of things.

    For GUI text editors, if you want really simple and fast, try leafpad. Otherwise, gvim or scite might be more to your liking. They both offer some nice syntax coloring.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  7. #7
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Hi ozar,

    Of course, the Fluxbox menu comes with commands built in for some simple screenshots.
    How to make screenshots on Fluxbox menu? Thanks.

    For GUI text editors, if you want really simple and fast, try leafpad. Otherwise, gvim or scite might be more to your liking. They both offer some nice syntax coloring.
    I have "leafpad" installed.


    B.R.
    satimis

  8. #8
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    Quote Originally Posted by satimis View Post
    Hi ozar,


    How to make screenshots on Fluxbox menu? Thanks.
    I'm not running fluxbox right now, but look all through the fluxbox menu and you should see the screenshot options. You have to have imagemagick installed for it to work, though.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  9. #9
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    Satimis, those Fluxbox menu entries for screenshots should look something like this:

    Code:
    [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
    [exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
    ...again, you have to have Imagemagick installed to make them work. I think they are under Tools.

    Hope this helps.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  10. #10
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by ozar View Post
    Satimis, those Fluxbox menu entries for screenshots should look something like this:

    Code:
    [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
    [exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
    ...again, you have to have Imagemagick installed to make them work. I think they are under Tools.

    Hope this helps.
    Hi ozar,


    Installed Imagemagick

    $ apt-cache policy imagemagick
    Code:
    imagemagick:
      Installed: (none)
      Candidate: 7:6.2.4.5.dfsg1-0.14ubuntu0.1
      Version table:
         7:6.2.4.5.dfsg1-0.14ubuntu0.1 0
            500 http://security.ubuntu.com feisty-security/main Packages
         7:6.2.4.5.dfsg1-0.14 0
            500 http://hk.archive.ubuntu.com feisty/main Packages
    $ sudo apt-get install imagemagick
    Password:
    Code:
    .....
    Setting up libjasper-1.701-1 (1.701.0-2) ...
    
    Setting up liblcms1 (1.15-1) ...
    
    Setting up libmagick9 (6.2.4.5.dfsg1-0.14ubuntu0.1) ...
    
    Setting up imagemagick (6.2.4.5.dfsg1-0.14ubuntu0.1) ...
    On Fluxbox:

    Apps -> Viewers -> ImageMagick
    starting "Browse and Slect a Fie.

    Is it starting there? I can't find the "Tool" item on the menu.


    Another side question about "leafpad"
    It is difficult to save a file. The "Save As" window vibrates, difficult to enter "filename" and to click "Save". Any advice? TIA


    satimis

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...