/dev/null /var/Linux /

Index:

STEP 3: Customizing the look and feel

This requires a bit of an introduction. Most of the configuration is done within the home/user/.osso and .osso-statusbar, however some configurations are done via gconf. See the next step regarding basic things with gconf on Maemo and Step 5 for other tricks about gconf on Maemo.

Anyway, in the .osso directory, there are several files, the appinstaller and keybindings.rc you shouldnt mess with unless you REALLY know what you are doing. The current-gtk* files are pointers to the theme location that you are using so, if you have a device, install xterm via maemo.org and play with the themes, then find out what the files include and use that information in your device.
This is the same for both versions.

The content of hildon-home , however is different. Let me explain quickly how the background image works. It is actually a composite of the status bar on top of the image. for this reason, it is not enough to just install the image you would like to have as a background but you need to copy basically the entire hildon-home folder into your working directory hildon-home folder. Of course you do this AFTER you have set the background on your device and you have files like: original_sidebar.png and hildon_home_bg_user.png in your hildon-home directory on your device. These files are necessary.

Also in the hildon-home folder is a file called applet-manager.conf . This file contains information about the desk applets you have running. We will just add the webshortcut (you can point this neatly to your company’s webmail service for example with a nice company logo or such), and the Google search at the bottom.
To get this configuration, just edit the layout on your device and save the settings, then copy the applet-manager.conf. This also works this way on BOTH devices.
The difference is this: on the 770 you have a file called wshortcut_image_filename.txt which contains the name of the image, wshortcut_url_path.txt which contains the URL and hildon_home_wshortcut.png which is a copy of the image of the shortcut. You need all of them on the 770 in your hildon-home. And yes you need to enter the relevant information into each one of them.

On the N800 this is a bit different. You just need the applet location in the applet-manager.conf and the rest of the info via gconf (explained in the next step). Much simpler actually.
Now please remember, on both devices it is recommended (even necessary) to also have the original images of your background and your webshortcut in the folder home/user/MyDocs/.images/ (<- this is actually the Images folder when you check the device for images, add as many as you want here they will be available as images on the device or as backgrounds for the user).

So, now you have a custom background image, a custom webshortcut , Google search, a specific theme and applications installed. Good start.

Next thing to do is what was a big hit from my client, company’s bookmarks in the Intranet. Since I got frustrated with some of the functionality and mishaps I had with editing the MyBookmarks.xml file (read: like inserting text into the second to last line… didn’t work) I decided the easy approach. The last line in the MyBookmarks.xml file (which is located in home/user/.bookmarks/ btw.) is and anything above is “bookmark” xml :). So I deleted the last line and added my bookmark list which contained as a last line. I named this file add.txt and put it into home/user/apps/ (here is what it COULD look like). Please remember in that xml part the access time needs to be there and unique for each bookmark, don’t ask me why but you will have interesting results if they are not.

Anyway, remember the installation script file? Good, edit it again and add the following lines to the bottom:

sed "$d" < /home/user/.bookmarks/MyBookmarks.xml > /home/user/.bookmarks/MyBookmarks.xml.tmp
echo /home/user/apps/add.txt >> /home/user/.bookmarks/MyBookmarks.xml.tmp
mv /home/user/.bookmarks/MyBookmarks.xml.tmp /home/user/.bookmarks/MyBookmarks.xml

This will first delete the last line, and put the output to a temp file, then add the contents of add.txt to the bottom of that temp file and then move it as the MyBookmarks.xml file. Presto, your corporate bookmarks are added. I am sure there is a more elegant way of doing it, but this one works.
Now comes the tricky part. GCONF!

No Tags

Popularity: 100% [?]

Pages: 1 2 3 4 5 6 7 8