Go to advanced search

by bask185
Thu Apr 13, 2017 8:05 am
Forum: General discussion
Topic: Strange behavior with RS-232 module
Replies: 2
Views: 500

Strange behavior with RS-232 module

I need to eventually hook up a raspberry 3 to a machine via RS232 and now I am still testing using an arduino. I have written a GUI application in Qt and it works fine over USB connection. But over the Rs-232 it is a different story. We ordered 2 RS-232 modules from conrad.com but they are different...
by bask185
Tue Apr 11, 2017 12:17 pm
Forum: General discussion
Topic: Need little help with a shellscript
Replies: 2
Views: 397

Need little help with a shellscript

I'm busy wrting me first bigger-than-2-lines shell script which I have working but I have some questions The code is if ls /media/pi/* then echo "\nUSB fash drive detected" while true; do echo "\ncurrent version =" < ls GUIv* echo "new version = " < ls /media/pi/*/GUIv* echo "\n" read -p "Do you wis...
by bask185
Tue Apr 11, 2017 6:19 am
Forum: General discussion
Topic: Pi 2 Bluetooth Audio IN
Replies: 3
Views: 796

Re: Pi 2 Bluetooth Audio IN

I cannot really help you but I can explain something about how BT works. Bluetooth has more than 1 protocol to send data. file transfer protocol, radio frequeny protocol, audio protocol etc etc. One protocol is called service discovery protocol, this protocol determent which protocol is to be used a...
by bask185
Mon Apr 10, 2017 9:02 am
Forum: General discussion
Topic: Difference between CLI and clicking Icons
Replies: 3
Views: 454

Re: Difference between CLI and clicking Icons

I am going to answer myself ;)

when I run the app with sudo, the problem was gone. Sooo apparantly... just clicking Icons is the linux equivalent of 'run as administrator' in windows.
by bask185
Mon Apr 10, 2017 6:35 am
Forum: General discussion
Topic: Difference between CLI and clicking Icons
Replies: 3
Views: 454

Difference between CLI and clicking Icons

I made an app on my Ubuntu host machine using Qt. Then I export the app to my rpi 3 with the scp command. I ran into 1 bug. When I launched the app all texts were about ~4x too small. Today I launched my app and it was fine, so I figured must be the reboot or something. I built and exported a new ex...
by bask185
Fri Apr 07, 2017 1:28 pm
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 21469

Re: How quit fullscreen application?

...as not one person seems to know to connect a hotkey to a shellscript SkyRise gave you a pointer to the right direction. Have you tried the link suggested in his/her post? His link is a duckduckgo search, which I have done. The reason why I am here was because I could not find a decent explanatio...
by bask185
Fri Apr 07, 2017 12:38 pm
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 21469

Re: How quit fullscreen application?

Sorry I have misread your question. If any combination of keys would work for you, then why not to check for that combination from inside your application and exit the program cosequently ? Gabriele I think I will try this. In Qt I have not used any keystrokes at all. So I think it is a most viable...
by bask185
Fri Apr 07, 2017 12:34 pm
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 21469

Re: How quit fullscreen application?

O I thought I was clear about what i wanted. I'll explain better: I am building a GUI which in the end will be connected to a machine and the whole gets sold to a customer. The GUI will run on the RPI and it will auto launch upon booting. However before we sell it, our engineers need to be able to a...
by bask185
Fri Apr 07, 2017 8:34 am
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 21469

Re: How quit fullscreen application?

yeah.. "Ctrl+Alt+F1 will transfer you to a virtual terminal" seems to work, I ofcourse cannot see the terminal. I found a sort of acceptable way though. If I press alt tab once, the rpi switches to the CLI (which i cannot see) and if I then press Ctrl C, the app closes. But in the future this app wi...
by bask185
Thu Apr 06, 2017 1:39 pm
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 21469

Re: How quit fullscreen application?

funny... alt F4 does work.... now. It was not working this afternoon when I was hitting every possible combination I knew :twisted: I do have to press alt -F4 2x though... But regardless I'd still like to know how I can setup a hotkey and link it to a shell-script. There are many more uses for that ...
by bask185
Thu Apr 06, 2017 12:04 pm
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 21469

