Go to advanced search

by ksharindam
Sun May 24, 2020 12:23 am
Forum: Raspberry Pi OS
Topic: Screen Blanking for a second while playing video
Replies: 5
Views: 173

Re: Screen Blanking for a second while playing video

Gadgetguy wrote:
Sat May 23, 2020 6:30 am
Are the problematic videos local files or internet streams?
All videos are local files.
by ksharindam
Sat May 23, 2020 4:19 am
Forum: Raspberry Pi OS
Topic: Screen Blanking for a second while playing video
Replies: 5
Views: 173

Re: Screen Blanking for a second while playing video

kerry_s wrote:
Sat May 23, 2020 3:54 am
is this in full screen?
have you tried disabling blanking?
It occurs more frequently in fullscreen,
Yes, I tried but with no result.
by ksharindam
Sat May 23, 2020 3:37 am
Forum: Raspberry Pi OS
Topic: Screen Blanking for a second while playing video
Replies: 5
Views: 173

Screen Blanking for a second while playing video

Hello, I am using a Raspberry Pi 4 2GB with a monitor of 1366x768 resolution. Monitor is connected via HDMI to VGA adapter. 1 month ago everything was fine. But now while I am playing video in mpv or omxplayer , the screen goes completely blank for a second. This occurs everytime at some particulars...
by ksharindam
Tue Apr 28, 2020 6:50 pm
Forum: Raspberry Pi OS
Topic: How to avoid random mirror on apt update/upgrade
Replies: 3
Views: 206

Re: How to avoid random mirror on apt update/upgrade

Wow !
I was about to post a question why my "sudo apt update" speed is only 2kB/s. But saw this post, changed repo with a mirror, and problem solved.
by ksharindam
Sun Apr 19, 2020 8:38 am
Forum: Raspberry Pi OS
Topic: How to check if display output is working?
Replies: 1
Views: 105

How to check if display output is working?

I was using a Raspberry PI 4. It was working fine until yesterday. Now it when boots up, for around 20 seconds it works fine. but then the display is flickering. and finally goes blank. my monitor shows no signal. I am using a monitor with VGA port. and it is connected to raspberry pi through a micr...
by ksharindam
Thu Feb 27, 2020 5:40 pm
Forum: Raspberry Pi OS
Topic: Is it possible to unset a mime type?
Replies: 8
Views: 310

Re: Is it possible to unset a mime type?

I solved the problem by editing the file /usr/share/mime/packages/freedesktop.org.xml . and then deleted the line
<glob pattern="*.crdownload"/>
then ran command

Code: Select all

sudo update-mime-database /usr/share/mime
Now the file type is detected correctly by its magic number in a file manager.
by ksharindam
Wed Feb 26, 2020 2:16 pm
Forum: Raspberry Pi OS
Topic: Is it possible to unset a mime type?
Replies: 8
Views: 310

Re: Is it possible to unset a mime type?

I know how to use wget. But some download requires cookies, so if I copy the link and try to download in wget, the download does not start.
Hence, I must have to download in chromium.
by ksharindam
Wed Feb 26, 2020 3:27 am
Forum: Raspberry Pi OS
Topic: Is it possible to unset a mime type?
Replies: 8
Views: 310

Re: Is it possible to unset a mime type?

I can not use wget or some other download managers, because some downloads can not be started separately in a download manager. May be the site requires cookies or something else to start download.
by ksharindam
Tue Feb 25, 2020 2:59 pm
Forum: Raspberry Pi OS
Topic: Is it possible to unset a mime type?
Replies: 8
Views: 310

Is it possible to unset a mime type?

When I download something in chromium browser it adds crdownload extension while downloading. So i can not double click a file and open it until the downloading has finished. So I want to unset that mimetype. So that, the file type will be correctly detected by its magick number, and I will be able ...
by ksharindam
Sat Feb 22, 2020 1:51 pm
Forum: C/C++
Topic: MMAL C++ Library
Replies: 2
Views: 528

Re: MMAL C++ Library

Wow ! You have done really a good job.
Can you provide an example that decodes a jpeg image and gives RGB raw data output?
by ksharindam
Mon Feb 03, 2020 8:40 am
Forum: Raspberry Pi OS
Topic: how to limit internet speed?
Replies: 8
Views: 1251

Re: how to limit internet speed?

I have connected my raspberry pi to a mobile phone hotspot. the phone has 4G data connection.
by ksharindam
Sun Feb 02, 2020 3:53 pm
Forum: Raspberry Pi OS
Topic: how to limit internet speed?
Replies: 8
Views: 1251

Re: how to limit internet speed?

ktb wrote:
Sun Feb 02, 2020 1:54 pm
Did you refresh the YouTube page after configuring wondershaper?
Yes, even I have restarted chromium. But it is still buffering very fast.
by ksharindam
Sun Feb 02, 2020 1:35 pm
Forum: Raspberry Pi OS
Topic: how to limit internet speed?
Replies: 8
Views: 1251

