Go to advanced search

by rlsj
Wed Mar 22, 2017 8:36 pm
Forum: Graphics programming
Topic: Updated floch Available
Replies: 0
Views: 1047

Updated floch Available

03-3evw.png This is to announce the release of floch, Version 2. floch is a flow-chart creation and edit program designed with simplicity of use as its goal, meant to approach pencil, paper (and eraser) in speed if not ease of production. Although usable on other Linux systems, it was written in C ...
by rlsj
Thu Feb 09, 2017 6:06 pm
Forum: Graphics programming
Topic: A New Flowcharting Program
Replies: 10
Views: 4305

Re: A New Flowcharting Program

Here, below, is a another example of floch capability, an actual working flowchart in support of my current project. To those who are trying floch out: Because I'm working with it, I'm constantly updating floch to fix bugs, relieve awkwardnesses and add desirable features. From now on I'll notify yo...
by rlsj
Tue Jan 31, 2017 1:06 am
Forum: Graphics programming
Topic: A New Flowcharting Program
Replies: 10
Views: 4305

Re: A New Flowcharting Program

To ab1jx: Thank you for the appreciation of floch! Note that the F1 screen is included in the "sumuser.txt" file, which attempts to be a summary user's guide. I agree that a lot more user documentation could and should be supplied. As to the choice of C and X-Windows (plus the Cairo "toy text" stuff...
by rlsj
Thu Jan 12, 2017 8:31 pm
Forum: Graphics programming
Topic: A New Flowcharting Program
Replies: 10
Views: 4305

Re: A New Flowcharting Program

Github. Sigh. I have my own version controls and have not been much of a joiner since "object oriented" rituals took over coding in the Eighties. All I want to do is distribute floch to Pi users who want it. After joining Github (nevermind Bitbucket) with an admittedly cursory review, I find no indi...
by rlsj
Wed Jan 11, 2017 10:37 pm
Forum: Graphics programming
Topic: A New Flowcharting Program
Replies: 10
Views: 4305

Re: A New Flowcharting Program

leftmous.png
leftmous.png (49.7 KiB) Viewed 4201 times
catrar.png
catrar.png (40.61 KiB) Viewed 4201 times
Thank you. I'll investigate Bitbucket and Github later. In the meantime here are a couple screenshots.

--rLsj
by rlsj
Wed Jan 11, 2017 9:23 pm
Forum: Graphics programming
Topic: A New Flowcharting Program
Replies: 10
Views: 4305

A New Flowcharting Program

A couple of points: 1. I need a flowcharting program for complex design, one with such simple inputs it can be arguably fast as pencil and paper -- but of course far more legible. 2. Dia immediately throws a segmentation fault as soon as I start it up on my Raspberry-Pi 2B, and no one seems interest...
by rlsj
Wed May 25, 2016 4:29 pm
Forum: Troubleshooting
Topic: Getting Rid of GTK Warnings
Replies: 0
Views: 252

Getting Rid of GTK Warnings

For program development I like to keep an LXterminal window open on my desktop. When invoking programs from its command line, it fills up with pointless warnings if the programs use GTK, which many do. This is always annoying and can be fatal to a train of thought. I use leafpad to edit general text...
by rlsj
Thu Mar 17, 2016 7:05 pm
Forum: Troubleshooting
Topic: Printer Won't
Replies: 22
Views: 4784

Re: Printer Won't

pm posted: >Should be supported by Gutenprint: ... Maybe not. $ sudo apt-get install printer-driver-gutenprint Reading package lists... Done Building dependency tree Reading state information... Done printer-driver-gutenprint is already the newest version. printer-driver-gutenprint set to manually i...
by rlsj
Thu Mar 17, 2016 6:49 pm
Forum: Troubleshooting
Topic: Printer Won't
Replies: 22
Views: 4784

Printer Won't

