Koozali.org: home of the SME Server

It is possible to rotate the terminal display in SME?

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
It is possible to rotate the terminal display in SME?
« on: December 11, 2013, 08:41:42 PM »
I use a KVM on my LAN and I would like to attach the KVM to one of my multiple monitors that I use on my usual client desktop.   This particular display is rotated to portrait rather that landscape so that I can see more scrolling text at a glance.

Is it possible to rotate the basic command line terminal display in Linux and SME especially to get into SME from the command line with a terminal rotated 90 degrees?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: It is possible to rotate the terminal display in SME?
« Reply #1 on: December 12, 2013, 12:26:21 AM »
LANMonkey

Assuming you are using a rotatable display, I thought the display re-oriented input so it displays correctly, whichever way the display is oriented.

I think the question you are asking is whether the console command line "window" can be displayed as a portrait shape rather than landscape shape by default.

I'm not sure about that, sme being Linux most things can be achieved with effort.

More simply though, you can run a putty ssh session & resize/reshape the window to be portrait in shape.

Have you ttied, what happens ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
fbcon?
« Reply #2 on: December 12, 2013, 01:11:35 AM »
OK, I guess my screen is not "rotatable" from the stand.  It is only rotatable like any screen is rotatable by way of the VESA mount and I correct in Windows XP by way of the display settings.

Quote
I think the question you are asking is whether the console command line "window" can be displayed as a portrait shape rather than landscape shape by default.

I'm not sure about that, sme being Linux most things can be achieved with effort.

More simply though, you can run a putty ssh session & resize/reshape the window to be portrait in shape.

Have you ttied, what happens

Of course when I use putty, I am using a GUI client and that is not a problem.  I am talking about the monitor and keyboard connected directly to the computer hosting SME Server.  I would like to rotate that display 90 degrees and correct the command line interface so that it remains correctly oriented with the rotated display.

I have heard of something called "fbcon".  See this article on this application in Ubuntu here:

http://www.happyassassin.net/2011/06/28/tip-o-the-day-console-rotation/

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: fbcon?
« Reply #3 on: December 12, 2013, 02:58:16 AM »
LANMonkey

After a quick search maybe this from
http://centoshelp.org/resources/commands/linux-system-commands/

although xrandr gives "command not found" on sme8

xrandr – Xrandr is used to set the screen size, orientation and/or reflection. The -s option is a small integer index used to specify which size the screen should be set to. To find out what sizes are available, use the -q option, which reports the sizes available, the current rotation, and the possible rotations and reflections. The default size is the first size specified in the list. The -o option is used to specify the orientation of the screen, and can be one of “normal inverted left right 0 1 2 3″. The -x option instructs the server to reflect the screen on the X axis. The -y option instructs the server to reflect the screen on the Y axis. Reflection is applied after rotation. The -help option prints out a usage summary. The –verbose option tells you what xrandr is doing, selects for events, and tells you when events are received to enable debugging.
example: user1@foo ]$ xrandr –verbose (this command shows the current reflection, rotation and other information.)


You could try installing it, but there maybe other implications & security issues to fully consider the ramifications of.

yum install xrandr
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.internode.on.net
 * smeaddons: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: mirror.as24220.net
base                                                     | 1.1 kB     00:00
smeaddons                                                | 2.5 kB     00:00
smeextras                                                | 2.5 kB     00:00
smeos                                                    | 2.7 kB     00:00
smeupdates                                               | 2.5 kB     00:00
updates                                                  | 1.9 kB     00:00
updates/primary_db                                       | 173 kB     00:00
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-server-utils.i386 0:7.1-5.el5_6.2 set to be updated
--> Processing Dependency: libXrandr.so.2 for package: xorg-x11-server-utils
--> Processing Dependency: libXaw.so.7 for package: xorg-x11-server-utils
--> Processing Dependency: libXTrap.so.6 for package: xorg-x11-server-utils
--> Processing Dependency: cpp for package: xorg-x11-server-utils
--> Processing Dependency: libXfontcache.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXmuu.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXmu.so.6 for package: xorg-x11-server-utils
--> Processing Dependency: libXi.so.6 for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86misc.so.1 for package: xorg-x11-server-utils
--> Processing Dependency: libXxf86vm.so.1 for package: xorg-x11-server-utils
--> Running transaction check
---> Package cpp.i386 0:4.1.2-54.el5 set to be updated
---> Package libXTrap.i386 0:1.0.0-3.1 set to be updated
---> Package libXaw.i386 0:1.0.2-8.1 set to be updated
---> Package libXfontcache.i386 0:1.0.2-3.1 set to be updated
---> Package libXi.i386 0:1.0.1-4.el5_4 set to be updated
---> Package libXmu.i386 0:1.0.2-5 set to be updated
---> Package libXrandr.i386 0:1.1.1-3.3 set to be updated
---> Package libXxf86misc.i386 0:1.0.1-3.1 set to be updated
---> Package libXxf86vm.i386 0:1.0.1-3.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                     Arch       Version                Repository  Size
================================================================================
Installing:
 xorg-x11-server-utils       i386       7.1-5.el5_6.2          base       164 k
Installing for dependencies:
 cpp                         i386       4.1.2-54.el5           base       2.7 M
 libXTrap                    i386       1.0.0-3.1              base        22 k
 libXaw                      i386       1.0.2-8.1              base       324 k
 libXfontcache               i386       1.0.2-3.1              base       9.6 k
 libXi                       i386       1.0.1-4.el5_4          base        25 k
 libXmu                      i386       1.0.2-5                base        62 k
 libXrandr                   i386       1.1.1-3.3              base        15 k
 libXxf86misc                i386       1.0.1-3.1              base        11 k
 libXxf86vm                  i386       1.0.1-3.1              base        14 k

Transaction Summary
================================================================================
Install      10 Package(s)
Upgrade       0 Package(s)

Total download size: 3.3 M
Is this ok [y/N]:


« Last Edit: December 12, 2013, 03:08:15 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: It is possible to rotate the terminal display in SME?
« Reply #4 on: January 08, 2014, 09:08:26 PM »
LANMonkey

Did you get anywhere with this ?
Did you try installing & using xrandr ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: It is possible to rotate the terminal display in SME?
« Reply #5 on: January 08, 2014, 09:33:37 PM »
janet, this is still on my agenda.  There are a few things I need to take care of first.  This is all part of an ongoing project.  I have to be sure that my MySQL issues are resolved first.