Page 1 of 1
To rotate display screen and set its resolution in Porteus text mode using commands
Posted: 24 Jan 2020, 12:09
by mudit.s
Hi,
I am using Porteus 3.2.2 in text mode, while removing all desktop and GUI packages . I want to rotate the text mode terminal display screen as per the portrait and landscape mode.
I have tried the following command
But its not working in the case of text mode of Porteus while it is working fine with GUI mode.
Any suggestions would be appreciated.
To rotate display screen and set its resolution in Porteus text mode using commands
Posted: 24 Jan 2020, 12:53
by ncmprhnsbl
hi, welcome to porteus forum

.
yeah, xrandr won't work outside of an X session..
don't know for sure, but you could try adding
fbcon=rotate:1 (to rotate 90°) to the boot line(press TAB at the boot screen and add it, or add to the APPEND line of <media>/boot/syslinux/porteus.cfg)
assuming porteus' console is framebuffer and the kernel supports this..
EDIT: maybe this:
Code: Select all
# echo 1 > sys/class/graphics/fbcon/rotate
(rotate clockwise)
and rotate all consoles:
Code: Select all
# echo 1 > sys/class/graphics/fbcon/rotate_all
from:
https://askubuntu.com/questions/237963/ ... n-x-server
To rotate display screen and set its resolution in Porteus text mode using commands
Posted: 27 Jan 2020, 08:50
by mudit.s
Thank you ncmprhnsbl for your suggestions.
I tried with your solutions, but still I am unable to resolve it by applying changes in porteus.cfg file. To get the external card booted from the text mode, I had applied changes in refind.cfg file with path <media>/EFI/BOOT/refind.cfg .
I even tried to add fbcon=rotate:1 inside refind.cfg file, still I am unable to get the the console screen rotated. Please help if you can resolve this.
To rotate display screen and set its resolution in Porteus text mode using commands
Posted: 28 Jan 2020, 05:01
by ncmprhnsbl
seems that support for this isn't enabled in the kernel afaics..
neko has posted one that has it :
Porteus Kernel Builder (Post by neko #75583)
if you're willing to try out the 5.5 version kernel
just extract the tar and swap out the 000-kernel.xzm and the vmlinuz(in the /boot/syslinux folder)
just noticed this:
https://unix.stackexchange.com/question ... tup-debian
using EFI , you may need to pass video=efifb on kernel line as well (assuming that firmware is present)..
To rotate display screen and set its resolution in Porteus text mode using commands
Posted: 31 Jan 2020, 18:35
by mudit.s
Thank you for your help . i am able to rotate screen now in the text mode after changing in kernel afaics
