![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Feb 2008
Location: 52°38'41.6"N/1°19'43.6"E
Beans: 1,916
|
Desktop Info App With Html Support (gtk-desktop-info)
ArchLinux : Package support is present in the AUR. All my packages can be seen here: http://aur.archlinux.org/packages.php?SeB=m&K=kaivalagi
IMPORTANT NEWS All the script packages have now been copied into the Conky Hardcore PPA. Any package updates will be provided by the team through this new ppa. The ppa can be found here: https://launchpad.net/~conkyhardcore/+archive/ppa To use this ppa first delete the old ppa files using this: Code:
sudo rm /etc/apt/sources.list.d/m-buck* __________________________________________________ __________________________________________________ ______________________________ If you create any good custom templates and styles, please post them. I plan on adding a custom templates and styles folder in the long term.... Also, any developers out there that want to include a new plugin of thier own, just speak up...I'd always be happy to add functionality if it's any good Intro gtk-desktop-info is a python tool to display various pieces of information directly on the desktop, using plugins for html rendering, with html templates and css style sheets for formatting. The application has been created off the back of existing python scripts used with Conky. The reason for it's creation is a simple one, Conky is great but formatting can suck sometimes...html seemed the obvious choice of formatting giving the user the ability to construct output in a variety of styles based on understood techniques. Please, please, please, before asking any questions have a good read of the attached guide. General points to note about the app are:
Plugins All the plugins have come from my conky tinkering of the past, and have been adapted to output html based information, including weather/moon/wind icons for forecasts, and coverart for music. Plugins are defined using the –plugin option of the main application. Below is a summary of each plugin.
Note: The shell plugin will provide the equivalent functional to that used with exec/execi calls in Conky. The big difference however, is that it sources all the results from execs inside [] from within a template file, meaning that formatting of command line results is much simpler and neater. A lyrics scripts would work nicely in it for example Current Limitations Compiz wallpaper settings are not supported yet, however gnome, xfce, kde3, and kde4 are. If tiling or simple background colours are used, the application will no handle these well. I am attempting to find a better way to handle system wallpaper, independently from the window manager type, so that the only thing this application will be dependant on is gtk, webkit and python libraries. However this may be some time off. If you have issues with wallpapers and the fake transparency is not working, I suggest you use the –wallpaper option, as described in the guide. Basic Install Method 1: Using apt 1) Create the necessary list file for access to the repository by running one of these: Karmic Koala: Code:
sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/conkyhardcore-karmic.list -O /etc/apt/sources.list.d/conkyhardcore-karmic.list Code:
sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/conkyhardcore-jaunty.list -O /etc/apt/sources.list.d/conkyhardcore-jaunty.list Code:
sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/conkyhardcore-intrepid.list -O /etc/apt/sources.list.d/conkyhardcore-intrepid.list Code:
wget -q http://www.kaivalagi.com/ubuntu/ppa/conkyhardcore-key.gpg -O- | sudo apt-key add - Code:
sudo apt-get update && sudo apt-get install gtk-desktop-info Only go this route if you know what you're doing, you are not likely to get much help if you get stuck! 1) Go to https://launchpad.net/~conkyhardcore/+archive/ppa and download the latest tar.gz files for gtk-desktop-info and gtk-desktop-info-data packages. 2) Extract all the contents of the tar.gz files to an appropriate folder of your choice, the default location is /usr/share/gtk-desktop-info 3) Copy the gtk-desktop-info and gtk-desktop-info.guide script files to /usr/bin, edit them to point to the folder you extracted everything to, and make them executable There are several dependencies for the app to run, these are:
Any further details on setup are orientated around the deb package based install, so may differ from what you choose your setup to be, if done using the tarball. Usage Help Refer to the attached guide for a detailed explanation of the application, along with information on the command line usage etc. The guide is also available within the install, it can be opened by running the following (evince is expected to be installed): Code:
gtk-desktop-info.guide Code:
gtk-desktop-info -h Development History Development history going forwards can be seen here https://code.launchpad.net/~m-buck/+...k-desktop-info All packages available from me can be found here: https://launchpad.net/~conkyhardcore/+archive/ppa
__________________
Switched to Arch
Apps:gtk-desktop-info Conky:Conky Guide|My Conky Scripts Sites:Kaivalagi.com|AUR| PPA Last edited by kaivalagi; 4 Weeks Ago at 07:01 AM.. Reason: Updated ppa location |
|
|
|
|
|
#2 |
|
WTF?
![]() Join Date: Jul 2006
Location: Lost!
Beans: 7,155
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
what's the resource usage like?
|
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2007
Beans: 97
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
I can confirm resource usage is low....... comparable to conky........
Kav has done a great job here.... this is a very versatile app already and I know it's gonna get even better. Keep up the great work! Martyn |
|
|
|
|
|
#4 |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Feb 2008
Location: 52°38'41.6"N/1°19'43.6"E
Beans: 1,916
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
The plugins do the same amount of work as their equivalent scripts for conky. The main app only really has to render the html via a webkit view on a refresh call, so wont use more (if any) cpu than conky...Memory may be higher though, I am not sure.
On my system, I see zero cpu usage when the app is idle (in between intervals), with peaks when a refresh takes place of 2-3% maximum I am running a quad code cpu though.... As the app runs instances for each plugin, and most plugins do not need a 1 second refresh rate, the hit on cpu usage for a whole desktop is low...
__________________
Switched to Arch
Apps:gtk-desktop-info Conky:Conky Guide|My Conky Scripts Sites:Kaivalagi.com|AUR| PPA |
|
|
|
|
|
#5 |
|
Spilled the Beans
![]() Join Date: Oct 2007
Beans: 14
Ubuntu 8.10 Intrepid Ibex
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
my my my you've really outdone yourself! great-work!
|
|
|
|
|
|
#6 | |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Sep 2007
Location: 34°35'S - 58°21'W
My beans are hidden!
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
I'm going to be one of the:
Quote:
My HTML skills are ten years old and I was just beginning to "experiment" with stylesheets. {sigh} Talk about feeling old ... even my second grandson didn't do this to me. Job Well Done Award & Medal of Excellence Absolutely great job! Chimo! Bruce
__________________
Last edited by Bruce M.; December 14th, 2008 at 03:45 PM.. |
|
|
|
|
|
|
#7 | |
|
Gee! These Aren't Roasted!
![]() |
Re: Desktop Info App With Html Support (gtk-desktop-info)
Quote:
![]() ![]() ![]() here's a shell.template I use: Code:
<div id="wrapper">
<div class="hugedark" align="right">[date +"%I<span class="hugelight">:</span>%M%p"]</div>
<div class="mediumlight" align="right">[date +"%a, <span class="largedark">%d</span> %B"]</div>
<div class="mediumdark" align="right">Core 0: <span class="mediumlight">[sensors |grep Core0 |cut -c15-16]°C</span> <span class="mediumdark">| Core 1: <span class="mediumlight">[sensors |grep Core1 |cut -c15-16]°C</span> | GPU: <span class="mediumlight">[nvidia-settings -q gpucoretemp |grep Attribute |cut -c47-48]°C</span><br></div>
</div>
__________________
hippyrandall.com | Stargate Wars | HP Laptop This is the first age that's paid much attention to the future, which is alittle ironic since we may not have one. -- Arthur Clarke |
|
|
|
|
|
|
#8 | |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Feb 2008
Location: 52°38'41.6"N/1°19'43.6"E
Beans: 1,916
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
Quote:
You can always use something like bluefish to get a html page sorted out, then edit that in gedit/mousepad to put in the details... Thanks for the award, I am not very good at accepting compliments though I just hope people get something out of it K
__________________
Switched to Arch
Apps:gtk-desktop-info Conky:Conky Guide|My Conky Scripts Sites:Kaivalagi.com|AUR| PPA |
|
|
|
|
|
|
#9 |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Feb 2008
Location: 52°38'41.6"N/1°19'43.6"E
Beans: 1,916
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
Thanks, glad you think so
I just hope it's not too complicated for most...I really don't want to be answering questions all day everyday...gonna need some support personnel I think!
__________________
Switched to Arch
Apps:gtk-desktop-info Conky:Conky Guide|My Conky Scripts Sites:Kaivalagi.com|AUR| PPA |
|
|
|
|
|
#10 |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Jan 2008
Location: Auckland, New Zealand
Beans: 3,020
Ubuntu 9.10 Karmic Koala
|
Re: Desktop Info App With Html Support (gtk-desktop-info)
Wow this looks great, good job!
|
|
|
|
| Bookmarks |
| Tags |
| conky, desktop, gtk, html, python |
| Thread Tools | |
| Display Modes | |
|
|