How can I display the weather info. (graphics)on a /dev/tty7 ? (no win.manager)
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Okay, unfortunately fbdev is a dead end - it's a way of running X, it cannot be used without X. I think one point needs clarifying. SVGAlib and directFB are two distinct things that should not be mixed. SVGAlib is a venerable old library that handles graphics, more or less by directly interfacing with the graphics through svga standards. DirectFB is a library that makes use of the /dev/fbX devices provided by the operating system. The advantages and disadvantages are listed below.
SVGAlib
-plays to the lowest common denominator of hardware support
-does not require kernel support
DirectFB
-Allows better accelleration
-Requires no special (root) privileges
If kernel support is not a problem, I'd recommend directfb backends. Links2 provides svgalib and directfb, as does mplayer. I am uncertain, but I think zgb supports only svgalib.
Okay, unfortunately fbdev is a dead end - it's a way of running X, it cannot be used without X. I think one point needs clarifying. SVGAlib and directFB are two distinct things that should not be mixed. SVGAlib is a venerable old library that handles graphics, more or less by directly interfacing with the graphics through svga standards. DirectFB is a library that makes use of the /dev/fbX devices provided by the operating system. The advantages and disadvantages are listed below.
SVGAlib
-plays to the lowest common denominator of hardware support
-does not require kernel support
DirectFB
-Allows better accelleration
-Requires no special (root) privileges
If kernel support is not a problem, I'd recommend directfb backends. Links2 provides svgalib and directfb, as does mplayer. I am uncertain, but I think zgb supports only svgalib.
From what you said you wanted, I still recommend just adding a cron job. I think it would be much easier to write a tiny script that kills the last instance of links2 from the pid you stashed in a file, theb launch links2 again, storing its pid in the file.
From what you said you wanted, I still recommend just adding a cron job. I think it would be much easier to write a tiny script that kills the last instance of links2 from the pid you stashed in a file, theb launch links2 again, storing its pid in the file.
Oups', sorry, I do not understand .. (I am newbie)
Have cron run this script every time you want to refresh the display, say every 1/2 hour or whatever. The second line takes care of a socket that's not being cleaned up since we kill links2, instead of letting it clean itself up.
To any gurus, how do you/can you instruct cron to run this on a specific tty.
It may be a less techincal solution, but you can always just run it as root and use control-r to refresh. Could save you some trouble.
Have cron run this script every time you want to refresh the display, say every 1/2 hour or whatever. The second line takes care of a socket that's not being cleaned up since we kill links2, instead of letting it clean itself up.
To any gurus, how do you/can you instruct cron to run this on a specific tty.
It may be a less techincal solution, but you can always just run it as root and use control-r to refresh. Could save you some trouble.
thank you... I'll try that too in meanwhile as alternative of no solution to run links2 -g ... thnkx
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.