RPi-2B w/ 32GB Flash, 1 TB USB HD, 1920X1080 Touch Monitor, running Raspbian, hardwire Ethernet to LAN Trying to print to a Canon MG5400 multifunction printer, network connected, using CUPS. CUPS recognized the printer on the network and the setup went smoothly, except CUPS apparently has no driver ...
by rlsj
Wed Nov 25, 2015 9:19 pm
Forum: Troubleshooting
Topic: Dia Segmentation Fault
Replies: 4
Views: 1324

Dia Segmentation Fault

Running RPI2 32GB, 1920x1080 display, Raspbian:

Installed Dia diagram and flowcharting program, which suffers a segmentation fault immediately upon invocation by command line, simply stops if by menu. Would appreciate any advice.

--rlsj
by rlsj
Tue Aug 18, 2015 10:06 pm
Forum: Beginners
Topic: Screen & Disk Timeouts
Replies: 2
Views: 416

Re: Screen & Disk Timeouts

Got answers. According to man, "DPMSSetTimeouts" will let me control the screen blanking -- if I want to write a program to issue it. The harddrive timeout, which is the one actually causing grief, is apparently an irrepressible "feature" of my Western Digital external hard drive. Sigh. I would mark...
by rlsj
Mon Aug 17, 2015 4:21 pm
Forum: Beginners
Topic: Screen & Disk Timeouts
Replies: 2
Views: 416

Screen & Disk Timeouts

RPi-2B w/ 32GB Flash, 1 TB USB HD, 1920X1080 Touch Monitor, running Raspbian If I sit thinking for ~5 minutes with no input to the Pi, my screen blanks. The USB hard drive stops rotating after even less time. The screen recovers with any key press, screen touch or mouse movement, so I can live with ...
by rlsj
Tue Aug 11, 2015 7:40 pm
Forum: Troubleshooting
Topic: How to Change X11 Color Default
Replies: 13
Views: 2385

Re: How to Change X11 Color Default

Ah, yes. I recall programming for X11 in the Nineties. Contrarily as it sounds, the "server" was my display terminal and the "client" was the office system, connected via 10-megabit Ethernet. Is no one in Linux concerned that this heavy legacy architecture may choke development? In other words, has ...
by rlsj
Tue Aug 11, 2015 4:41 pm
Forum: Troubleshooting
Topic: How to Change X11 Color Default
Replies: 13
Views: 2385

Re: How to Change X11 Color Default

jojopi wrote:
"XPutImage() will likely be slower than XFillRectangle()."

What? Doesn't XPutImage() use the blitter? Come to think of it, I've never seen that word in any Linux manual. Doesn't RPi graphics have a blitter (hardware DMA between CPU and GPU RAM)?

--rlsj
by rlsj
Mon Aug 10, 2015 8:56 pm
Forum: Troubleshooting
Topic: How to Change X11 Color Default
Replies: 13
Views: 2385

Re: How to Change X11 Color Default

PeterO wrote: 'Which part of "The colour is determined by the pixel values in the graphics context passed to XFillRectangle." is causing you trouble ?' The unmentioned part where pixel values passed via XSetForeground do not result in predictable colors. Yeah, I know: "First use XAllocColor, etc." I...
by rlsj
Mon Aug 10, 2015 8:45 pm
Forum: Troubleshooting
Topic: How to Change X11 Color Default
Replies: 13
Views: 2385

Re: How to Change X11 Color Default

jojopi wrote: "If you have a two dimensional array of pixels client-side [an image, in other word?], you use XPutImage() to pass it to the server..." Which suggests that XPutImage has access to 24-bit color when XSetForeground does not. Curious. I'd already noticed that the RPi allows me to "acquire...
by rlsj
Mon Aug 10, 2015 8:29 pm
Forum: Troubleshooting
Topic: How to Change X11 Color Default
Replies: 13
Views: 2385

Re: How to Change X11 Color Default

In response to my statement, "It's just odd that X11 never explains what XFillRectangle uses for filling. Somewhere a document ought to exist!" PeterO wrote: "It does ! The colour is determined by the pixel values in the graphics context passed to XFillRectangle." That's exactly the document I need....
by rlsj
Mon Aug 10, 2015 3:03 pm
Forum: Troubleshooting
Topic: How to Change X11 Color Default
Replies: 13
Views: 2385

