I'm trying to set up a VM based on Ubuntu Minimal to test out working with the framebuffer/DirectFB. I want the VM to only display what I put on the framebuffer, while I'm controlling the VM over SSH. So ideally, it boots to a blank screen without a console.
I enabled the framebuffer device by adding video=vesafb and vga=0x305 to the kernel parameters. The framebuffer is working, because "cat /dev/urandom > /dev/fb0" (over ssh) fills the screen with noise.
However, the VM still shows console 1/tty1, and even after I fill the framebuffer with data, there is still a blinking cursor.
How do I turn off the framebuffer console?
Try to add console=/dev/null as a kernel parameter, it should help.
Related
Just installed pop_OS 20.10. My laptop is connected to a second monitor, I usually have both monitors display the same image.
Every time I boot it changes my display settings to "Join Displays" and then overlaps the two display (I don't know why overlapping the displays is even possible.
I change the display settings to something reasonable but they change back after a restart.
Is there any proper fix for this, or a hacky fix such as changing display settings in a shell script and adding the shell script to startup? (I couldn't find how to change settings through a shell script)
You will want to disable the HiDPI Daemon which is in the Settings -> Display.
REDDIT thread
I'm developing serial terminal sw and trying to resolve asynchronous screen size.
Below is in detail
There are modem_[a,b] and modem_a's uart1, _b's uart0 are connected(Main console port of both is uart0).
serial_app on modem_a attempts to access to modem_b via serial line.
serial_app uses termios library
And it's possible to serial-access to modem_b then it provides terminal service like putty.
But I change console window size then it starts asynchronous display.
However, I execute resize command then it becomes fixed.
So I checked SIGWINCH and it was triggered on modem_a but not on modem_b. And I've looked for how to pass SIGWINCH through serial terminal or cause SIGWINCH over modem_b controlling terminal settings like ioctl_tty(), escape sequence(\e[8;$Height;$Width, ...) , and so on...
Eventually I failed..
I'd like to maintain synchronous display whenever I change window size.
So you guys, Do you have a solution? or anything else?
I found out why I was unable to automatically synchronize window size and display on serial terminal. It's just there is not a mechanism on serial terminal.
So, we should manually synchronize window by resize command on that.
Reference:
source : http://lists.busybox.net/pipermail/busybox/2009-May/069226.html
source : https://wiki.archlinux.org/index.php/Working_with_the_serial_console
I'm running GNOME on Angstrom Linux on a Beagleboard, and have an issue when the device boots, i'm running the 2013-06-20 image from http://beagleboard.org/latest-images.
Power on, and the screen will display the Beagleboard logo, and continues to boot up. The screen goes black, but instead of loading onto the desktop, the screens (I've tried a few just to make sure) report no output from the device. If i move the mouse/press a key on the keyboard however it wakes up and displays the desktop.
Has anyone else experienced this? Is there a way to prevent this 'sleep mode' (I doubt that's what it is, its just the best phrase I can think of describe this problem) from happening and just to boot up & display the desktop?
Cheers.
This seems to have fixed the issue I was having, firstly I'd suggest updating any outdated packages by opening a terminal and typing
opkg update
this should only take ~1 minute, aftewards type
opkg upgrade
This can take anywhere from ~10minutes to ~6 hours maybe even more, so be patient, just leave the device alone until it has finished.
then open the following file
nano /etc/X11/xorg.conf
and add the following
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Section "Monitor"
Option "DPMS"
Identifier "Builtin Default Monitor"
EndSection
This should also disable any screensavers etc... which was also ideal for my requirements.
Reboot your device, and it should be good to go.
I have laptop-mode-tools 1.61. The config files at /etc/laptop-mode/ have two folders for making laptop-mode-tools to execute scripts, when it detects that it has been switched from AC to battery, and viceversa. I have nvidia propietary driver 310.14 and ubuntu 12.04. the powermizer setting of the nvidia driver is set to adaptative. I want to have it on adaptative when on battery, and on performance mode (no underclocking) when on AC.
As the powermizer setting is changed in runtime with a selection box, I think it's possible to achieve what I want.
I have searched the web for commands to change the nvidia powermizer settings on the fly, as with the GUI, but I only found permanent ways of changing it by touching the xorg.conf.
Is there a command to change the nvidia powermizer setting on the fly?
I'm using a terminal emulator (MATE, to be exact) running on Linux Mint, which is running in a VM hosted by Windows. I'm connected to a bash shell on CentOS Linux via ssh. I'm not using X-anything. I am able to copy and paste, using the mouse, between my MATE emulator and Windows.
What I want is to write scripts that can read from, and write to, the buffer that Mint uses for cutting and pasting. Once upon a time, on some other *nix (Cygwin, perhaps?) it appears like I could read and write /dev/clipboard, but there's no such thing in Mint. Mac OSX has pbcopy and pbpaste, and there are apparently plenty of solutions when using X-Windows, but none of these seem to address my 'terminal' environment, from all my googling.
I'd like to be able to scrape text from my MATE terminal (or a Windows window, which auto-synchronizes its clipboard with that of Mint) using my mouse, and then run a Perl script that filters that text somehow. Or conversely, have a script on Mint populate the clipboard allowing me to paste elsewhere. Can this be done?
The mouse selection is the PRIMARY selection. The copy selection is the CLIPBOARD selection. Both can be accessed with xclip.