Search found 65 matches

by RSrole
Mon Oct 27, 2025 4:17 pm
Forum: Linux
Topic: Chm reader for linux
Replies: 1
Views: 127

Chm reader for linux

We're porting a major product over to linux. My job on it is to do the documentation. For windows I'm using Help n doc, which works very well. How do you linux experts read chm files in Debian?

Thanks for the suggestions,
Russ
by RSrole
Sun Jul 20, 2025 7:09 pm
Forum: Announcement
Topic: PBWebcam - cross-platform camera access!
Replies: 15
Views: 5538

Re: PBWebcam - cross-platform camera access!

This is fantastic! Thanks for doing all that work!
by RSrole
Mon Jul 14, 2025 10:28 pm
Forum: Linux
Topic: Wrong Path? (was Bug? Not sure)
Replies: 5
Views: 1213

Re: Bug? Not sure

Linux does allow spaces in path name (or so I found out), but you have to enclose the full path in quotes or it will hate you :lol:

MK, your trick worked like a charm.

Thanks to both of you for your replies. Always appreciated
Russ
by RSrole
Mon Jul 14, 2025 5:04 pm
Forum: Linux
Topic: Wrong Path? (was Bug? Not sure)
Replies: 5
Views: 1213

Wrong Path? (was Bug? Not sure)

I'm not sure if this is a Purebasic bug, Linux bug or Russ bug but here's the problem:

I have a program that I wrote in windows. When I made the desktop shortcut the "Start In" is "C:\PureBasic Projects\InfoPad" and the
"Target" is "C:\PureBasic Projects\InfoPad\InfoPad64.exe". In the code I have a ...
by RSrole
Thu Jul 10, 2025 4:38 pm
Forum: Linux
Topic: Purebasic on antix
Replies: 10
Views: 1456

Re: Purebasic on antix

Just for grins, I asked chatgpt to make a script to install Purebasic on AnitX. This is what it spit out. I'm not going to run it, as things are working correctly, but it would be interesting if any of the experts could comment on this and tell us Linux newbies if it's usable:

#!/bin/bash

set -e ...
by RSrole
Thu Jul 10, 2025 4:28 pm
Forum: Linux
Topic: Purebasic on antix
Replies: 10
Views: 1456

Re: Purebasic on antix

Moulder,

Your suggestion did the trick! My problem is not knowing enough about Linux to solve things like this. And Purebasic came up and I compiled a little program that I would like on this and it runs like a champ. It's really an example of why Purebasic is a good choice.

Thanks,
Russ
by RSrole
Thu Jul 10, 2025 3:55 pm
Forum: Linux
Topic: Purebasic on antix
Replies: 10
Views: 1456

Re: Purebasic on antix

Moulder,

Thanks, I'll give that a try and report back.

Just to give the context, I have an old netbook (n150) and an old Acer laptop (celeron) that I was prepping to donate. Neither was up to running windows anymore, as we have all experienced. So I was experimenting with a couple of Linux ...
by RSrole
Wed Jul 09, 2025 11:11 pm
Forum: Linux
Topic: Purebasic on antix
Replies: 10
Views: 1456

Purebasic on antix

I'm trying to install Purebasic on a antix laptop. I've made some progress, but when I run ./purebasic from the /purebasic/compilers folder it says it needs glib 2.38. The internet advises against change the glib version. So my question is, which is the correct Purebasic version to use? I got a 6.12 ...
by RSrole
Wed Mar 19, 2025 11:12 pm
Forum: Feature Requests and Wishlists
Topic: c header files
Replies: 3
Views: 841

c header files

Just a thought, since the backend is now gcc, would it be possible to support c header (.h) files? Or is there a conversion utility that will convert them to pb syntax?
by RSrole
Wed Mar 19, 2025 11:06 pm
Forum: Bugs - IDE
Topic: ExplorerListGadget
Replies: 5
Views: 2333

Re: ExplorerListGadget

If you want to be more generic, you should get and save the gadgetx, gadgety,gadgetWidth and gadgetHeight before freeing it, then use those values. That way you can move things around in the designer and don't have to worry about changing the example code. My guess is that Fred will find the bug and ...
by RSrole
Sat Mar 15, 2025 9:49 pm
Forum: Bugs - IDE
Topic: ExplorerListGadget
Replies: 5
Views: 2333

Re: ExplorerListGadget

fyi, for a short or longer term solution,

FreeGadget(SourceList)
SourceList = ExplorerListGadget(#PB_Any, 10, 30, 220, 220, "", #PB_Explorer_AlwaysShowSelection | #PB_Explorer_MultiSelect | #PB_Explorer_GridLines | #PB_Explorer_FullRowSelect | #PB_Explorer_AutoSort)
SetGadgetFont(SourceList ...
by RSrole
Wed Mar 12, 2025 7:05 pm
Forum: Bugs - IDE
Topic: ExplorerListGadget
Replies: 5
Views: 2333

ExplorerListGadget

Every once in awhile the ExplorerListGadget will change it's flags so the borderless and nofiles are set, even though I never click on those checkboxes in the ide. I haven't found a pattern or some order of operations that causes this, but if I do, I'll post it here.
by RSrole
Mon Dec 02, 2024 5:18 pm
Forum: Raspberry PI
Topic: libgpiod
Replies: 2
Views: 5876

Re: libgpiod

https://www.i-programmer.info/programming/148-hardware/16887-raspberry-pi-iot-in-c-pi-5-memory-mapped-gpio.html#:~:text=The%20Pi%205%20has%20a,be%20running%20with%20root%20privileges.

Has a good explanation for getting to the gpio pins using low level techniques. One thing he uses is a C function ...
by RSrole
Sun Dec 01, 2024 2:37 am
Forum: Raspberry PI
Topic: New Raspberry PI 5
Replies: 6
Views: 10851

Re: New Raspberry PI 5

I had some time in the last few days to mess with this and it seems that the RPi people changed chips that control the gpio from pi4 to pi5. I bought the Pi5. Most of the libraries recommended don't work on the new hardware. Since Pi5 is it's own beast, it would seem that the RPi people should have ...
by RSrole
Sat Nov 30, 2024 9:06 pm
Forum: Raspberry PI
Topic: libgpiod
Replies: 2
Views: 5876

libgpiod

Has anyone translated LibGpioD headers to purebasic? Or is there a way to use c header files directly?