Difference between revisions of "Osd cat"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 6: | Line 6: | ||
The following example worked on SUSE Linux 11.3 | The following example worked on SUSE Linux 11.3 | ||
− | + | <source> | |
− | + | yast -i xosd | |
+ | echo "hello world" | osd_cat -A center -p bottom -f \ | ||
-adobe-helvetica-*-*-*-*-24-*-*-*-*-*-*-* -cgreen -s 5 | -adobe-helvetica-*-*-*-*-24-*-*-*-*-*-*-* -cgreen -s 5 | ||
+ | </source> | ||
The following example worked on Ubutu Linux 11.10 | The following example worked on Ubutu Linux 11.10 | ||
− | + | <source> | |
+ | sudo apt-get install osd_cat | ||
echo "hello world" | osd_cat -A center -p bottom -f -*-*-bold-*-*-*-36-120-*-*-*-*-*-* -cgreen -s 5 | echo "hello world" | osd_cat -A center -p bottom -f -*-*-bold-*-*-*-36-120-*-*-*-*-*-* -cgreen -s 5 | ||
+ | </source> |
Revision as of 08:09, 16 April 2020
osd_cat is a command that writes something directly onto your graphical screen. In the following example "hello world" is written.
Choose the font using xfontsel.
The following example worked on SUSE Linux 11.3 <source>
yast -i xosd echo "hello world" | osd_cat -A center -p bottom -f \ -adobe-helvetica-*-*-*-*-24-*-*-*-*-*-*-* -cgreen -s 5
</source>
The following example worked on Ubutu Linux 11.10 <source>
sudo apt-get install osd_cat echo "hello world" | osd_cat -A center -p bottom -f -*-*-bold-*-*-*-36-120-*-*-*-*-*-* -cgreen -s 5
</source>