Re: How to Change X11 Color Default

Thanks, jojopi, for the framebuffer hints. You wrote, "You are not supposed to make up your own pixel values. You should call XAllocColor() or XAllocNamedColor() first, then pass the XColor.pixel member to XSetForeground()..." I'm impressed with the universal demand for orthodoxy in these fora. The ...
by rlsj
Mon Aug 10, 2015 2:54 am
Forum: Troubleshooting
Topic: How to Change X11 Color Default
Replies: 13
Views: 2385

How to Change X11 Color Default

RPi-2B w/ 32GB flash, 1 TB USB disk, 1920X1080 monitor, Raspbian Writing a medium-sized app in C, using X11+Cairo for graphics, trying to get a range of colors in rectangles as backgrounds for text. XSetForeground(dpy,gc,0x0rrggbb) does not result in the expected colors. Apparently the default on my...
by rlsj
Wed Jul 29, 2015 8:07 pm
Forum: Beginners
Topic: How to Autostart Lxterminal
Replies: 16
Views: 2935

Re: How to Autostart Lxterminal

DougieLawson wrote: "Perhaps you should BEGIN by using GOOGLE first before ranting on here." I gather you mean I should've looked in Google before implying disappointment with your "final-step response." Or did you mean I should BEGIN [your emphasis] with Google instead of this forum? Whatever, I ag...
by rlsj
Wed Jul 29, 2015 4:03 pm
Forum: Beginners
Topic: How to Autostart Lxterminal
Replies: 16
Views: 2935

Re: How to Autostart Lxterminal

Gotcha, kusti8! That is, "Don't expect Linux to show you how." Thanks for the pointer. That article is indeed written for a beginner. A related question: How can I persuade lxterminal to locate the top-left corner of its window at 10,10? If I knew the occult terminology for "top-left corner" I could...
by rlsj
Wed Jul 29, 2015 2:24 pm
Forum: Beginners
Topic: How to Autostart Lxterminal
Replies: 16
Views: 2935

Re: How to Autostart Lxterminal

... You should add [GUI programs to] the LXDE-pi autostart list. That's a list of stuff that's run once when the GUI starts. (Sigh.) That is such a typical final-step response! I remind you that the title of this forum is "Beginners." man never heard of "LXDE." apropos suggests "startlxde." man rec...
by rlsj
Wed Jul 29, 2015 12:20 pm
Forum: Beginners
Topic: How to Autostart Lxterminal
Replies: 16
Views: 2935

Re: How to Autostart Lxterminal

jojopi wrote: You have just admitted that this causes errors at every login, so you should not be recommending it... It is actually a quirk ... that .profile is also read during GUI startup ... In every other distribution [it isn't.] Okay. Let me modify my advice: If you want an automatic terminal ...
by rlsj
Wed Jul 29, 2015 2:19 am
Forum: Beginners
Topic: How to Autostart Lxterminal
Replies: 16
Views: 2935

Re: How to Autostart Lxterminal

Ahem! (Coughs with embarrassment) On a hunch I tried adding an ampersand (&) to the lxterminal line in .profile, with curious results. As soon as I log in to the RPi, just after the login disclaimers, the following lines appear: (lxterminal:2422): Gtk-WARNING **: cannot open display: But when I key ...
by rlsj
Tue Jul 28, 2015 3:46 pm
Forum: Beginners
Topic: How to Autostart Lxterminal
Replies: 16
Views: 2935

How to Autostart Lxterminal

Raspberry Pi 2B 32G flash + 1T USB drive After "startx" I always invoke lxterminal and enlarge it to 80x64 manually. Is it possible to get this done automatically? I've tried adding the line, "lxterminal --geometry=80x64" to .profile. That works except lxterminal takes over the whole screen immediat...

Go to advanced search