Ubuntu Forums Archive Viewer

Plugin that lists mounted-disks and GTK-bookmarks

Archived thread 254908 from Ubuntu System Panel. Markdown source: Ubuntu_System_Panel/thread_254908_Plugin_that_lists_mounted-disks_and_GTK-bookmarks.md

Original URL About this archive
#1

Well, just started learning Python, a really nice language. For learning I made this plugin, that list all mounted disks in /media and all gtkbookmarks (havn't seen it for real yet).

If I work a little more with it I somehow might figure out how to update the list everytime you put in a removeable-disk

It isn't complete but it works, I hope :)

Just extract the tar.gz-file and put USPGTKPlaces.py and USPGTKPlaces.glade in ~/.usp/plugins

#2

Really good work! Mat had already put down the code for this and all mounted volumes, I have attached a screenshot of it running showing all mounted volumes (included network). It will be released shortly with USP2. At least you can use yours in the interim ;-) and I see you are sharpening up your Python skills :-P

If you really want a challenge, try helping us with the "USP behind Panel" bug ;-)

[IMG]http://img217.imageshack.us/img217/2719/screenshot1sp5.png[/IMG]

#3

Nice :). Is that updating the list too? That was like the goal with this plugin.

If there is anything in the code I could made easier, it would be very nice if someone told me that. So I will improve my skills in python :)

Edit: By the way, is there a developersite/irc-channel or something so we know what you're developing right now? So I don't invent the wheel again. :)

#4

chanders said: Really good work! Mat had already put down the code for this and all mounted volumes, I have attached a screenshot of it running showing all mounted volumes (included network). It will be released shortly with USP2. At least you can use yours in the interim ;-) and I see you are sharpening up your Python skills :-P

If you really want a challenge, try helping us with the "USP behind Panel" bug ;-)

[IMG]http://img217.imageshack.us/img217/2719/screenshot1sp5.png[/IMG]

what's with the transparent border around the usp?

it look cool :D

#5

I think that is compiz with really thick borders

#6

Yeah, actually it's a crop of usp run-in-window :-P

@ Mucha - Sorry about you re-inventing the wheel, think of it as your learning exercise ;-) When I issue it, have a look at the code, you'll be plesantly surprised. The locations will also update as they change...

Thats about the only new item that we added for the next release. You could also PM me so I can give you any help if you like... There was a wishlist for plugins development if you want to look at it to sharpen up your python... The most requested was a TODO list...

#7

I saw some code in usp-places2.py from svn. How often is that updated?