light x and autostart

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

light x and autostart

Post by jameswilson »

Whats peoples opions on the lightest x display type
Im looking at a light one so as to have auto login, and autostart the linux viewer, so my other question is, how to autostart an app when not running kde

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post by SyRenity »

Hi.

XFCE, I guess, will be the perfect choice.

Here are also some articles, how to autostart application there:

http://forums.fedoraforum.org/archive/i ... 27037.html
http://gentoo-wiki.com/HOWTO_Xfce4

It basically says that enough to create a folder named Autostart, like this:

$ mkdir ~/Desktop/Autostart
$ which gkrellm2 > ~/Desktop/Autostart/gkrellm2
$ chmod 755 ~/Desktop/Autostart/gkrellm2

Or

$ ln -s /usr/bin/conky ~/Desktop/Autostart/conky
$ ls -l ~/Desktop/Autostart
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Great Stuf Thanks, Once i have the watchdog written i will add itt o the linux release
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post by SyRenity »

Hi James.

I just remembered of another light x, which is even lighter then xfce. It's called Fluxbox, and can be installed by these instructions http://aleph-null.tv/go.php?doc=20040819-1137-374.xml (which talks about FC2, but can be used with FC3/4 as well, I think). It is used a lot on thin clients, and has a minimal memory and CPU requirements.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

I have played with flux box previously as part of another post getting a scrpt sorted to autoload fiefox montage full screen and restart every 4 hours. BUt it was a bit 'bodgey' for proper use.

Thanks anyway, Have you looked at the linux prog I thought if you worked on playabck ill extend the live view?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post by SyRenity »

Hi.

Yep - I gave it a look. Looks as I need to refresh my VB skills, thought :)

About the development, actually I want to give a shot to connecting the viewer directly to ZM shared memory. This will bypass all the zms thing and will fetch the images directly from the "core", displaying them as as fast as possible. The zms part could be still left - in order to support a remote connection.

I will post updates as it will go.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i agree shared mem access is the ultimate aim but i thought a working version using zms was more of a priority. Once complete we can work on changing the image crab segent to shared mem grab, but i have no idea where to start on this. I was going to look at the zm source to see how zms gets its images but i know about as much cas i know russian ie none!
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Post Reply