Icecat on Mobian on PinePhone
#14
The wrapper script should be something simple like:

#!/bin/sh
LD_PRELOAD=/opt/glibc-2.35/lib/libm.so.6 /usr/lib64/icecat/icecat "$@"

I'm assuming your command line above is correct - I would have expected it to be under /usr/bin or something. The "$@" is so that when you run the script any arguments get passed to icecat. The script needs to be somewhere in the path like /usr/bin, and you'll probably need to be root or use sudo to be able to put it there.
If you call the script /usr/bin/icecat-wrapper then you can make it executable with:

chmod +x /usr/bin/icecat-wrapper

Now in icecat.desktop edit the Exec lines so that instead of calling icecat they call icecat-wrapper instead of icecat, like:

Exec=icecat-wrapper %u
  Reply


Messages In This Thread
Icecat on Mobian on PinePhone - by 3460p - 03-18-2022, 08:20 AM
RE: Icecat on Mobian on PinePhone - by wibble - 03-19-2022, 05:44 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 03-19-2022, 12:01 PM
RE: Icecat on Mobian on PinePhone - by wibble - 03-20-2022, 08:13 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 04-21-2022, 08:54 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 04-23-2022, 09:02 AM
RE: Icecat on Mobian on PinePhone - by clover - 04-23-2022, 02:21 PM
RE: Icecat on Mobian on PinePhone - by 3460p - 04-28-2022, 08:00 AM
RE: Icecat on Mobian on PinePhone - by wibble - 04-25-2022, 03:53 AM
RE: Icecat on Mobian on PinePhone - by wibble - 04-29-2022, 02:56 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 05-05-2022, 01:14 PM
RE: Icecat on Mobian on PinePhone - by wibble - 05-06-2022, 05:07 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 05-06-2022, 11:04 AM
RE: Icecat on Mobian on PinePhone - by wibble - 05-07-2022, 04:28 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 05-14-2022, 04:29 AM
RE: Icecat on Mobian on PinePhone - by wibble - 05-15-2022, 05:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 65 23,381 07-12-2025, 07:46 AM
Last Post: anonymous
  cryptocurrency on mobian/pinephone biketool 33 50,246 06-30-2025, 02:57 PM
Last Post: biketool
  XLibre for Mobian Hiraghm 1 260 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 243,350 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 176 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 360 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 736 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 803 04-29-2025, 02:10 PM
Last Post: mdk
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 7 2,826 02-20-2025, 02:47 PM
Last Post: puffchumpy
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 890 01-15-2025, 08:08 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 1 Guest(s)