Announcement

Collapse
No announcement yet.

compiz + icepanel + nghost = eyecandy for your car

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • compiz + icepanel + nghost = eyecandy for your car

    billygalbreath called me out that I hadn't ever produced this demo. So here it is!

    [media]http://www.youtube.com/watch?v=FWuQeUH7dMA[/media]

    I took the stock LinuxICE skin, added a dbus-send command to rotate compiz. Just shows you can have fun with nghost skinning.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  • #2
    Here's the skin mods I made if anyone is interested:

    next-window.xml:
    Code:
    <skin name="nGhost ICE compiz" version="0.0.1">
    	<item>
    		<name>nghost-next-screen</name>
    		<type>command</type>
    		<action type="send">nghost link:@next@</action>
    	</item>
    	
    		
    	<item>
    		<name>rotate-right</name>
    		<type>command</type>
    		<action type="cmd">icepanel-compiz-next.sh</action>
    	</item>
    
    	<item>
    		<name>goback</name>
    		<type>command</type>
    		<action type="link" >@back@</action>
    	</item>
    	
    </skin>
    icepanel-compiz-next.sh:
    Code:
    #!/bin/sh
    
    dbus-send --print-reply --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/rotate/allscreens/rotate_right_key org.freedesktop.compiz.activate string:'root' int32:`xwininfo -root | grep id: | awk '{ print $4 }'`
    Add next-window.xml to your skin.xml, copy icepanel-compiz-next.sh to /usr/local/bin and go.

    You do the same thing for prev-window but you replace "rotate_right_key" in the dbus send command with "rotate_left_key".
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

    Comment


    • #3
      Sorry to revive such an old thread...

      But I was wondering if this still works? I would love to play around with it.

      Nasa

      Comment


      • #4
        yep. should still work.
        Former author of LinuxICE, nghost, nobdy.
        Current author of Automotive Message Broker (AMB).
        Works on Tizen IVI. Does not represent anyone or anything but himself.

        Comment


        • #5
          Cool...

          Some questions then -- when I looked here:

          http://wiki.openice.org/index.php?ti...nners_Tutorial

          I got the impression that the title of the skin should all match, but this example seems to use the default
          skin and add a new capability to it. However, the xml files have it's name as "nGhost ICE compiz". Is that right? Do I need to create a new skin folder set for this or drop it into the default skin folders?

          Thanks in advance

          Comment


          • #6
            Originally posted by nasa View Post
            Cool...

            Some questions then -- when I looked here:

            http://wiki.openice.org/index.php?ti...nners_Tutorial

            I got the impression that the title of the skin should all match, but this example seems to use the default
            skin and add a new capability to it. However, the xml files have it's name as "nGhost ICE compiz". Is that right? Do I need to create a new skin folder set for this or drop it into the default skin folders?

            Thanks in advance
            i don't recall that the skin titles need to match. I created a copy of the skin and renamed/modified it. Either way will work.
            Former author of LinuxICE, nghost, nobdy.
            Current author of Automotive Message Broker (AMB).
            Works on Tizen IVI. Does not represent anyone or anything but himself.

            Comment


            • #7
              One last question on this...

              How did you change your xsession line to run compiz instead of matchbox?

              Comment


              • #8
                Originally posted by nasa View Post
                One last question on this...

                How did you change your xsession line to run compiz instead of matchbox?
                edit /etc/matchbox/session and change the exec ck-launch matchbox to:

                Code:
                compiz &
                exec ck-launch maximus
                Former author of LinuxICE, nghost, nobdy.
                Current author of Automotive Message Broker (AMB).
                Works on Tizen IVI. Does not represent anyone or anything but himself.

                Comment


                • #9
                  Thanks!! (just a note -- it's ck-launch-session, in case someone else reads this thread. And don't forget to install maximus)

                  Comment


                  • #10
                    Ok,

                    I must be dense , but I have what keyboard shortcut you're using to switch screens.... Can you fill me in?

                    Comment


                    • #11
                      Originally posted by nasa View Post
                      Ok,

                      I must be dense , but I have what keyboard shortcut you're using to switch screens.... Can you fill me in?
                      i use the script in the first post to switch... which just calls dbus-send to compiz. You need to have rotate cube plugin enabled and the dbus bindings enabled in compiz for it to work.
                      Former author of LinuxICE, nghost, nobdy.
                      Current author of Automotive Message Broker (AMB).
                      Works on Tizen IVI. Does not represent anyone or anything but himself.

                      Comment

                      Working...
                      X