LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

hiding the GUI of an application

Posted 06-03-2011 at 02:11 AM by neonsignal

The GUI of an X windows application can be 'hidden' by creating a dummy frame buffer:
Code:
Xvfb :display-number -screen 0 1x1x8
This frame buffer can then be used to run the application:
Code:
DISPLAY=:display-number application
Senior Member
Posted in Uncategorized
Views 921 Comments 0 neonsignal is offline
Old

playing video on the desktop background

Posted 06-01-2011 at 08:29 AM by neonsignal

The '-rootwin' flag can be used with mplayer to play moving images on the desktop background.

Code:
mplayer -rootwin -nosound -loop 0 -vf scale=width video.avi
Some desktop environments will need to have the normal background management disabled.
Senior Member
Posted in Uncategorized
Views 6128 Comments 1 neonsignal is offline
Old

domain name resolution of local network names in NT domains

Posted 05-31-2011 at 10:51 PM by neonsignal
Updated 05-31-2011 at 10:52 PM by neonsignal

When operating on a local network that largely has Windows machines, resolving local names enables the use of machine names rather than ip addresses. Names can be hardwired into /etc/hosts; alternatively, they can be gathered from the NT domain using winbind:
Code:
apt-get install winbind
Then edit /etc/nsswitch.conf, and add 'wins' to the 'hosts' line.
Senior Member
Posted in Uncategorized
Views 697 Comments 0 neonsignal is offline
Old

checking 3D acceleration of graphics

Posted 05-31-2011 at 08:45 AM by neonsignal
Updated 05-31-2011 at 08:47 AM by neonsignal

To check whether 3D acceleration is supported by the current graphics drivers, use glxinfo:
Code:
apt-get install mesa-utils
glxinfo
Where acceleration is working, the 'direct rendering' parameter will have the value 'Yes', followed by details about which features are supported.
Senior Member
Posted in Uncategorized
Views 5034 Comments 2 neonsignal is offline
Old

reducing the mail transfer agent footprint

Posted 05-31-2011 at 08:39 AM by neonsignal

For systems with minimal memory, the mail transfer agent exim4 may not be required (since these days, email is often handled by an upstream provider rather than locally).

There still needs to be a relay agent, so this is where esmtp-run comes in. Installing it will remove the exim4 daemon.
Code:
apt-get --purge install esmtp-run
This will provide local mail delivery, but the hostname in the configuration file /etc/esmtprc can be edited to allow delivery...
Senior Member
Posted in Uncategorized
Views 821 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration