Go to advanced search

by bedtime
Sat Jun 29, 2019 1:28 pm
Forum: Official Foundation Display
Topic: Will the RPI 4B fit into the Official 7" tablet case?
Replies: 5
Views: 441

Re: Will the RPI 4B fit into the Official 7" tablet case?

I have the RPI official 7" tablet screen and case. I was wondering if the 4B would fit inside. From the looks of it, it will, but I'd like to know if anyone has tried. Thanks. What official case ?? https://www.raspberrypi.org/products/ Bear in mind the Raspberry Pi 4B has a different connector layo...
by bedtime
Sat Jun 29, 2019 11:58 am
Forum: Official Foundation Display
Topic: Will the RPI 4B fit into the Official 7" tablet case?
Replies: 5
Views: 441

Will the RPI 4B fit into the Official 7" tablet case?

I have the RPI official 7" tablet screen and case. I was wondering if the 4B would fit inside. From the looks of it, it will, but I'd like to know if anyone has tried.

Thanks.
by bedtime
Wed Jun 12, 2019 7:02 pm
Forum: Raspbian
Topic: Unzipping .zip image to SD disk?
Replies: 5
Views: 345

Re: Unzipping .zip image to SD disk?

You'd need the options -c and -d for unzip to use it in a pipe. Likewise for dd, you'd need if=/dev/stdin to deal with input via the pipe. See the manual pages to be sure. I used this and got it working: unzip -p raspbian.img | dd if=/dev/stdin of=/dev/mmcblk0 Thanks ShiftPlusOne. I saw the above r...
by bedtime
Wed Jun 12, 2019 11:54 am
Forum: Raspbian
Topic: Unzipping .zip image to SD disk?
Replies: 5
Views: 345

Unzipping .zip image to SD disk?

The only computer I have that can take an SD card is my laptop which has no hard drive. That laptop runs Linux on a USB stick which is 14.9G. My SD card is 14.9G. The image I used was here: https://downloads.raspberrypi.org/raspbian_full_latest I tried unzipping the image directly to the SD card: # ...
by bedtime
Mon Jun 10, 2019 8:24 pm
Forum: Raspbian
Topic: Kernel update uses 10 more process threads?
Replies: 3
Views: 286

Re: Kernel update uses 10 more process threads?

Those are processes, not threads. PeterO :oops: This is a complete guess. All I know is that my system generally uses 90-92 threads after booting (as per the 'top' command). Now it uses 102. It could easily be something else. Here is a list of those threads on boot: $ ps -A PID TTY TIME CMD 1 ? 00:...
by bedtime
Sun Jun 09, 2019 1:36 pm
Forum: Raspbian
Topic: Kernel update uses 10 more process threads?
Replies: 3
Views: 286

Kernel update uses 10 more process threads?

This is a complete guess. All I know is that my system generally uses 90-92 threads after booting (as per the 'top' command). Now it uses 102. It could easily be something else. Here is a list of those threads on boot: $ ps -A PID TTY TIME CMD 1 ? 00:00:01 systemd 2 ? 00:00:00 kthreadd 3 ? 00:00:00 ...
by bedtime
Sun Jun 09, 2019 1:27 pm
Forum: Official Foundation Display
Topic: Proper value of gpu_mem with Official Raspberry Pi Touch Display?
Replies: 0
Views: 350

Proper value of gpu_mem with Official Raspberry Pi Touch Display?

What is a decent setting for gpu_mem with the Official Raspberry Pi Touch Display? I currently have: /boot/config.txt: # Enable audio (loads snd_bcm2835) dtparam=audio=on gpu_mem=64 #dtoverlay=vc4-kms-v3d #scaling_kernel=8 #dtoverlay=vc4-fkms-v3d The display is 800x480. I use Chrome (with YouTube) a...
by bedtime
Fri Jun 07, 2019 1:39 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Re: Anyone using a Pi (as a tablet) as their main computer?