Re: how to limit internet speed?

Why youtube buffering speed is not controlled?
I am using chromium browser.
by ksharindam
Sun Feb 02, 2020 1:34 pm
Forum: Raspberry Pi OS
Topic: how to limit internet speed?
Replies: 8
Views: 1251

Re: how to limit internet speed?

ok, it's working in case of downloading. but when I am watching youtube video, the speed is same. even after throttling the speed, youtube is buffering very fast.
by ksharindam
Sun Feb 02, 2020 6:17 am
Forum: Raspberry Pi OS
Topic: how to limit internet speed?
Replies: 8
Views: 1251

how to limit internet speed?

I am using Raspbian, i want to limit internet speed (browsing and downloading) in my computer.
I have tried to use wondershaper by using the command.

Code: Select all

sudo wondershaper wlan0 128 128
But it is not working.
Is there another way to do it?
by ksharindam
Wed Jan 22, 2020 1:57 pm
Forum: Raspberry Pi OS
Topic: How can I repair corrupted pdf files on raspberry pi?
Replies: 5
Views: 439

Re: How can I repair corrupted pdf files on raspberry pi?

You can use the gs command from ghostscript package.

Code: Select all

gs -o outfile.pdf -sDEVICE=pdfwrite corrupted.pdf
this can fix errors in pdfs.
by ksharindam
Wed Jan 08, 2020 4:36 pm
Forum: Raspberry Pi OS
Topic: No WhatsApp Web in Chromium
Replies: 7
Views: 2722

Re: No WhatsApp Web in Chromium

I have used Whatsapp web in raspbian one year ago. But currently it doesnot work.
It seems whatsapp web has been changed something so that it works with Google Chrome but not with Chromium.
We should report it to whatsapp.
by ksharindam
Sat Dec 14, 2019 5:48 pm
Forum: C/C++
Topic: Cross compiling from arm to amd64
Replies: 10
Views: 696

Re: Cross compiling from arm to amd64

This is what you are looking for...
https://raspberrypi.stackexchange.com/q ... berry-pi-2
by ksharindam
Fri Dec 13, 2019 12:21 pm
Forum: C/C++
Topic: platform independent c++ string length
Replies: 6
Views: 522

Re: platform independent c++ string length

It's not the question you asked, but: To write the identical PDF file on any platform (including a Pi) you should open a new file in binary mode and write the bytes required. Otherwise you will run into trouble when you write the "xref" section, or if you need any compressed or binary objects. Than...
by ksharindam
Fri Dec 13, 2019 11:50 am
Forum: C/C++
Topic: platform independent c++ string length
Replies: 6
Views: 522

Re: platform independent c++ string length

LdB wrote:
Fri Dec 13, 2019 8:53 am
tellp
http://www.cplusplus.com/reference/ostr ... eam/tellp/
In your case read the value stream.tellp();
Tried it, but it returns 9 in both windows and linux.
by ksharindam
Fri Dec 13, 2019 8:13 am
Forum: C/C++
Topic: platform independent c++ string length
Replies: 6
Views: 522

platform independent c++ string length

I am creating a cross platform program which has a pdf writer. I am writing string like this, std::string header; header = "%PDF-1.4\n"; int offset = header.size(); std::ofstream stream; stream.open(filename); stream << header; stream.close(); in both linux and windows, the returned offset is 9. In ...
by ksharindam
Fri Sep 20, 2019 2:52 pm
Forum: OpenGLES
Topic: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)
Replies: 53
Views: 14248

Re: RPi 4 OpenGL ES 3.0 ShaderToy to download (100+ examples)

sudo apt-get install libsdl2-dev sudo apt-get install libsdl2-image-dev sudo apt-get install libsdl2-ttf-dev sudo apt-get install libsdl2-mixer-dev You should be able to dbl-click the ShaderToy executable after unzipping the folder to try it out. You have done really very good job. Here you are pro...
by ksharindam
Thu Sep 19, 2019 2:39 pm
Forum: Raspberry Pi OS
Topic: Buster bug report thread
Replies: 320
Views: 73188

Re: Buster bug report thread

dunno if already reported.... LibreOffice does not work, application does not start even on updated/upgraded setup (as of this writing) 1. delete the directory /home/pi/.config/libreoffice, then try to launch libreoffice. 2. Or Launch libreoffice in terminal and view the output and check the error ...
by ksharindam
Tue Sep 10, 2019 3:52 am
Forum: Raspberry Pi OS
Topic: Raspbian Buster Lite Question
Replies: 4
Views: 447

Re: Raspbian Buster Lite Question

I install XFCE by following these steps... Install xserver-xorg, x11-xserver-utils, lightdm Install udisks2, policykit-1-gnome or lxpolkit Install lxterminal, lxtask, mousepad, gpicview Install xfce4, xfce4-notifyd, xfce4-screenshooter, xfce4-clipman, xfce4-xkb-plugin Install pcmanfm, libfm-modules,...

Go to advanced search