How to develop linux screen saver - linux

Does anyone have a link or document on how to write a screensaver for Linux?

Here's some info on xscreensaver that you may find of use: xscreensaver
also there's an FAQ here.
There's a simple tutorial here too: simplesquares (from the first link)

This might be of interest to you:
http://www.jwz.org/xscreensaver/faq.html#writing-savers
it's from the xscreensavers homepage, it's sort of the de facto screensaver

Google "xscreensaver", and you can learn from its code, rather than starting from scratch.

Related

How can I enable spell checker in google colab (colab operates on linux OS)?

Can we enable spell checker for markdown cells in google colab in any way? Please help.
I'm not aware of any way of doing so directly within Google Colaboratory, however a usable workaround might be to install a third party spell-checking browser plug-in such as Grammarly or another similar plug-in that works with your preferred browser, I know this probably wasn't the answer you where looking for, but I'm not aware of any better solutions, I truly apologize! But I hope this was at least somewhat helpful!
Sorry I can't be of more help!
If you're comfortable with PyCharm, you can open your ipynb files in it, and it will highlight any spelling errors.
PyCharm professional edition was used to test this.

How to do this feature? (What's the name of this feature?)

When I built x265 today, I found a fancy feature as the following picture.
Here comes the question, what can the feature be named? And how can we realize this feature?
ps. Forgive me for the helpless title and tags. It's a great favor if someone can help me to tag this question correctly.
This "feature" is ccmake program.
Aside from normal cmake functionality it provides possibility to edit CMake Cache with curses interface.

Screen video (screencast) recording on Linux

I was trying to record video of all the monitors or a selection, so was wondering what to use for Linux.
The thoughts that came to mind were screenshot the screen a bunch but this probably isnt the right way to go about it.
I looked at the Cairo docs but can't find anyhting. On Windows I found DirectShow and OSX I found AVFoundation.
edit:
i just came across something: XvGetVideo would this be an option?
You can check out ffscreencast with the --dry parameter which will show you the commands that would be issued. Looks nice for learning.
Did it under linux and it showed me it was using x11Grab

show vim command keys on live demo

I'm going to make a live presentation showing vim capabilities. It's essential to show the audience command keys that I press. I know I can use showcmd, but I find its output to small and to hard to notice to use it in live demo. Is there any way to make it easier to notice? It could be something similar to command keys shown in Railscasts (for instance in this video, 1:11). Do you know anything like that?
For X11, there is key mon. I'm sure there are similar tools for other systems. Otherwise, you could use some sort of virtual keyboard which also shows keypresses.
Here's a recent vimcast article about Drew Neil tackling the same issue -
Vimprint Source, Article
Relevant accompanying talk -
Video, Slides
There is also Screenkey, inspired from key-mon.

Can GVIM have a background image?

I wanted to know if I can place a background image into gVim.
Can this be done programatically?
If you must, I'd suggest something along the following lines:
use a compositing window manager (e.g. Compiz on Linux, Windows Vista and Mac OS probably have analogs)
set a desktop background
make your gvim window transparent
rejoice, your text is now harder to read!
According to a trivial google search for "gvim background image", the answer is "no". I'm basing that off this thread from the Vim mailing list. Looks like they might want someone to implement the feature though, so that would make this question legitimately programming related if you asked HOW to do so yourself :)
It's been possible since 2013: see the vim-bgimg plugin.
Like rmeador said, a google search and a perusal of the vim documentation seems to imply that the answer is no. However, take comfort in knowing that you aren't alone in desiring this feature. This guy wanted the same feature and actually implemented it, at least for win32 and vim 6.2. If you really want to do this, I'd give his patches a look as a starting place, although I don't know how much those sections of the vim codebase have changed between 6.2 and the current version (7.2).
No, not yet.
However on win32 and vim 6.2 this guy implemented it.
MacVim supports transparent backgrounds if you are on that OS.

Resources