Thanks for the pics. I like your flat theme! It looks like a simplified version of the Star Trek TNG LCARS displays. Cool to hear. And thanks. :) For social media and net apps, do you just use the epiphany browser or a less busy interface e.g. alpine for email, API for twitter etc? I don't use any ...
by bedtime
Sun Jun 02, 2019 1:46 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Re: Anyone using a Pi (as a tablet) as their main computer?

Anyone else use their Pi tablet as their main computer? As far as using a Pi as a primary computer goes, it's not something I could do or recommend. Even the 3B+ model is aggravatingly slow at times. While it can be done, and I know there are people here who use a Pi as their daily driver, I think ...
by bedtime
Tue May 28, 2019 8:44 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Re: Anyone using a Pi (as a tablet) as their main computer?

It's only fair that I post a few pics, having talked so much about it. With extra-wide border in desktop (status) mode with translucency. In column mode the keyboard overlaps applications: https://cdn.scrot.moe/images/2019/05/28/14.png Laptop mode with columns and vlc. Custom notification window is ...
by bedtime
Sun May 26, 2019 2:50 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Re: Anyone using a Pi (as a tablet) as their main computer?

If I get one, it probably wouldn't be before next year. As for touch screens, I really don't like them. I'm very much a keyboard and trackball/mouse person. (And I detest trackpads, but trackpoints I'm okay with.) I mean this in a good way, but I find that the geeky crowd tend to feel the same. Pi'...
by bedtime
Sun May 19, 2019 8:12 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Re: Anyone using a Pi (as a tablet) as their main computer?

I've been looking for an amoled. Would prefer a larger screen though Me too, but they seem like chicken teeth, a bit rare. ClearInk have some interesting stuff coming, but in the mean time I'm looking at HDMI FHD IPS displays. With IPS displays now down to 0.9" 160x80, it looks like this is the bes...
by bedtime
Wed May 15, 2019 10:46 am
Forum: Advanced users
Topic: VertTwoFingerScroll on RaspberryPi Lite
Replies: 7
Views: 384

Re: VertTwoFingerScroll on RaspberryPi Lite

Is there a way to get one finger scroll to work on the Raspberry Pi? I just need touch screen scrolling without touching the scrollbar on the right side of a window. Chrome browser should allow this by default. I'm typing this message right now on a touchscreen and one finger scroll works perfectly...
by bedtime
Tue May 14, 2019 4:10 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Re: Anyone using a Pi (as a tablet) as their main computer?

Could you try a 3A+ for this? Save a bit of Ethernet chip/hub power and perhaps even use BT keyboard and mouse if needed. The official RPF keyboard has a hub in it :D Already seen people shove Zeros and 3A+ inside them. I have a RPF 7" LCD but Raspbian at 800x480 res feels a bit claustrophobic so I...
by bedtime
Sun May 12, 2019 8:37 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Re: Anyone using a Pi (as a tablet) as their main computer?

I don't think I could use any tablet as my main PC, especially without keyboard or mouse, but it obviously depends on what one tends to do, how one mostly uses their main computer. I tend towards a lot of typing so I can't ever see myself giving up my keyboard. There are 4 USB plugins on a Pi 3b+; ...
by bedtime
Sat May 11, 2019 1:55 pm
Forum: Off topic discussion
Topic: Anyone using a Pi (as a tablet) as their main computer?
Replies: 22
Views: 3166

Anyone using a Pi (as a tablet) as their main computer?

I've been using my RPi 3b+ with the Official Raspberry Pi 7" Touchscreen and a 20Ah battery for a couple months now. I've used no other computer during this time; my Hp i7 has been gathering a respectable amount of dust! Below, I will go into detail about some of the most prominent tablet-like featu...
by bedtime
Thu May 09, 2019 6:14 pm
Forum: Official Foundation Display
Topic: Grayscale output
Replies: 6
Views: 1157

Re: Grayscale output

I've downloaded and compiled setgamma. Perhaps it's me, but I just can't seem to figure out how to use it. I would like to fade the 'red' channel to make the colours more cyan (to go with my system theme).

