Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any Linux command tool to set a console to graphics mode? By graphics mode, I mean the mode you can get with calling the following ioctl to a given tty.

ioctl(fd, KDSETMODE, KD_GRAPHICS);

I've checked:

But, none of them seems to call the ioctl.

There are many applications that use the graphics mode. But these tools does not, of cause, leave the console in the graphics mode. These includes, but not limited to:

  • fbi
  • xserver
  • vbetool

You can search at Ohloh code beta.

share|improve this question
    
You want a tool that just sets KD_GRAPHICS and then does nothing else, exiting and leaving the console in an unusable state? Why would anyone write such a thing? You can put that ioctl inside a main(){} and compile it, but it would be nothing but a self-denial-of-service. –  Alan Curry Aug 28 '12 at 7:13
    
if you run that command on your current console, yes, you are shooting yourself in the foot. But you if you have another vt.... oh well, I guess it was stupid idea. Thanks! –  Yasushi Shoji Aug 28 '12 at 7:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.