Start webbrowser in TTY with graphics


/ Published in: Bash
Save to your folder(s)

Ever whanted to have a (almost)full functional browser in your TTY? Here is how


Copy this code and paste it in your HTML
  1. #!/bin/bash
  2.  
  3. # Start the framebuffer on the tty
  4. # On Ubuntu install the package "fbset"
  5. fbset
  6.  
  7. # Initialize your mouse for the framebuffer
  8. # On ubuntu install the package "gpm"
  9. # I assume you have a USB mouse
  10. gpm -m /dev/input/mice -m imps2
  11.  
  12. # Start links2 with framebuffer driver
  13. links2 -driver fb

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.