WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: issue opening a file from "emelfm" program  (Read 259 times)

Offline JunkYard

  • Full Member
  • ***
  • Posts: 102
issue opening a file from "emelfm" program
« on: June 13, 2026, 02:37:55 PM »
greetings!

So i have a PNG or JPEG file that i want to open from emelfm

I double click on the file and a message comes up at the bottom of the screen with

sh: fl_picsee: not found
---end of out put---

Offline mjmouse

  • Newbie
  • *
  • Posts: 12
Re: issue opening a file from "emelfm" program
« Reply #1 on: June 13, 2026, 11:25:57 PM »
It should be in flpicsee.tcz

Though I haven't tested it. My two tinycore installs are x86_64 and armhf, and flpicsee seems to be only shown for x86 and aarch64.

Unless of course you get the cpp script for it and build it yourself and put under ~/.local/bin

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15657
Re: issue opening a file from "emelfm" program
« Reply #2 on: June 14, 2026, 08:34:38 AM »
If I try to build flpicsee for x86_64 I get this:
Code: [Select]
flpicsee.cpp:779:25: error: 'abs' was not declared in this scope
  779 |                     if (abs(dragx - Fl::event_x()) < 3 && abs(dragy - Fl::event_y()) < 3) {

If I add "#include <cmath>" or "#include <cstdlib>" or "#include <stdlib.h>" the build suceeds, but flpicsee segfaults
« Last Edit: June 14, 2026, 08:38:09 AM by Juanito »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12847
Re: issue opening a file from "emelfm" program
« Reply #3 on: June 14, 2026, 08:46:40 AM »
Hi Juanito
I don't think flpicsee is a requirement:
... sh: fl_picsee: not found
---end of out put---
That's coming from a script, not emelfm.

You can change the default image viewer it uses. I think it's
something like  Right click file name->Properties ....

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15657
Re: issue opening a file from "emelfm" program
« Reply #4 on: June 14, 2026, 08:48:12 AM »
Sure, but it would be good if we could have flpicsee for x86_64  :)

Offline JunkYard

  • Full Member
  • ***
  • Posts: 102
Re: issue opening a file from "emelfm" program
« Reply #5 on: June 15, 2026, 01:46:29 PM »
i dont know weather to proceed any more with this!
But that box with the error code is now missing!
I can load a text file but not an image file

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12847
Re: issue opening a file from "emelfm" program
« Reply #6 on: June 15, 2026, 04:54:20 PM »
Hi JunkYard
You already installed gpicview:
https://forum.tinycorelinux.net/index.php?topic=28161.msg182747#msg182747

Code: [Select]
Start emelfm
Click on the  Configure  button
Select  Filetypes
Under  Description  select  Image Files
Click  Edit
Click  Add
In the  Command  field enter  gpicview
Click  Ok
Under  Actions  select  gpicview
Click  Set Default
Click  Done
Click  OK

gpicview is now the default image viewer.
Double click on an image file and it should open automatically.

Offline JunkYard

  • Full Member
  • ***
  • Posts: 102
Re: issue opening a file from "emelfm" program
« Reply #7 on: June 16, 2026, 03:48:50 PM »
Hi JunkYard
You already installed gpicview:
https://forum.tinycorelinux.net/index.php?topic=28161.msg182747#msg182747

Code: [Select]
Start emelfm
Click on the  Configure  button
Select  Filetypes
Under  Description  select  Image Files
Click  Edit
Click  Add
In the  Command  field enter  gpicview
Click  Ok
Under  Actions  select  gpicview
Click  Set Default
Click  Done
Click  OK

gpicview is now the default image viewer.
Double click on an image file and it should open automatically.

I followed your unstructions and seam to have got it working now thanks!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12847
Re: issue opening a file from "emelfm" program
« Reply #8 on: June 16, 2026, 08:25:15 PM »
Hi JunkYard
You are welcome.