How quit fullscreen application?

I made a GUI application in Qt... than spend 48 hours attempting to cross-compile it for a raspberry..which now works. If I run this app it is fullscreen, which is nice because I want this. However, the app has not a close button because I cannot have that end users accidently close the app. I learn...
by bask185
Thu Mar 16, 2017 2:55 pm
Forum: General discussion
Topic: How remove the lightning bulb
Replies: 29
Views: 12938

Re: How remove the lightning bulb

When I said: "I know where it is for", was it not obvious I wanted a software solution? I ment if I can turn it of in software. IMO this bulb is stupid, I am using the Pi all the time without any problems. Regardless! in the end the Pi will be powered by a custom made shield with a switching power s...
by bask185
Wed Mar 15, 2017 12:54 pm
Forum: General discussion
Topic: How remove the lightning bulb
Replies: 29
Views: 12938

How remove the lightning bulb

I have the latest version of raspbian and there is a lightning bulb in the top right of the screen. I know what it is for but what I don't know is how I can get rid of it. It shines through all applications and I cannot have that

So how can I turn it off?
by bask185
Tue Mar 14, 2017 1:48 pm
Forum: Troubleshooting
Topic: Processing on raspberry pi2 extremely slow
Replies: 2
Views: 557

Re: Processing on raspberry pi2 extremely slow

it seems that processing is having a really hard time when it needs to read serial data. The hardware can easily read in ~20 bytes @115200BPS with succes but using serial.read(); to read these bytes from the buffer seems to be running incredibly slow. I tried some example sketches with mouse mouse a...
by bask185
Mon Mar 13, 2017 12:53 pm
Forum: Troubleshooting
Topic: Processing on raspberry pi2 extremely slow
Replies: 2
Views: 557

Processing on raspberry pi2 extremely slow

Today I installed Raspbian on a Pi 2B+ and the latest version of processing (ARM linux variant) but as the title says the IDE alone runs sooo slowly. Scrolling through the text alone lags like mad, and I am not even going to start about the applications. Prior to installing processing IDE I installe...
by bask185
Mon Mar 13, 2017 12:37 pm
Forum: General discussion
Topic: Java on Raspian Lite
Replies: 13
Views: 6371

Re: Java on Raspian Lite

I got my new 16GB SD-card today so this time I am using raspbian and this time the application runs succesfully (though it is a bit slow)
by bask185
Mon Mar 13, 2017 7:20 am
Forum: General discussion
Topic: Java on Raspian Lite
Replies: 13
Views: 6371

Re: Java on Raspian Lite

Image it's a bit blurry but still read-able

The files are all unzipped, idk if I must run a shell script or something?
by bask185
Fri Mar 10, 2017 7:34 am
Forum: General discussion
Topic: Java on Raspian Lite
Replies: 13
Views: 6371

Re: Java on Raspian Lite

I have downloaded and installed java from http://www.oracle.com/technetwork/java/ ... 33151.html but it is still not working.

I propably need to uninstall the previous version of java but I have no clue where I can find these files so I can delete them
by bask185
Thu Mar 09, 2017 3:36 pm
Forum: General discussion
Topic: Java on Raspian Lite
Replies: 13
Views: 6371

Re: Java on Raspian Lite

well I thought that the Pi and raspbian were 64 bit systems, so that was my bad. Anways now I properly installed the 32bit java from https://java.com/en/download/manual.jsp (2nd on the Linux list) and I tried both the 32bit application as well as the -armv6hf variant. But again both apps scream that...
by bask185
Thu Mar 09, 2017 12:28 pm
Forum: General discussion
Topic: Java on Raspian Lite
Replies: 13
Views: 6371

Java on Raspian Lite

I have raspbian jessie lite installed on my Pi 2B+ and I want to run a 64bit processing application. But for that to happen I need java installed. I do not have, nor will I have an internet connection, so I have to manually download java, put it on a USB stick and install it. So I went to https://ww...

Go to advanced search