View Full Version : Plugin Development
chanders
August 12th, 2006, 01:36 PM
Ok guys, as you know I just released USP with full plugin support. I am hoping that all you talented programmers out ther start coding some plugins!
Some notes:
Plugins and their associated files are stored in ~/.usp/plugins
Plugins must have a .py extension
The plugin name is the filename (without the .py extension) for example the time plugin is USPtime.py so the plugin name is USPtime
Here is the structure of the time plugin USPtime.py
# Basic USP plugin
import gtk
import gtk.glade
import sys
import os
import gobject
import datetime
class pluginclass:
"""This is the main class for the plugin"""
"""It MUST be named pluginclass"""
def __init__(self, __usp=False):
#The Glade file for the plugin
self.gladefile = os.path.join(os.path.dirname(__file__), "myplugin.glade")
#Read GLADE file
self.wTree = gtk.glade.XML(self.gladefile,"window1")
#These properties are NECESSARY to maintain consistency
#throughout USP
#Set 'window' property for the plugin (Must be the root widget)
self.window = self.wTree.get_widget("window1")
#Set 'heading' property for plugin
self.heading = "Time and Date"
#This should be the first item added to the window in glade
self.content_holder = self.wTree.get_widget("eventbox1")
#Specify plugin width
self.width = 150
#Plugin icon
self.icon = 'gnome-set-time'
#Connect event handlers
dic = {"on_window1_destroy" : gtk.main_quit}
self.wTree.signal_autoconnect(dic)
# Set up usp instance pointer
self.__usp = __usp
gobject.timeout_add(1000, self.date_time)
#Actually do something with the plugin
def do_plugin(self):
#This is the MAIN section where all the work is done
pass
def date_time(self):
try:
self.wTree.get_widget("label1").set_label('<span size="large" weight="bold">' + datetime.datetime.today().strftime("%m-%d-%Y") + '</span>')
self.wTree.get_widget("label2").set_label('<span size="30000" weight="bold">' + datetime.datetime.today().strftime("%H:%M:%S") + '</span>')
except:
pass
return True
self.window - the window object
self.heading - the heading for the plugin in USP
self.content_holder - the container (must be eventbox) holding the plugin
self.width - the default width of the plugin
self.icon - the icon to use for the plugin in the plugin-tray
def do_plugin(self): - the MAIN section of the plugin where the work is done
def __init__(self, __usp=False): - __usp is the main USP object. By being creative in plugin development the user should be able to modify nearly all of the paramaters of the USP window and its children
USP currently offers the following API. It will be extended in the future
Filename
- easygconf.py
Methods
- SetGconf(client,type,key,default)
- SetGconfList(client,type,key,default)
client is the default gconf client
type - this is the key type such as string, int, bool
key - the actual key such as /apps/usp/plugins/foo/something
default - the default key to set
Filename
- execute.py
Methods
- Execute(widget,cmd)
widget - widget calling the execute command
cmd - the command to execute in list format, first value is the command and the following is the arguments each as its own item in the list
_profox
August 12th, 2006, 03:12 PM
Wow, this is great!
Okay, any requests? I will do the easiest things first though, so don't make it too hard ;) hehe
Note360
August 12th, 2006, 03:16 PM
Embedded music player
chanders
August 12th, 2006, 03:16 PM
Wow, this is great!
Okay, any requests? I will do the easiest things first though, so don't make it too hard ;) hehe
Write a plugin to show an image (resized to fit the pane) from a folder and change every x mins .... ;)
_profox
August 12th, 2006, 03:32 PM
Lol.. good to have the pin option :P you guys want to watch/use the USP to do everything now lol.. music player :) image viewer :)
Although the image viewer is a good idea.. hmm.. or even better.. a background changer
chanders
August 12th, 2006, 03:46 PM
Lol.. good to have the pin option :P you guys want to watch/use the USP to do everything now lol.. music player :) image viewer :)
Although the image viewer is a good idea.. hmm.. or even better.. a background changer
I love the background changer idea! Think i will toy with it....later though..
Note360
August 12th, 2006, 04:10 PM
I want a plugin that Browses the internet has a kernel terminal and panel.
_profox
August 12th, 2006, 04:45 PM
I want to see USP built inside of USP ;) !! Now that would rock. (would be funny, yes?)
Note360
August 12th, 2006, 06:06 PM
LoL ok now we need real ideas
agurk
August 12th, 2006, 06:12 PM
As has been mentioned before, the holy grail would be an Xorg configurator, although that might be a bit much to chew for a first project. ;)
(perhaps it's also better suited for UCC)
_profox
August 12th, 2006, 08:02 PM
agurk: that won't be necessary anymore when I start my own project with SmartGuide ;) but I'm not going to talk about that yet.. I haven't started programming yet, and it will get really though. But alot of common and uncommon hardware configurations will be simplified
delfick
August 12th, 2006, 09:23 PM
personally i want to see full theming support ! :D
and a.....(trying to think of something for some talented develepor to make a plugin about).....
better ideas will probably come to me later...but what about a simple notepad with the ability to save notes...?
that way if u need to quickly write something down...all that needs to be done is open the menu and type....
:D
btw...THANKYOU CHANDERS !!!!!!!
(someone please send chanders a big, shiny medal :D he deserves one)
Note360
August 12th, 2006, 11:01 PM
maybe a terminal
delfick
August 12th, 2006, 11:33 PM
maybe a terminal
that could actually be a good idea :D
.....also is it possible to put the user-defined icons on the toggle pane now?
i.e. the places.....
Note360
August 13th, 2006, 02:49 PM
Like a quake terminal
mat
August 13th, 2006, 05:16 PM
2 small notes:
The __usp variable is for the next release. It will allow your plugin to access the main usp instance to call stuff. It might not be kept in the future, but right now, since some useful stuff lives in the core, it's needed
to load your gladefile, use the following code: self.gladefile = os.path.join(os.path.dirname(__file__), "myplugin.glade")Absolute paths must die :-)
16777216
August 29th, 2006, 07:18 PM
A small button to configure USP it's self say in the bottom corner of the system pane.
I would like to find plug-ins but don't know where any are, can anyone give me a hint?
Oh, yeah that would be a good idea to have a plug-in installer option in the above mentioned setup button.
A terminal panel would be a good idea.
And, if you go three button have it where you can change the order of the buttons, maybe even have the possibility of having them on different panels. ( exp. apps and places on the bottom system on the top. )
chanders
August 29th, 2006, 07:33 PM
A small button to configure USP it's self say in the bottom corner of the system pane.
I would like to find plug-ins but don't know where any are, can anyone give me a hint?
Oh, yeah that would be a good idea to have a plug-in installer option in the above mentioned setup button.
A terminal panel would be a good idea.
And, if you go three button have it where you can change the order of the buttons, maybe even have the possibility of having them on different panels. ( exp. apps and places on the bottom system on the top. )
USP is fairly young so we havent gotten around to doing a configuration window as yet and also plugins are limited to the ones listed in the New Release thread.
Having a terminal plugin is a great idea and shouldnt be too difficult to implement.
When we add three/more button support, they would be able to be placed anywhere in any panels..
Hope these answered your questions ;)
16777216
August 29th, 2006, 08:22 PM
I don't seem to have any plug-ins, were they left out of 0.41-1?
Nevermind I found and extracted them myself from the deb. ( I wonder why they didn't install? ) :-k
Added the clock, calender and, weather :D but now the menu opens with the right side alighened to the button so that 90% of the menu is off the left side of the screen. ](*,)
Ok, that seems to have fixed it's self. :-D All is good.
linux.photo.geek
August 31st, 2006, 01:12 PM
Wow, this is great!
Okay, any requests? I will do the easiest things first though, so don't make it too hard ;) hehe
How about a way to embed "DeskBar" into the menu?
Will
cmost
September 1st, 2006, 11:33 AM
How about a small panel depicting the user's login Avatar and username. Also, it would be nice if the menu applet button could be made transparent when the panel is transparent. Just my 0.02
Uncle Spellbinder
September 1st, 2006, 12:52 PM
How about a small panel depicting the user's login Avatar and username.
LOVE that idea!
alejandrops
September 1st, 2006, 07:22 PM
Deskbar is imperative!!!!!
its_me_gb
September 2nd, 2006, 09:48 AM
maybe a list of recently used apps/documents?
chanders
September 2nd, 2006, 04:00 PM
How about a small panel depicting the user's login Avatar and username.
Sounds nice, will try to make it in the next release..
How about a way to embed "DeskBar" into the menu?
Will
Planned, but Deskbar is changing right now so I am waiting for the code to settle in Edgy before including a plugin..
maybe a list of recently used apps/documents?
Already on the list ;-) Not too sure of the apps though because gnome needs to be patched for that but we will see what we can hack up ;)
Malac
September 13th, 2006, 08:24 AM
Here are my plugins so far:
Don't forget to backup as some of these files use the same names as the originals.
15721
EDIT:
Re-uploaded tar files with corrected glade file reference.
self.gladefile = os.path.join(os.path.dirname(__file__), "<filename>.glade")
Get plugins here: http://www.ubuntuforums.org/showthread.php?t=272372
chanders
September 13th, 2006, 11:28 AM
Just a quick note, users who are putting plugins such as USP user in their home directory need to change the gladefile to one such as
self.gladefile = os.path.join(os.path.dirname(__file__), "USPuser.glade")
This will allow the plugin to find the gladefile in its directory
Malac
September 13th, 2006, 02:02 PM
Okay, took me all day but here is my terminal emulator first draught.
it requires libvte4 package.
It creates two keys for width and height under /apps/usp/plugins/terminal
Unfortunately these don't alter dynamically yet but I'll work on it.
Other than that it's a terminal. :)
15723
Edit : new USPterm that allows for colours this can be done through gconf-editor or USPconfig (post #32 page 4).
This requires that USPterm be removed from the plugins list then re-added for the changes to take effect. If that doesn't work try a restart of USP and repeat the above. As you can see from the next attachment it does work. :)
15884
Now does a background picture.
Get plugins here: http://www.ubuntuforums.org/showthread.php?t=272372
spockrock
September 13th, 2006, 06:05 PM
Here are my plugins so far:
Don't forget to backup as some of these files use the same names as the originals.
15665
EDIT:
Re-uploaded tar files with corrected glade file reference.
self.gladefile = os.path.join(os.path.dirname(__file__), "<filename>.glade")
sorry Malac but what is different about your computer, time and calender, I see that you have an icon for time but what other difference is there?
Malac
September 14th, 2006, 04:56 AM
sorry Malac but what is different about your computer, time and calender, I see that you have an icon for time but what other difference is there?
Sorry I should have explained better.
USPcomputer.
Can switch off the individual buttons in the settings panel, so if you didn't need the theme button or time button showing it can be hidden under gconf /apps/usp/plugins/computer, e.g. hide_theme, hide_date, etc.
Some minor tweaks with the time part of that so it accesses the time plugin settings in gconf.
USPtime
Has options to change the way the time and date are displayed. These can be set under gconf /app/usp/plugins/datetime and are for changing the date font size, date bold text or not, time font size, time bold or not, displaying the date in word form, showing the day of the week and also I got the eu_date_format to work which shows the date in the format dd-mm-yyyy instead of mm-dd-yyyy.
Plus you can choose your date seperator if you would like a "/" character instead of "-" character.
USPcalendar
The only difference is that it now opens evolution if you click on the calendar (like when you click on the one that pops up from the clock.
Although it doesn't as yet open on the date clicked as I haven't figured out how to transform the calendars string into one recognised by evolution command line.
Hope this helps.
spockrock
September 15th, 2006, 03:16 AM
Sorry I should have explained better.
USPcomputer.
Can switch off the individual buttons in the settings panel, so if you didn't need the theme button or time button showing it can be hidden under gconf /apps/usp/plugins/computer, e.g. hide_theme, hide_date, etc.
Some minor tweaks with the time part of that so it accesses the time plugin settings in gconf.
USPtime
Has options to change the way the time and date are displayed. These can be set under gconf /app/usp/plugins/datetime and are for changing the date font size, date bold text or not, time font size, time bold or not, displaying the date in word form, showing the day of the week and also I got the eu_date_format to work which shows the date in the format dd-mm-yyyy instead of mm-dd-yyyy.
Plus you can choose your date seperator if you would like a "/" character instead of "-" character.
USPcalendar
The only difference is that it now opens evolution if you click on the calendar (like when you click on the one that pops up from the clock.
Although it doesn't as yet open on the date clicked as I haven't figured out how to transform the calendars string into one recognised by evolution command line.
Hope this helps.
thank you for clarifying I am definatly gonna update the plugins with yours.
Malac
September 16th, 2006, 07:28 AM
Okay another "experimental" plugin.
USPconfig
This has settings to alter USP instead of opening gconf-editor.
It works with my current set of plugins, post #26 and post #28 on page 3 of this thread.
As I don't have an untouched copy of USP 0.41.1 or the standard plugins I haven't tested it on them. Worst case you can still go back to gconf-editor. :)
Here are some screenshots:
15806158071580815809
I have not done the syscommandx actions on purpose.
I think I've got all the other relevant settings, if I've missed any settings out please let me know.
Hope you enjoy.
Edit: new USPconfig files to work with USPterm plugin (#28 page 3) allowing changing terminal colours as well.
This requires the terminal to be removed from the plugins list then put back in for colour changes to show up. If that doesn't work restart USP and repeat the above as you can see from the pic on the USPterm post (#28 page 3) it does work. :)
Edit Again: This plugin has now been removed see post #66 on page 7 for the application version.
delfick
September 16th, 2006, 08:46 AM
Okay another "experimental" plugin.
USPconfig
This has settings to alter USP instead of opening gconf-editor.
It works with my current set of plugins, post #26 and post #28 on page 3 of this thread.
As I don't have an untouched copy of USP 0.41.1 or the standard plugins I haven't tested it on them. Worst case you can still go back to gconf-editor. :)
Here are some screenshots:
15806158071580815809
I have not done the syscommandx actions on purpose.
I think I've got all the other relevant settings, if I've missed any settings out please let me know.
Hope you enjoy.
that looks awsome :D
how do i install it?
Malac
September 16th, 2006, 09:20 AM
that looks awsome :D
how do i install it?
Untar the USPconfig.tar.gz into either /home/YOURUSERNAME/.usp/plugins hidden folder or as root in /usr/lib/python2.4/site-packages/usp/plugins.
And add USPconfig to the plugins list in gconf-editor at /apps/usp/plugins_list.
delfick
September 16th, 2006, 09:33 AM
Untar the USPconfig.tar.gz into either /home/YOURUSERNAME/.usp/plugins hidden folder or as root in /usr/lib/python2.4/site-packages/usp/plugins.
And add USPconfig to the plugins list in gconf-editor at /apps/usp/plugins_list.
I did just that, put it into ~/.usp/plugins and added USPconfig to the plugins list and i get this (see attached screenshot)
Malac
September 16th, 2006, 09:42 AM
I did just that, put it into ~/.usp/plugins and added USPconfig to the plugins list and i get this (see attached screenshot)
Can you try to put the files in /usr/lib/python2.4/site-packages/usp/plugins
and see if that works.
If not you may have to install my other plugins as this may rely on them in a way I haven't thought of.
delfick
September 16th, 2006, 10:08 AM
Can you try to put the files in /usr/lib/python2.4/site-packages/usp/plugins
and see if that works.
If not you may have to install my other plugins as this may rely on them in a way I haven't thought of.
K then done that....at first it didn't work, but now it does :confused:
o well....good work.
Though is it possible for this to be made seperate to the menu, cause otherwise my menu is too long :p :D (not too long when i click the title, but when i'm trying to configure the panel it takes up to much room)
Also, with the USPterm plugin, can the terminal be made to use the same colours as the menu? cause as you can see from the screenshot, it looks a bit out of place.
and it doesn't like having "exit" being executed in it :p
(other than that, fantastic :D)
and are you (or chanders or whoever) able to add an option to the places plugin so that the places appear as icons in the toggle pane please?
thnx
Malac
September 17th, 2006, 12:30 PM
Posted updated USPterm and USPconfig.
The USPterm now does colour and the USPconfig has been altered to take that into account.
So as not to upload multiple versions I've changed the originals at :
USPterm is at post #28 page 3
USPconfig is at post #32 page 4
chanders
September 17th, 2006, 01:05 PM
and are you (or chanders or whoever) able to add an option to the places plugin so that the places appear as icons in the toggle pane please?
thnx
The toggle pane is not a plugin per se. It is actually PART of the USP app. If you would like to have a button plugin just so you can have buttons with icons only, just like the toggle pane, I guess we could get a plugin for that. As of now and USP2 you wouldnt be able to add anything to the togglepane not related to the workings of USP.
fantan
September 17th, 2006, 05:42 PM
Hi malac,
Now you see, soon happened exacly I was afraid from.
I've translated the whole USPconfig.glade file, now it is totally in Hungarian in my USP, but today you did a modification (concerning to colorized USPterm), and if I would like to change to the new version of the USPconfig then I'll have to translate the USPconfig.glade file again. I did a comparison of the translated and the new files and found quite a lot differences. The problem is that I don't know, which part of the new file cut and insert to the translated and translate jutst the inserted part insteed of translate the whole new file again.
Have you got any idea not to repeat the translation every tme after any modification?
fantan
Malac
September 17th, 2006, 05:47 PM
Hi malac,
Now you see, soon happened exacly I was afraid from.
I've translated the whole USPconfig.glade file, now it is totally in Hungarian in my USP, but today you did a modification (concerning to colorized USPterm), and if I would like to change to the new version of the USPconfig then I'll have to translate the USPconfig.glade file again. I did a comparison of the translated and the new files and found quite a lot differences. The problem is that I don't know, which part of the new file cut and insert to the translated and translate jutst the inserted part insteed of translate the whole new file again.
Have you got any idea not to repeat the translation every tme after any modification?
fantan
Hi fantan,
Sorry about that, attach a copy of the translated (old) USPconfig.glade file to a post here and I will update mine. Then any ones I change in the future will be with the translations.
If you don't mind, I can first send a list of text to you when/if I make any other alterations and if you could translate them, I will put them in the glade file before I upload it.
Hope this helps.
fantan
September 17th, 2006, 06:23 PM
Hi malac,
OK, your idea is very good! Of course it will help in the future.
Now take the translated USPconfig.glade file:
15894
OK, you can send a list of text to me when/if you make any other alterations and I'll translate them, and you can put them in the glade file before upload it.
Do you like this solution?
fantan
chanders
September 17th, 2006, 08:38 PM
Hi malac,
Now you see, soon happened exacly I was afraid from.
I've translated the whole USPconfig.glade file, now it is totally in Hungarian in my USP, but today you did a modification (concerning to colorized USPterm), and if I would like to change to the new version of the USPconfig then I'll have to translate the USPconfig.glade file again. I did a comparison of the translated and the new files and found quite a lot differences. The problem is that I don't know, which part of the new file cut and insert to the translated and translate jutst the inserted part insteed of translate the whole new file again.
Have you got any idea not to repeat the translation every tme after any modification?
fantan
LOL, this is one of the reasons why I thought that translation should come later on when everything is settled down. USP is changing so fast and with so much development going on it would be very difficult to keep up with the translation... but if you guys come up with a method that works for you, great!
delfick
September 18th, 2006, 04:46 AM
Posted updated USPterm and USPconfig.
The USPterm now does colour and the USPconfig has been altered to take that into account.
So as not to upload multiple versions I've changed the originals at :
USPterm is at post #28 page 3
USPconfig is at post #32 page 4
thnx for that :D much better... :D
The toggle pane is not a plugin per se. It is actually PART of the USP app. If you would like to have a button plugin just so you can have buttons with icons only, just like the toggle pane, I guess we could get a plugin for that. As of now and USP2 you wouldnt be able to add anything to the togglepane not related to the workings of USP.
could it be made so the toggle pane is broken into three plugins (like one of the panels, except anorexic (thin)) so that i could have the compact_system_management, USPshortcuts (what you suggested, a plugin just to display user-defined shortcuts (icon only)) and the normal plugin toggle part all in the same bar on the left?
that would be awsome
WiLLiE
September 18th, 2006, 02:36 PM
I get the Plugin "USPconfig" not found! and Plugin "USBterm" not found! error messages.
I first extracted the files to ~/.usp/plugins, and when that didn't work, I moved them to /usr/lib/python2.4/site-packages/usp/plugins.
Still no go.
Running usp in a window from a term outputs:
Warning! - Icon for item not found!
Dir exist
Dir exist
Dir exist
Application added - /home/willie/.usp/applications/firefox.desktop
Application added - /home/willie/.usp/applications/mozilla-thunderbird.desktop
Application added - /home/willie/.usp/applications/gaim.desktop
Application added - /home/willie/.usp/applications/azureus.desktop
Application added - /home/willie/.usp/applications/opera.desktop
Application added - /home/willie/.usp/applications/frozen-bubble.desktop
Application added - /home/willie/.usp/applications/gcompizthemer.desktop
Application added - /home/willie/.usp/applications/listen.desktop
Application added - /home/willie/.usp/applications/totem.desktop
Place added - /home/willie/.usp/places/-home-willie-Desktop-Stuff.desktop
Place added - /home/willie/.usp/places/-home-willie-Done.desktop
Place added - /home/willie/.usp/places/-mnt-Goamania.desktop
Place added - /home/willie/.usp/places/-mnt-Moviez.desktop
Place added - /home/willie/.usp/places/-mnt-Muzax.desktop
Place added - /home/willie/.usp/places/-mnt-Picz.desktop
Place added - /home/willie/.usp/places/-mnt-Share.desktop
RuntimeError: called outside of a mainloop
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:232: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/appgeneric_font_size',self.wTree.get_widget("GenFontSizeSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:235: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/appname_font_size',self.wTree.get_widget("NameFontSizeSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:241: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/apps_icon_size',self.wTree.get_widget("AppIconSizeSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:238: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/plugins/applications/height',self.wTree.get_widget("AppsHSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:244: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/border_width',self.wTree.get_widget("BorderSizeSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:247: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/place_font_size',self.wTree.get_widget("PlaceFontSizeSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:250: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/place_icon_size',self.wTree.get_widget("PlaceIconSizeSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:253: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/plugins/places/height',self.wTree.get_widget("PlacesHSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:354: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/plugins/computer/settings_font_size',self.wTree.get_widget("FontSizeSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:433: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/plugins/user/settings_font_size',self.wTree.get_widget("UserFontSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:442: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/plugins/terminal/width',self.wTree.get_widget("TermWSpin").get_value())
/usr/lib/python2.4/site-packages/usp/plugins/USPconfig.py:445: DeprecationWarning: integer argument expected, got float
self.client.set_int('/apps/usp/plugins/terminal/height',self.wTree.get_widget("TermHSpin").get_value())
New Pane
New Pane
I'm on edgy, and these are the available libvte packages:libvte-common - Terminal emulator widget for GTK+ 2.0 - common files
libvte-dev - Terminal emulator widget for GTK+ 2.0 - development files
libvte-doc - Terminal emulator widget for GTK+ 2.0 - development files
libvte9 - Terminal emulator widget for GTK+ 2.0 - runtime files
libvte-cil - CLI binding for VTE
libvte2.0-cil - CLI binding for VTE 0.11
So libvte9 is installed (and not libvte4 as Malac wrote).
Usp is version 0.41.
So what could the problem be here?
My plugin_list looks like this:
USPuser
system_management
newpane
USPconfig
places
newpane
applications
newpane
USPcomputer
newpane
USPterm
chanders
September 18th, 2006, 04:02 PM
Try removing USPconfig and work with just USPterm. See if it loads...
Malac
September 18th, 2006, 04:40 PM
Hi Fantan,
I think I may have come up with a solution for translating Glade files.
I have done two scripts one called gitout (Glade-Interface-Translation-OUTput)
Which produces output like this :
./gitout USPconfig.glade
USPconfig.glade
Found 64 translatables, 0 blank entries This gives an output file called USPconfig.gitoi which looks like this :
#DO NOT REMOVE THESE LINES
#TRANSLATION TEXT TO BE PLACED AFTER THE |><| SYMBOLS
#DO NOT TRANSLATE [crlf] THESE ARE FOR MULTI-LINE LABELS
#
Search[crlf]Command:|><|
USP Button Text|><|
Hide USP Button Icon|><|
Generic Font Size|><|
Name Font Size|><|
Application Icon Size|><|
Applications Height|><|
Border Size|><|
Places Font Size|><|
Places Icon Size|><|
Places Height|><|
Hide Search Box|><|
Hide Toggle Pane|><|
Open Showing All Applications|><|
Show More Applications Button|><|
Generic Name Below Application|><|
Use Custom Colors|><|
Custom Main Color|><|
Custom Border Color|><|
Custom Heading Color|><|
Main Section|><|
Network Interface|><|
Font Size|><|
Hide Computer Information|><|
Hide Network Information|><|
Hide Date & Time Information|><|
Hide Theme Information|><|
Hide Screen Resolution Information|><|
Hide Control Center|><|
Plugins|><|
Each plugin must be on a seperate line.[crlf]Please check there are NO blank spaces or lines.|><|
Settings Section|><|
Date|><|
Date Font Size|><|
Date Bold|><|
EU Date Format|><|
Show Date as String|><|
Show Day name if Date as String|><|
Character for Date Seperator|><|
Time|><|
Time Font Size|><|
Time Bold|><|
Show Time in 12 hour format|><|
Hide Seconds|><|
Date/Time|><|
USPuser|><|
(User Information)|><|
User Font Size|><|
User Name Bold|><|
USPterm|><|
(Terminal Emulator)|><|
Terminal Pixel Width|><|
Terminal Pixel Height|><|
Text Color|><|
Background Color|><|
Terminal changes require a restart.|><|
Misc|><|
Move up|><|
Move down|><|
Edit|><|
Insert separator|><|
Insert space|><|
Remove|><|
Add to favourites|><| Simply type in the translations of the phrases before |><| on the same line after the |><| i.e.
Search[crlf]Command:|><|Kereső[crlf]parancs:
USP Button Text|><|USP gomb szövege
............. Then run gitin (Glade-Interface-Translation-INput)
Which produces output like this :
#./gitin USPconfig.gitoi
USPconfig.gitoi
Found 64 translatables. And writes a file called USPconfig_gitoi.glade which "should" be a glade file with the labels translated.
The _gitoi part of the file can then be changed to represent the language in the file e.g. USPconfig_hu.glade.
This works with all the glade files I've tried it on but as ever I don't know if it will catch everything.(Long paragraphs,etc...)
The original file is not changed at all, so no harm no foul hopefully. :)
You can use this to extract the hungarian translations from your file too.
This gives :
#DO NOT REMOVE THESE LINES
#TRANSLATION TEXT AFTER THE |><| SYMBOLS
#DO NOT REPLACE [crlf] THESE ARE FOR MULTI-LINE LABELS
#
Kereső[crlf]parancs:|><|
USP gomb szövege|><|
USP gomb elrejtése|><|
Általános betűméret|><|
Név betűméret|><|
Alkalmazások ikonmérete|><|
"Alkalmazások" panel magassága|><|
Keretvastagság|><|
"Helyek" panel betűmérete|><|
"Helyek" panel ikonmérete|><|
"Helyek" panel magassága|><|
Keresősáv elrejtése|><|
Kapcsolópanel elrejtése|><|
Megynyitás a "Minden Alkalmazás" panellel|><|
"További alkalmazások" felirat mutatása|><|
Alkalmazások eredeti nevének mutatása|><|
Saját színek használata|><|
Saját alapszín |><|
Saját keretszín|><|
Panelnév saját színe|><|
Általános|><|
Hálózati csatoló|><|
Betűméret|><|
Számítógép információk elrejtése|><|
Hálózat információk elrejtése|><|
Dátum & idő információ elrejtése|><|
Téma információ elrejtése|><|
Képernyőfelbontás információ elrejtése|><|
Vezérlőközpont elrejtése|><|
Beépülők|><|
Beállítások|><|
Dátum|><|
Dátum betűméret|><|
Dátum vastag betűvel|><|
EU dátumformátum|><|
Dátum karakterláncként|><|
Nap nevének mutatása, ha a dátum karakterlánc|><|
Dátum elválasztó karakter|><|
Idő|><|
Idő betűméret|><|
Idő vastag betűvel|><|
Idő 12 órás formátumban|><|
Másodpercek elrejtése|><|
Dátum/idő|><|
USP felhasználó|><|
(albert)|><|
Felhasználó betűméret|><|
Felhasználónév vastag betűvel|><|
USP terminál|><|
(Terminál)|><|
Terminál pixel-szélesség|><|
Terminál pixel-magasság|><|
A terminálértékek módosítása újraindítást kíván.|><|
Egyéb|><|
Move up|><|
Mozgatás le|><|
Szerkesztés|><|
Elválasztó vonal beszúrása|><|
Üres sor beszúrása|><|
Eltávolítás|><|
Add a Kedvencekhez|><| Which means you should be able to just cut&paste any extras in from the USPconfig.gitoi file to the USPconfig_hu.gitoi file translate them then just run gitin again.
Hope this helps.
Edit:
At the moment the scripts must be in the same directory as the glade files and you must have write permission on that directory.
Edit: Uploaded a Single App Version just called GITOI which does both operations.
16438
fantan
September 18th, 2006, 05:06 PM
Hi malac,
I was out in the last hours and can read your message just now.
I don't undestand your message. My question is: where are the scripts you mention? I mean the following ones:
Glade-Interface-Translation-OUTput (giton)
Glade-Interface-Translation-INput (gitin)
I must see and evaluate them to understand exactly, how they work, how can I get the roper translation.
Reards,
antan
WiLLiE
September 18th, 2006, 06:12 PM
Try removing USPconfig and work with just USPterm. See if it loads...
Nope, still the same errormessage on USPterm.
delfick
September 19th, 2006, 04:43 AM
hey malac, i have a problem with the USPterm, it doesn't want to remember the colour i give it....
basically when i log in the term is black again when i set it to a different colour,
then i go into gconf-editor and change it back and all is good again
....
untill i logout and go back in :'(
good stuff though :D
Malac
September 19th, 2006, 05:37 AM
Hi malac,
I was out in the last hours and can read your message just now.
I don't undestand your message. My question is: where are the scripts you mention? I mean the following ones:
Glade-Interface-Translation-OUTput (giton)
Glade-Interface-Translation-INput (gitin)
I must see and evaluate them to understand exactly, how they work, how can I get the roper translation.
Reards,
fantan
Hi Fantan,
Sorry I was so tired and rushed last night I forgot to attach the files to my post.
#-o
I've attached them now. =D>
Hope they work for you.
Malac
September 19th, 2006, 05:42 AM
Nope, still the same errormessage on USPterm.
Sorry WiLLiE,
I think this is my bad.
I think if the values don't exist already in gconf it is throwing up this error as it is trying to read a null instead of an int. (chanders?)
I should probably have used chanders SetGconf() function instead as I think this handles if it doesn't exist.
I will try to amend my code as soon as I have some time.
Malac
September 19th, 2006, 05:44 AM
hey malac, i have a problem with the USPterm, it doesn't want to remember the colour i give it....
basically when i log in the term is black again when i set it to a different colour,
then i go into gconf-editor and change it back and all is good again
....
untill i logout and go back in :'(
good stuff though :D
Yes me too,
Sometimes it does remember and sometimes it doesn't.
So far the only work around I've found is the one you use.
I'm not sure if this is a vte problem or some sort of interaction with USP.
I will get to checking into it asap.
delfick
September 19th, 2006, 06:09 AM
Yes me too,
Sometimes it does remember and sometimes it doesn't.
So far the only work around I've found is the one you use.
I'm not sure if this is a vte problem or some sort of interaction with USP.
I will get to checking into it asap.
cool :D
ur awsome! :D
chanders
September 19th, 2006, 07:05 AM
Sorry WiLLiE,
I think this is my bad.
I think if the values don't exist already in gconf it is throwing up this error as it is trying to read a null instead of an int. (chanders?)
I should probably have used chanders SetGconf() function instead as I think this handles if it doesn't exist.
I will try to amend my code as soon as I have some time.
Yeah, after looking at the code it seems that the values are set correctly. SetGconf() indeed takes care of creating the key if it doesnt exist. I think the error is with USPconfig. By running USP term alone it should have setup all the keys before (dunno why he still had the problem) I will try to edit the code to fix this but I have my hands full right now with the release of USP2 right around the corner.. Bear in mind I will be going over all the plugins with a fine teeth comb before doing the final release so if it is not done before I will do it then...
@WiLLie - try only USPterm in your pluginlist and post your error..
WiLLiE
September 19th, 2006, 12:58 PM
@WiLLie - try only USPterm in your pluginlist and post your error..
ok, here it is:
Warning! - Icon for item not found!
Dir exist
Dir exist
Dir exist
Application added - /home/willie/.usp/applications/firefox.desktop
Application added - /home/willie/.usp/applications/mozilla-thunderbird.desktop
Application added - /home/willie/.usp/applications/gaim.desktop
Application added - /home/willie/.usp/applications/azureus.desktop
Application added - /home/willie/.usp/applications/opera.desktop
Application added - /home/willie/.usp/applications/frozen-bubble.desktop
Application added - /home/willie/.usp/applications/gcompizthemer.desktop
Application added - /home/willie/.usp/applications/listen.desktop
Application added - /home/willie/.usp/applications/totem.desktop
Place added - /home/willie/.usp/places/-home-willie-Desktop-Stuff.desktop
Place added - /home/willie/.usp/places/-home-willie-Done.desktop
Place added - /home/willie/.usp/places/-mnt-Goamania.desktop
Place added - /home/willie/.usp/places/-mnt-Moviez.desktop
Place added - /home/willie/.usp/places/-mnt-Muzax.desktop
Place added - /home/willie/.usp/places/-mnt-Picz.desktop
Place added - /home/willie/.usp/places/-mnt-Share.desktop
New Pane
And in gconf-editor, under usp->plugins, I have a terminal section.
The default values were height:0 and width:0, which I changed to 30 (both).
fantan
September 20th, 2006, 05:46 AM
Hi malac,
I've downloaded the GITOI.tar.gz file and did the translation by your proposal. Success! It works fine.
Now I have the last version of the USPconfig plugin working with translated to Hungarian surface. But the text and background color of the new USPterm doesn't want to change. It doesn't matter, I don't use this terminal at all.
Best regards,
fantan
Malac
September 20th, 2006, 07:37 AM
Hi malac,
I've downloaded the GITOI.tar.gz file and did the translation by your proposal. Success! It works fine.
Now I have the last version of the USPconfig plugin working with translated to Hungarian surface.
Hi fantan
Glad it worked. You should be able to translate all your glade files now with these scripts for a totally hungarian set of apps. :)
But the text and background color of the new USPterm doesn't want to change. It doesn't matter, I don't use this terminal at all.
As delfick and I found out the USPterm colours only take effect if you remove USPterm from the plugins list then add it back once USP has started. I still don't know why this is. Whether it is a vte problem or some weird interaction with USP.
Hopefully I will get it soughted soon.
Malac
September 20th, 2006, 07:58 AM
Hi delfick,
I've posted an updated USPterm at (post 28 page 3) which I think now remembers the colour settings.
I think it's a vte issue about order of commands not a USP interaction.
Can you try it out and see if it works for you.
delfick
September 20th, 2006, 08:45 AM
Hi delfick,
I've posted an updated USPterm at (post 28 page 3) which I think now remembers the colour settings.
I think it's a vte issue about order of commands not a USP interaction.
Can you try it out and see if it works for you.
doesn't seem to be working here :'(
I even restarted the computer.........
Malac
September 20th, 2006, 10:11 AM
doesn't seem to be working here :'(
I even restarted the computer.........
Damn after all that effort I did a trawl of the net and it looks like it's a bug in vte.
If you Add to Panel then remove quickly then add again repeatedly about 1 out of 4 times it's the right colours, the rest it's not.
I'll see if there is a more stable emulator out there.
Malac
September 21st, 2006, 12:06 PM
To any and all,
I've made an app out of my translation scripts.
It's called GITOI and info can be found here:
http://www.ubuntuforums.org/showthread.php?t=262139
Sorry for the "minor" hijack. :)
ayoli
September 22nd, 2006, 05:50 AM
wow these plugins look promising :)
would be cool to to have ability to see tasks and appointments as in the gnome clock applet.
Malac
September 22nd, 2006, 07:51 AM
wow these plugins look promising :)
would be cool to to have ability to see tasks and appointments as in the gnome clock applet.
see my USPcalendar for a slight mod. as it opens up evolution like the gnome clock.
If this is what you mean. :)
ayoli
September 22nd, 2006, 08:57 AM
see my USPcalendar for a slight mod. as it opens up evolution like the gnome clock.
If this is what you mean. :)
i saw that it opens evolution but i didnt mean that (see screenshot) is shown on simple clik on the clock applet.
edit: oops, forgot screenshot, here it is:
http://ayozone.org/tmp/Capture.png
Malac
September 23rd, 2006, 04:22 AM
Updated USPuser plugin to allow placing username below picture and show/hide logged on time.
/app/usp/plugins/user/name_below
/app/usp/plugins/user/hide_logged_on
Updated USPconfig Application too, I will no longer be maintaining the plugin format of USPconfig. so if you want the app here it is.
Edit : USPconfig App is now at Page 8 Post #73.
WiLLiE
September 24th, 2006, 01:10 AM
Ok, got the terminal plugin to work.
It seemes that python-vte must be installed.
delfick
September 24th, 2006, 01:20 AM
Ok, got the terminal plugin to work.
It seemes that python-vte must be installed.
not here, python-vte is already installed....
WiLLiE
September 24th, 2006, 01:24 AM
I mean working at all. ;)
Colors is also a problem here.
delfick
September 24th, 2006, 01:54 AM
I mean working at all. ;)
Colors is also a problem here.
ok then.....
congratulations on getting it working then :D
Malac
September 24th, 2006, 05:58 AM
Scratch the "it's a vte bug" thing.
Old bug apparently it's been sorted and it was in another colour function.
Anyone any ideas as I am out.:-k
If I run the exact same vte code in a seperate app it works perfect everytime, right colours, right size.
If I put the same vte code in the USPterm plugin it doesn't work unless you add it after USP has started.
I can only assume that it is tied in some way to the way USP displays the individual plugins.
Slightly odd behaviour too with USPterm, if you add USP using the Add to Panel then remove it, then quickly add it back, the first time it is the default colours but the second(,third, fourth,.....) time it is the right colours.
It is like there is some time delay if you wait five minutes then re-add USP to the panel it's back to the default colours for the terminal.
I am truly flummoxed. :confused:
chanders
September 24th, 2006, 11:57 AM
Scratch the "it's a vte bug" thing.
Old bug apparently it's been sorted and it was in another colour function.
Anyone any ideas as I am out.:-k
If I run the exact same vte code in a seperate app it works perfect everytime, right colours, right size.
If I put the same vte code in the USPterm plugin it doesn't work unless you add it after USP has started.
I can only assume that it is tied in some way to the way USP displays the individual plugins.
Slightly odd behaviour too with USPterm, if you add USP using the Add to Panel then remove it, then quickly add it back, the first time it is the default colours but the second(,third, fourth,.....) time it is the right colours.
It is like there is some time delay if you wait five minutes then re-add USP to the panel it's back to the default colours for the terminal.
I am truly flummoxed. :confused:
I am looking into it. I am not sure why it wouldnt work though... Will post my findings. Right now I am just polishing up USP2 and trying to get as much requests in before release...
Malac
September 24th, 2006, 01:02 PM
I am looking into it. I am not sure why it wouldnt work though... Will post my findings. Right now I am just polishing up USP2 and trying to get as much requests in before release...
Cheers chanders,
I better post my latest version of the USPconfig App then. :)
16268
New Version now posted at post #89 page 9.
Malac
September 25th, 2006, 05:07 AM
I think I've found a patch for the USPterm remembering colours.
I've attached a new copy to post#28 page 3
If someone could download and install it then reboot and let me know if it works for them.
I've also added a background picture if you want.
Thanks in advance.
delfick
September 25th, 2006, 08:39 AM
I think I've found a patch for the USPterm remembering colours.
I've attached a new copy to post#28 page 3
If someone could download and install it then reboot and let me know if it works for them.
I've also added a background picture if you want.
Thanks in advance.
Well done! :D
that fixed it :D
thnx :D
i don't know if i've asked it before, probably have, but can the USPTerm have real transparency like gnome-terminal has?
Malac
September 25th, 2006, 10:43 AM
Well done! :D
that fixed it :D
thnx :D
i don't know if i've asked it before, probably have, but can the USPTerm have real transparency like gnome-terminal has?
You'll be pleased to know I'm already looking into it. :)
delfick
September 25th, 2006, 10:57 AM
You'll be pleased to know I'm already looking into it. :)
AWSOME!!! :D
ur my hero :D :p
Uncle Spellbinder
September 25th, 2006, 11:58 AM
Cheers chanders,
I better post my latest version of the USPconfig App then. :)
16268
Stupid question, I suppose. How do I get USPconfig to work?
Malac
September 25th, 2006, 03:42 PM
Stupid question, I suppose. How do I get USPconfig to work?
Untar the files into /usr/bin/ or /usr/sbin (you need to be root to do this).
At the moment both the files need to be in the same directory.
Make USPconfig executable if it isn't already.
Then run USPconfig from a command line.(note the capital letters, you can change the filename to uspconfig if it bothers you)
Or
Create a launcher in the menu pointing to /<where-you-put-the-files>/USPconfig
I put an entry in with Alacarte then dragged that onto the USP Applications Menu.
See bottom of attached picture.
16341
Hope this helps.
And just in case anyones interested here is terminal with a picture.
16342
Edit: If, in the unlikely event :), this doesn't work please run from the command line and post any output and I'll try to sort it. Thanks.
Uncle Spellbinder
September 25th, 2006, 10:44 PM
Thanks, Malac. Working great!
Malac
September 26th, 2006, 09:57 AM
:oops: Sorry,
Forgot the "Edit" button for plugin names in the previous USPconfig upload.
I've uploaded a new version to post #73 page 8. :oops:
And here is the GITOI translation file.
If anyone wants to translate the phrases, putting the translated phrase after the |><| symbol, then post the result.
I will then run GITOI to create a translated Glade file.
Like so...
USP Button Text|><|
Hide USP Button Icon|><|becomes this for French translations (please excuse my French :) )
USP Button Text|><|Texte de Bouton USP
Hide USP Button Icon|><|Pour Se Cacher l'Icône de Bouton USP
Uncle Spellbinder
September 26th, 2006, 12:05 PM
:oops: Sorry,
Forgot the "Edit" button for plugin names in the previous USPconfig upload.
I've uploaded a new version to post #73 page 8.
Thanks. Got it. :D
ayoli
September 26th, 2006, 03:51 PM
And here is the GITOI translation file.
If anyone wants to translate the phrases, putting the translated phrase after the |><| symbol, then post the result.
I will then run GITOI to create a translated Glade file.
here is a first try of french translation.
edit: updated, done some spell check.
edit: added one missing translation.
fantan
September 26th, 2006, 05:54 PM
Hi malac,
And here is the Hungarian translation of the USPconfig.glade.
I made it based on the last USPconfig package included in your post #73 page 8. I did the translation with your gitoi script.
Best regards,
fantan
Malac
September 27th, 2006, 07:44 AM
here is a first try of french translation.
Here is the French translated Glade file.
It seems to have worked, can you let me know if it hasn't.
I may have to change some of the stock buttons to use actual labels so they translate too, I don't know how gnome handles things like the Save button in French.
To use this change the two lines near the top of USPconfig file that read:
self.gladefile=os.path.join(os.path.dirname(__file __),"USPconfig.glade")To :
self.gladefile=os.path.join(os.path.dirname(__file __),"USPconfig_fr.glade")Hi malac,
And here is the Hungarian translation of the USPconfig.glade.
I made it based on the last USPconfig package included in your post #73 page 8. I did the translation with your gitoi script.
Best regards,
fantan
Thanks fantan, glad it's working for you.
ayoli
September 27th, 2006, 08:43 AM
Here is the French translated Glade file.
It seems to have worked, can you let me know if it hasn't.
I may have to change some of the stock buttons to use actual labels so they translate too, I don't know how gnome handles things like the Save button in French.
it works :) save button is translated well to my default locale (fr). i see i have some spellcheck and translation improvements to do. I'll post the new file soon.
edit: updated gitoi file with little corrections in previous post #83 (http://www.ubuntuforums.org/showpost.php?p=1547649&postcount=83)
Malac
September 27th, 2006, 04:45 PM
Sorry it took so long ayoli but I have uploaded a new USPconfig_fr.glade file to post #85 for you to check.
It actually turned up a bit of a bug in the GITOI app which I had to sort out, which is why it took so long. but it is now fixed.(I hope). :)
ayoli
September 28th, 2006, 05:26 AM
Sorry it took so long ayoli but I have uploaded a new USPconfig_fr.glade file to post #85 for you to check.
It actually turned up a bit of a bug in the GITOI app which I had to sort out, which is why it took so long. but it is now fixed.(I hope). :)
ok, i've updated again my gitoi file in post #83 above (added a missing translation for "hide toggle panel).
i also tried your gitoi app new version, it worked like a charm ;) so, i join here the translated glade file.
Malac
October 2nd, 2006, 06:22 AM
Yet another Plugin :)
USPnotes, a sort of quick notes type thing for jotting down text or pasting quickly without opening gedit or something.
16704
Save button writes the file to /home/"user"/Desktop/
The saved filename is in the form yyyymmdd-hh:mm:ss
e.g. 20061002-10:58:03
If you provide a filename in the box this will be prepended to the front of the filename
e.g. SomeText20061002-10:58:03
Clear Button clears the pad and filename field.
GConf Keys:
/apps/usp/plugins/notes/height
/apps/usp/plugins/notes/width
Edit:
I will be adding this to USPconfig as soon as I can.
EDIT:
Get them here: http://www.ubuntuforums.org/showthread.php?t=272372
Malac
October 2nd, 2006, 04:21 PM
USPCalc Plugin
Simple Calculator for USP
No Gconf Settings.
16733
Get it here: http://www.ubuntuforums.org/showthread.php?t=272372
chanders
October 2nd, 2006, 04:55 PM
^^ One I will be personally using
Malac
October 3rd, 2006, 01:09 PM
Very Basic Recent Documents Plugin :smile:
USPrecent
16816
Gconf Keys:
/apps/usp/plugins/height
/apps/usp/plugins/width
/apps/usp/plugins/recent_font_size
/apps/usp/plugins/num_entries
Get it here: http://www.ubuntuforums.org/showthread.php?t=272372
delfick
October 3rd, 2006, 07:19 PM
I'm starting to run out of room for these plugins :p
would it be possible to make it so that certain panels are higer than other panels ?
so the panel would be a bit like the attached screenshot
if that makes sense.......
hmmmmm, i can't wait till the day real transparency is possible for the usp, then haven't it so big would be no problem at all :D (not that i mind that much :p)
Uncle Spellbinder
October 4th, 2006, 10:12 AM
...i can't wait till the day real transparency is possible for the usp, then haven't it so big would be no problem at all.
It is possible, when using Beryl. :D
delfick
October 5th, 2006, 02:03 AM
It is possible, when using Beryl. :D
is that real transparency or just the whole thing transparent?
real transparency being when everything but the text is transparent
look at this http://delfick755.googlepages.com/panel.jpg
DerSkw
October 5th, 2006, 02:01 PM
is that real transparency or just the whole thing transparent?
real transparency being when everything but the text is transparent
look at this http://delfick755.googlepages.com/panel.jpg
nope your wrong.
real transparency is when everything in the background is visible through the transparent area.
false transparency is when only the background is visible through the area, but other things like windows are not.
// EDIT: sry didn't see the terminal in the picture
though it is a real transparency
Malac
October 6th, 2006, 07:14 AM
USPconfig Application and all my plugins will now be at this thread.
http://www.ubuntuforums.org/showthread.php?t=272372
Please don't post on that thread.
If you have a plugin that you want added to the list send it as attachment to: Malac[at]tiscali[dot]co[dot]uk
[at]=@
[dot]=.
with "USP plugin" as the subject line.
Thanks.
chanders
October 6th, 2006, 05:07 PM
I have requested a sticky so hopefully we should see it show up in a few hrs ;-)
Malac
October 7th, 2006, 05:15 AM
I have requested a sticky so hopefully we should see it show up in a few hrs ;-)
Cheers :)
Malac
October 7th, 2006, 12:15 PM
Okay finally fixed the calendar to open evolution on the date clicked.
The updated USPcalendar is available here:
http://www.ubuntuforums.org/showthread.php?t=272372
Malac
October 9th, 2006, 05:20 AM
USPremind and USPcalrem (a combined USPcalendar & USPremind)
are available here:
http://www.ubuntuforums.org/showthread.php?t=272372&page=2
ayoli
October 9th, 2006, 11:32 AM
USPremind and USPcalrem (a combined USPcalendar & USPremind)
are available here:
http://www.ubuntuforums.org/showthread.php?t=272372&page=2
hey !
USPcalrem quite simply rocks, this is the one i wanted :D
thx a lot
Malac
October 9th, 2006, 01:45 PM
hey !
USPcalrem quite simply rocks, this is the one i wanted :D
thx a lot
You're Most Welcome, :D
Malac
October 14th, 2006, 11:17 AM
Updated USPterm with transparency and USPconfig to take this into account.
Get them here :
http://www.ubuntuforums.org/showthread.php?t=272372
Can someone let me know if the transparency works on beryl/compiz/xgl/whatever as I have never got any of these to work so I don't know.:(
delfick
October 14th, 2006, 12:19 PM
hehehe, nice stuff !
look at the Quick notes part of the usp in the attached screenshot.....(i couldn't resist spreading a message that way again :D)
hmmm, for a second there i thought it was real transparency............i take it that still isn't possible??....:D (the wishful thinking is starting to kick in again that it is possible :D)
Malac
October 14th, 2006, 02:16 PM
hmmm, for a second there i thought it was real transparency............i take it that still isn't possible??....:D (the wishful thinking is starting to kick in again that it is possible :D)
Apparently it requires some sort of hack/patch to libvte to get real transparency which I haven't been able to track down yet. I've no idea when/whether it will be incorporated in future releases of the vte/gnome-terminals as a feature as suggested by some of the blogs I've seen.
As for the whole USP panel transparent without beryl, not sure. I'm only using built in "features" of the GTK widgets so activating terminal transparency wasn't that difficult it just required that precious commodity, at the moment, to do it.......spare time. :)
delfick
October 14th, 2006, 09:07 PM
Apparently it requires some sort of hack/patch to libvte to get real transparency which I haven't been able to track down yet.
you will eventually :D
I've no idea when/whether it will be incorporated in future releases of the vte/gnome-terminals as a feature as suggested by some of the blogs I've seen.
soon :D (wishful thinking)
As for the whole USP panel transparent without beryl, not sure. I'm only using built in "features" of the GTK widgets so activating terminal transparency wasn't that difficult it just required that precious commodity, at the moment, to do it.......spare time. :)
ur brilliant work is appreciated enough that you don't have to feel pressurred to do this, so don't worry if you can't work on it cause of other things that may constrict your time :D
Malac
October 17th, 2006, 09:55 AM
Uploaded a new version of USPconfig to here.
This was a bug fix for the plugins list in USPconfig re-populating on certain setting changes. It should not have affected USP itself at all.
http://www.ubuntuforums.org/showthread.php?t=272372
Malac
October 25th, 2006, 05:39 AM
Bug fix USPrecent, now populates on startup and handles spaces in the URI line.
http://www.ubuntuforums.org/showthread.php?t=272372
N.B> An Edgy version of this is on the way as edgy handles recent docs differently.
Malac
October 25th, 2006, 05:49 PM
Okay completely re-coded the recent documents plugin USPrecent to use the Gnome Recent Manager and this should work.
I have a new version to the USPrecent post (URL above) as I haven't tested this on Dapper there is still the original one there called USPrecent_Dapper.tar.gz
If someone running Dapper could let me know if the new one works for them I'll remove the _Dapper version.
Thanks.
Malac
November 1st, 2006, 12:48 PM
New plugin USPclock analog clock. Also added this functionality to USPtime.
Get it here:
http://www.ubuntuforums.org/showthread.php?p=1699272#post1699272
Malac
November 2nd, 2006, 07:15 AM
New USPuser plugin which allows custom/animated user picture.
Updated USPconfig Application to allow for this.
GConf-Editor and USPconfig are the only way to change this value as the face chooser does not allow animation.
Get it here:
http://www.ubuntuforums.org/showthread.php?t=272372
delfick
November 2nd, 2006, 09:12 AM
New USPuser plugin which allows custom/animated user picture.
Updated USPconfig Application to allow for this.
GConf-Editor and USPconfig are the only way to change this value as the face chooser does not allow animation.
Get it here:
http://www.ubuntuforums.org/showthread.php?t=272372
awsome :D (i recieved your message, thnx :D)
unfortunately i have exams next week (one every day) so i'm busy studying (infact i probably shouldn't even be on my computer, but a break is important every once in a while :D)
i just quickly made a mpeg of my avatar wobbling, which doesn't want to work with the plugin...
whether that's because the mpeg is too big (as in the height and width of the movie) or whether the plugin doesn't accept mpeg i'm unsre and i don't have enough time to play around with it :'(
but thankyou for making this :D
i'm looking forward to playing around with it when my exams finish :D
Malac
November 2nd, 2006, 11:58 AM
awsome :D (i recieved your message, thnx :D)
unfortunately i have exams next week (one every day) so i'm busy studying (infact i probably shouldn't even be on my computer, but a break is important every once in a while :D)
i just quickly made a mpeg of my avatar wobbling, which doesn't want to work with the plugin...
whether that's because the mpeg is too big (as in the height and width of the movie) or whether the plugin doesn't accept mpeg i'm unsre and i don't have enough time to play around with it :'(
but thankyou for making this :D
i'm looking forward to playing around with it when my exams finish :D
I've only tried it with animated .gif files I don't think an .mpeg will work as strictly speaking that's a movie not an animated graphic.
Can you save your file in .gif or .png animated form?
delfick
November 2nd, 2006, 10:23 PM
I've only tried it with animated .gif files I don't think an .mpeg will work as strictly speaking that's a movie not an animated graphic.
Can you save your file in .gif or .png animated form?
i'm not sure....
Malac
November 8th, 2006, 09:07 AM
New USPweb
Mozilla Browser Bookmarks
Get it here:
http://www.ubuntuforums.org/showthread.php?p=1731023#post1731023
delfick
November 10th, 2006, 09:24 AM
New USPweb
Mozilla Browser Bookmarks
Get it here:
http://www.ubuntuforums.org/showthread.php?p=1731023#post1731023
nice :D
only problem is that i put the files into the ~/.usp/plugins folder and then add "USPweb" to the list and it doesn't recognise it as being there......
o well, i don't have enough room in my menu for anything else anyway :p :D
Malac
November 11th, 2006, 09:02 AM
nice :D
only problem is that i put the files into the ~/.usp/plugins folder and then add "USPweb" to the list and it doesn't recognise it as being there......
o well, i don't have enough room in my menu for anything else anyway :p :D
It may be that your bookmarks.html file is not in the expected location or profiles.ini is in a different format than expected. I based this on my systems layout which I assumed was default. I have uploaded a new version which should trap whether the error is in finding the file and display this in the plugin. If it is, there is now an option to add the location manually to /apps/usp/plugins/internet/bookmark_file.
I've also updated USPconfig to allow for this.
huviduc
November 30th, 2006, 12:29 PM
edit: previous remarks removed
vitae
December 19th, 2006, 05:40 AM
hi malac,
i like your calrem plugin very much. i am used to view my tasks with the clock applet for evolution.
my suggestion is to make the calrem plugin also to behave like the clock applet.
for instance it is very useful and important that the days are black marked if there is a task. so you don`t have to click every day to see if there is something.
thnx 4 your work :)
Malac
December 19th, 2006, 10:59 AM
hi malac,
i like your calrem plugin very much. i am used to view my tasks with the clock applet for evolution.
my suggestion is to make the calrem plugin also to behave like the clock applet.
for instance it is very useful and important that the days are black marked if there is a task. so you don`t have to click every day to see if there is something.
thnx 4 your work :)
Hi vitae,
Glad you like the plugin.
I will get round to it as soon as I can. Though at the moment USP2config and plugins are taking most of my free time.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.