Any ideas? I'm on 3b+ using the 7" official screen
by bedtime
Wed May 08, 2019 12:14 pm
Forum: Official Foundation Display
Topic: [how to] enable long touch as right click
Replies: 57
Views: 53116

Re: [how to] enable long touch as right click

The shell script from @bedtime gives the following error on my Raspbian 9.8 Stretch machine in Xfce: usage: xinput query-state <device name> /home/pi/bin/rclk.sh: 30: [: =: unexpected operator :?: Sorry about that. Haven't used that script in a long time... If it's a touchscreen device, you can try...
by bedtime
Tue May 07, 2019 4:59 pm
Forum: C/C++
Topic: An incomplete mini notification system in C
Replies: 5
Views: 435

Re: An incomplete mini notification system in C

Yes font selection was the problem. Your interest in "old school" code is admirable, but I have to say, that an equivalent solution produced with modern tools is much easier. PeterO Though, in the world of computers, you often end up paying for that convenience. Most of my programs have a near-inst...
by bedtime
Mon May 06, 2019 10:45 pm
Forum: C/C++
Topic: An incomplete mini notification system in C
Replies: 5
Views: 435

Re: An incomplete mini notification system in C

How do you use this because ./note "hello world" Segmentation fault (core dumped) PeterO i'm very sorry about this. You see, I'm in Canada, and the weather has been most beautiful, so there is a slight chance that I may have partaken in some ungava (43.1% alc.), Premium Canadian Gin, and thus I may...
by bedtime
Mon May 06, 2019 8:20 pm
Forum: C/C++
Topic: An incomplete mini notification system in C
Replies: 5
Views: 435

An incomplete mini notification system in C

I've been making a lightweight notification system on my Pi3b+. It is designed to be extremely efficient and lightweight. Currently, it can (for the most part): - display a notification using Xlib and one other library (I make a lot of my own string functions) - display using justification - print a...
by bedtime
Mon May 06, 2019 7:37 pm
Forum: C/C++
Topic: Using XCB vs X11 on Raspberry Pi
Replies: 2
Views: 294

Re: Using XCB vs X11 on Raspberry Pi

What is your "endgame" 8-) ? To create small simple very effective applications or move up to more complex UI with menus, buttons, selections etc. Maybe instead of moving "down" maybe you should be looking "up" to highlevel toolkits like GTK or FLTK etc. Just to do more tinkering and make small, li...
by bedtime
Mon May 06, 2019 11:20 am
Forum: C/C++
Topic: Lightweight ping program in C code * requires root *
Replies: 6
Views: 474

Re: Lightweight ping program in C code * requires root *

Nit-picking (and is from the original code), but the percentage packet loss can only ever show 0% or 100% if more than one packet is used e.g. #define MAX_NO_PACKETS 10 printf("%d packets transmitted, %d received , %%%d lost\n", nsend, nreceived, (nsend - nreceived) / nsend * 100); nsend and nrecei...
by bedtime
Sun May 05, 2019 6:49 pm
Forum: C/C++
Topic: Lightweight ping program in C code * requires root *
Replies: 6
Views: 474

Re: Lightweight ping program in C code * requires root *

AdamStanislav wrote:
Sun May 05, 2019 6:12 pm
bedtime wrote:
Sun May 05, 2019 1:56 pm
uses only less than 2m virtual memory.
2m? As in two meters? :?
Two megabytes. Just edited it. Thanks.
by bedtime
Sun May 05, 2019 1:56 pm
Forum: C/C++
Topic: Lightweight ping program in C code * requires root *
Replies: 6
Views: 474

Lightweight ping program in C code * requires root *

I found a lightweight ping program that uses Linux sockets to ping a URL or IP. The code spacing left something to be desired, so I cleaned it up a little. It is only 300 lines of code and, according to 'top' and 'top', uses only less than 2MB of virtual memory. It appears to be working fine; when I...

Go to advanced search