View Single Post
TransTech's Avatar
Posts: 671 | Thanked: 876 times | Joined on Mar 2011
#152
Originally Posted by AapoRantalainen View Post
Now I found how to make new widgets from command line, I can't understand why I didn't find any documentation but I needed to run
Code:
/usr/bin/gnu/find  / -type f -exec md5sum {} \; > before.log 2> /dev/null
#manually make new widget
/usr/bin/gnu/find  / -type f -exec md5sum {} \; > after.log 2> /dev/null
/usr/bin/gnu/diff -u before.log after.log
And read the source code of hildon-desktop.

-----
But now there are steps: (these are for developers, so I won't describe them)
Root:
Code:
mkdir /var/lib/gconf/apps/osso/hildon-desktop/applets/test-widget.desktop
 echo '<?xml version="1.0"?>
 <gconf>
         <entry name="position" mtime="1331031074" type="list" ltype="int">
                 <li type="int" value="0"/>
                 <li type="int" value="306"/>
         </entry>
 </gconf>
 ' > /var/lib/gconf/apps/osso/hildon-desktop/applets/test-widget.desktop/%gconf.xml
User: (adding 'getting started'-widget)
Code:
echo "
[test-widget.desktop-0]
X-Desktop-File=/usr/share/applications/hildon-home/tutorial-home.desktop
" >>  /home/user/.config/hildon-desktop/home.plugins
-> Now you can see new widget.

Changing just created widget to the desktop 2
user:
Code:
gconftool-2 --set /apps/osso/hildon-desktop/applets/sukka-widget.desktop-0/view --type int 2
This modification is not visible after: killall hildon-desktop

---
I'm not yet sure does QBW has any mechanics for commandline addings or do we need some hacking there also.
TransTech made nice separated .queen_beecon-files which can be catenated to the end of existing one, so this might be almost ready (in theory).
oh thats great... good job... i think the hardest part is now over.. but we still have half way to go.

btw i will be releasing first non-beta release i.e v1.2.0 on sunday.
change-log:
1. nemo and nemo-maemeemo lockscreens update with extra backgrounds
2. Extra wallpapers
3. Guide with less steps and more easier.
4. QBW files update
5. Theme file update according to new update
6. icon pack steps removed due to possible future update.
7. possible transitions file update
8. TBP (to be planned)

p.s. this will be the last (manual) update before .deb package comes out.

Last edited by TransTech; 2012-03-09 at 20:38.
 

The Following 7 Users Say Thank You to TransTech For This Useful Post: