The default page in Rekonq provides navigation to your favorite pages, downloads, closed tabs, history and the session manager! But it looks quite blunt with a white background. So I decided to add a feature to Rekonq by which you can choose your own background image for the new tab page. Like the "Add favorite" button on the top right corner of the page, there will be a "Change background image" button on the bottom left corner of the page. On clicking the button, a dialog will appear which will allow you to choose a background image from the previous six images you chose. It will also provide you a field to choose a file from your local disk or from the web. On saving that, the new file will be appended to a xml file from which the browser reads the background image. The xml file will contain the name of the image and the address of the image and the information on which is the current image. Since I'm interested in displaying only six images from history, so I don't need to store more than six names in the xml file at any time. Now when we open the browser for the next time, the browser will check the xml file and load the picture in the background. With the coming of HTML5 and CSS3, features like tile, stretch, fill and center can also be added to the widget.
Tuesday, January 17, 2012
Adding a background image to Rekonq: Concept
Posted by Unknown at 8:20 PM
Labels: KDE, Open Source, Rekonq
Subscribe to: Post Comments (Atom)
Post a Comment