How to convert hdmi to vga output in raspberrypi? - raspberry-pi

Hi i am trying to convert output hdmi to VGA from raspberrypi i am able to achieve this but when i do this my screen from left and right side show some blank screen how can i remove this blank screen from left and right
i used following setting
disable_overscan=1
framebuffer_width=768
framebuffer_height=1280
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=23
hdmi_drive=2
config_hdmi_boost=4
How can i achieve my output
Thanks in advance

Either remove the following line or comment it out.
disable_overscan=1
or
#disable_overscan=1

Related

How to add show more and show less options for attributed text in Flutter App?

In my application I need to show options for Show more and Show less for the attributed text. If there is the simple Text then I could manage the things by using .subString function for first few characters and full text.
But here in my case I am using flutter_html lib. Here if I take data using .subString then attributed text getting disturbed which creates wrong output.
For consideration my text is as mentioned below:
The system requirements are\r\n :\r\n An internet connection – broadband wired or wireless (3G or 4G/LTE)\r\n Speakers and a microphone (required in case of interactive sessions) – Built-in, USB plug-in, or wireless Bluetooth\r\n A webcam or HD webcam - built-in, USB plug-in (required in case of interactive sessions)\r\n CLICK HERE to view the System Requirements for Zoom.\r\n
Consider the image as mentioned below:
Is there something else can be done here to achieve this feature without using .subString feature!!??
Solution 1 :
You can try https://pub.dev/packages/readmore , this plugin.
A Flutter plugin that allow expand and collapse text.
Solution 2 :
Flutter: How to hide or show more text within certain length

How do I hide this message output from knitr?

I'm trying to knit a markdown file and I couldn't hide this message for one of my chunks.
I tried using message=false,warning=false but none of them worked. Any help would be appreciated!
enter image description here

Displaying PPT into RPI

I need to slideshow a PPT(slide by slide) in a RPI, can anyone suggest any python program to display the PPT.
Note:
Tried using "soffice --show ~/sample.pptx --norestore" command - Opens in Slideshow, Doesn't move to the next slide in PPT
Tried "libreoffice --impress sample..ppt" - opens the ppt.
I was able to display the PPT in RPI, by converting the PPT into PDF, PDF to Images and displayed those images using python script.

jQuery-File-Upload: Image preview not being generated for all images

For most images jQuery-File-Upload is displaying a preview image. However, for some large images (14MB) no preview is being displayed. Why is this happening and is there anyway to fix this? Unfortunately I am not seeing any errors on my web dev console when this happens so I have no idea how to debug this issue.
Here is a link to an example image that will not display a preview for me.
This helps me in same situation:
in file
jquery.fileupload-image.js
change parameter
loadImageMaxFileSize: 40000000 /40MB

Display Image that updates automatically on Raspberry Pi

I'm new to Raspberry Pi. I have a small screen attached. I'm looking for a command that I can use to display an image. I got it working using fbi (https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/displaying-images). But here's the trick....I want to be able to have another application change the image that it is displaying. So for example, if I login and run this command:
sudo fbi -T 2 -d /dev/fb1 -noverbose -a theImage.jpg
Then, I have another application that is running as a service change theImage.jpg to be something else....how can I have fbi recognize that the image changed and refresh to the current image. Ideally it would be close to real-time. Any ideas? Am I going to have to write an app to do this instead of using something like fbi?
You could use chromium to display a webpage, and have the image in HTML. Then you could use a javascript loop that would manipulate the image as you see fit using the set interval function. This would involved you installing apache2. You can even tell chromium to open in full-screen (kiosk mode) on boot, so your display is always running.
Here is my preferred method:
sudo leafpad /etc/xdg/lxsession/LXDE-pi/autostart
Add line: #chromium-browser --kiosk --incognito “localhost/index.html”
And your javascript program runs in index.html
I use this for more advanced display purposes but it should work for you.