Mp3car Home Page The mp3Car.com Forums The mp3Car.com Store The mp3Car.com Blog About mp3Car.com    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > LinuxICE


Reply
 
Share Thread Tools Display Modes
Old 08-19-2008, 08:06 PM   #1
Newbie
 
Join Date: Jul 2008
Posts: 16
mrpeenut24 is an unknown quantity at this point
nGhost/LinuxICE rearview cam support and window managing

nGhost is a built in to LinuxICE right? But it's not the wm, it's just a program? Does it support rear-view cameras? I believe it would be possible to just call an app like camorama or whatever, but is it built in (like in the Videos section, instead of the Apps section)? Also, when programs are called (built-in i.e. navit via GPS, and non-built-in via Apps), are they popped up in separate windows, managed by metacity? Or are they managed by nGhost?

I'm just unsure how the windows are managed. I'd really like it all to be handled by the front-end instead of via Gnome/Metacity.
mrpeenut24 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-19-2008, 09:12 PM   #2
licensed to kill
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Deep in the Rockies... coding in caves
Posts: 678
kev000 will become famous soon enough
Quote: Originally Posted by mrpeenut24 View Post
nGhost is a built in to LinuxICE right? But it's not the wm, it's just a program? Does it support rear-view cameras? I believe it would be possible to just call an app like camorama or whatever, but is it built in (like in the Videos section, instead of the Apps section)? Also, when programs are called (built-in i.e. navit via GPS, and non-built-in via Apps), are they popped up in separate windows, managed by metacity? Or are they managed by nGhost?

I'm just unsure how the windows are managed. I'd really like it all to be handled by the front-end instead of via Gnome/Metacity.

nGhost within LinuxICE is the desktop. LinuxICE uses matchbox as it's window manager which forces applications to take fullscreen. nGhost does have the ability to do some window managing, although it isn't a window manager itself. LinuxICE also relies on icepanel to present a persistant set of controls that are always viewable no matter what window has focus. Icepanel also has controls in the LinuxICE skin to control window switching and launch the on screen keyboard.

What happens is this:

1) within the skin, a button is defined as an "ncmd" or nghost-command action type. For our example we'll say it's Navit.
2) user clicks the button and nGhost launches the application remembering it's PID and WindowID.
3) user returns back to nghost to play music or whatever.
4) when the user clicks the "Navit" button again, instead of relaunching the application, nGhost will attempt to bring Navit's window into focus.

I have found that not all window managers support the window managing technique that nGhost uses (which has been abstracted from wmctrl, and rewritten in c++). Also, some applications change their PID on startup (ie firefox), in which case, nGhost won't be able to keep track of it... This may be tweaked later to also query the windowID by either window name or process name in addition to the current pid lookup...

There is no default support rearview cam support in nghost/linuxice. there shouldn't be a problem getting it to work like it should with virtual no effort (besides getting it installed and launching it via icepanel/nghost).

probably more than you asked for hehe.
__________________
OpenICE - Developer
Follow OpenICE development
LinuxICE irc chatroom: #linuxice

Last edited by kev000; 08-19-2008 at 09:19 PM..
kev000 is offline   Reply With Quote
Old 08-20-2008, 04:45 PM   #3
Newbie
 
Join Date: Jul 2008
Posts: 16
mrpeenut24 is an unknown quantity at this point
Excellent, that's just what I wanted to know! I guess I should try it out to see if it's what I want. Do you know if it works on laptops? I'd like to try the interface and I assume a touchpad would work instead of the touchscreen?
mrpeenut24 is offline   Reply With Quote
Old 08-20-2008, 08:15 PM   #4
licensed to kill
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Deep in the Rockies... coding in caves
Posts: 678
kev000 will become famous soon enough
Quote: Originally Posted by mrpeenut24 View Post
Excellent, that's just what I wanted to know! I guess I should try it out to see if it's what I want. Do you know if it works on laptops? I'd like to try the interface and I assume a touchpad would work instead of the touchscreen?

Yes, and yes.
__________________
OpenICE - Developer
Follow OpenICE development
LinuxICE irc chatroom: #linuxice
kev000 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tech Support Calls Rafster Off Topic 8 06-12-2006 11:49 AM
RR 08-30-05 ... Ipod Support & Fixes ... guino Road Runner 41 09-09-2005 05:50 AM
EASY rearview camera support (w/ a little help) Custommx3 MediaCar 120 01-21-2005 05:40 PM


All times are GMT -5. The time now is 05:35 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics