Stop Screenly Raspberry Pi from turning off screen - linux

I have set up some Raspberry Pi's in my corporation with Screenly inside. It has simple overlay to show a webpage with some slides.
My problem is the screensaver that turns on when I'm not at work. I tried to add a reboot command to the crontab, edit boot settings with screensaver, etc.
When testing it for few (6-8) hours, the screen never turns black, but overnight when I'm gone, the screen turns black. What can I do to stop this?

There was a similar question posted on the Raspberry Pi StackExchange.
There they suggest installing x11-xserver-utils (with apt-get install), and adding these lines to your ~/.xinitrc file:
xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device
Restart X, and your problem should be solved.

Related

Raspberry Pi Zero W auto login

I am trying to enable a headless auto login on a Raspberry Pi Zero W with Raspbian Booster 10.
I am interested in the Desktop interface, not the Command one, which works with auto login enabled.
I have tried the following:
sudo raspi config
modifying the lightdm conf for autologin-user and timeout
If necessary, i will provide the lightdm logs (cannot pastebin here, for whatever reason).
These have not worked. The login prompt always appears.

Screen blinking while screencasting | ArchLinux and Manjaro

When you try share screen or use screen recorder in Arch Linux or Manjaro, the screen is blinking like in here: https://imgur.com/7dzeiXr
How to solve?
If you use x11, then to solve this problem :
Uninstall package: xf86-video-intel
Remove file (if it exists): /etc/X11/xorg.conf.d/20-intel.conf
Reboot your system
Try your screencast again...

How to reanimate terminal on Raspberry Pi?

When I type on my keyboard ctrl+alt+T or ctrl+alt+F1,2,3 and so on nothing happens.
I have raspbian Buster lite. And I've estblished raspberry to kiosk mode by adding chromium to /etc/xdg/openbox/autostart
Where should I see to find something that doesn't allow to go to terminal?
I found my mistake. In the file /boot/cmdline.txt was fbcon=map:2 when I removed it, everything became OK

How to turn the screen blanking/sleep mode off under CentOS 7?

After a few minutes my freshly installed minimal CentOS installation blanks the screen and disconnects the WiFi. The system wakes back up, when I hit any key. I am under the suspicion that this is related to the setting of the screen blanking and/or sleep mode.
I've found a few hints on the web but most of them revolve around window manager settings (I do not have a window manager installed). One that seems to do something, I already tried:
sudo setterm -powersave off -blank 0
This command does not yield any output but it doesn't fix the problem either: The system keeps to blank the screen after a while.
The iwconfig sleep mode device setting is not available since NetworkManager is installed.
Apparently it worked but not permanently (the setting is reset at reboot). I added the line
setterm -powersave off -blank 0
to my /etc/rc.d/rc.local file and made it executable. This way the setting is set again at boot time.

How can I write a driver for an asus trackpad on linux?

I bought a laptop and installed Linux on it and the trackpad is now not working but it was on Windows. There is no linux driver for it and I thought this could be a good project to write one.
I have read and implemented tutorials on device drivers for simple things (turning on an led on a pandaboard) but I have no idea where to start here. Related questions pointed to commands like modprobe -r psmouse and it seems the trackpad is not seen at all.
Any idea ? the laptop is : Asus R409C.
A temporary fix is to boot with "psmouse.proto=bare" on the kernel cmdline.
$ sudoedit /etc/default/grub
Change GRUB_CMDLINE_LINUX_DEFAULT to add psmouse.proto=bare at the end, and save your modifications.
Then:
$ sudo update-grub
And finally reboot.
i think linux input subsystem can be used to write driver for touchpad. Exact details need to be considered. But most of the input devices can be integrated using input subsystem.

Resources