Welcome to my blog. Here is where you will find my occasional ramblings on various topics.
This page has been viewed 9117 times.
Its been awhile since I blogged. I have not seemed able to shake the funk that seems to surround me. I have discovered that at moments when I code the funk seems less. In the last year, I have dabbled in a few personal projects and some with existing code most are available from my launchpad account.
Despite the funk, I have set up a New York State Release Party for Lucid lynx on Saturday, May 1st at the Waterloo Holiday Inn. This time we are holding a install fest in the morning starting at 10am, as well as our traditional talks and party in the afternoon starting 2pm.
Also, I have and am logging the open weeks in #ubuntu-classroom. I have been told that irc format should be used when placing the logs on wiki, but I cannot get over the table borders in that format. I can understand the reasons and hope someone or myself can fix the formatting.
Email is probably easiest to reach me. I would love to see some of my coding get packaged. I would love to see a great turnout for our Release Party and for it to be successfu. I would love to see irc formating on the wiki get changed. Possible good things to look forward too, lets hope they are foretelling and not wishful.
Today, I stumbled across an awesome free e-book with over seventy mini-essays from various authors called "What Matters Now". Many essays seem to have a pro-Free-Software take, while others relate to what makes a community best. I feel that everyone will be able to take something and help them to reach farther.
I have spent many a spare moment since Jaunty trying to understand why my Kodak digital camera import became broken.
I am fairly confident it has to do with the switch to gphotofs. For what ever reason, it finds two devices of the same name and attempts to mount each causing a 'lock error' to be raised for the second attempt. I have chosen to blog about this regression after having my lp bug languish during Jaunty only to get worse in Karmic.
Now on Karmic, it is crap shoot whether the 'locked device' situation allows any functional import window to show. At least in Jaunty, I was able to just dismiss the error dialog and import the images from the first. I am currently using 'sneaker-net' to enable me to pull images with the SD card in the camera onto my Mini 9.
I have tried the gphotofs terminal tools and caught the following log with and without the external SD card installed:
[...]
0.362264 gphoto2-camera(2): Setting abilities ('Kodak DX7590')...
0.362302 gphoto2-setting(2): Setting key 'model' to value 'Kodak DX7590' (gphoto2)
0.362342 gphoto2-setting(2): Saving 4 setting(s) to file "/home/ausimage/.gphoto/settings"
0.362513 gphoto2-port-info-list(2): Looking for path 'usb:' (12 entries available)...
0.362561 gphoto2-port-info-list(2): Getting info of entry 5 (12 available)...
0.362600 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.363814 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.363865 gphoto2-port(2): Setting settings...
0.363903 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.363940 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.363977 gphoto2-setting(2): Saving 4 setting(s) to file "/home/ausimage/.gphoto/settings"
0.364566 foreach(2): Executing action 'List Files' for folder '/'.
0.366917 gphoto2-camera(2): Listing files in '/'...
0.366991 gphoto2-camera(2): Initializing camera...
0.367040 gphoto2-port-usb(1): Looking for USB device (vendor 0x40a, product 0x57f)... found.
0.367078 gphoto2-port-usb(2): inep to look for is 81
0.367112 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 01, intep 82, class 06, subclass 01
0.367166 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.6/ptp2'...
0.367486 gphoto2-port(2): Opening USB port...
0.367528 libusb(2): gp_port_usb_open()
0.367614 libusb(2): claiming interface 0
0.367687 ptp2(2): maxpacketsize 64
0.367768 gphoto2-port(2): Setting timeout to 8000 millisecond(s)...
0.367815 ptp(2): PTP: Opening session
0.367859 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.367900 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
0.369300 ptp2/ptp_usb_getresp(2): reading response
0.369343 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.369384 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.370300 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.370344 gphoto2-port(3): Empty hexdump of empty buffer
0.370383 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.371298 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.371339 gphoto2-port(3): Empty hexdump of empty buffer
0.371373 ptp2/usb_getresp(0): request code 0x1002 getting resp error 0x02ff
0.371409 ptp2/camera_init(0): ptp_opensession returns 2ff
0.371444 ptp2/device_reset_request(2): sending reset
0.371479 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
0.371524 gphoto2-port(3): No hexdump (NULL buffer)
0.372291 ptp(2): PTP: Opening session
0.372336 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.372376 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
0.373293 ptp2/ptp_usb_getresp(2): reading response
0.373329 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.373367 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.374299 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.374343 gphoto2-port(3): Empty hexdump of empty buffer
0.374381 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.375297 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.375337 gphoto2-port(3): Empty hexdump of empty buffer
0.375372 ptp2/usb_getresp(0): request code 0x1002 getting resp error 0x02ff
0.375407 ptp2/camera_init(0): ptp_opensession returns 2ff
0.375441 ptp2/device_reset_request(2): sending reset
0.375474 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
0.375589 gphoto2-port(3): No hexdump (NULL buffer)
0.376290 ptp(2): PTP: Opening session
0.376331 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.376370 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
0.377292 ptp2/ptp_usb_getresp(2): reading response
0.377328 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.377366 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.378299 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.378342 gphoto2-port(3): Empty hexdump of empty buffer
0.378381 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.379297 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.379338 gphoto2-port(3): Empty hexdump of empty buffer
0.379372 ptp2/usb_getresp(0): request code 0x1002 getting resp error 0x02ff
0.379407 ptp2/camera_init(0): ptp_opensession returns 2ff
0.379440 ptp2/device_reset_request(2): sending reset
0.379473 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
0.379512 gphoto2-port(3): No hexdump (NULL buffer)
0.380307 context(0): PTP I/O error
*** Error ***
PTP I/O error
0.380406 gphoto2-port(2): Closing port...
0.380526 context(0): An error occurred in the io-library ('Unspecified error'): No error description available
*** Error ***
An error occurred in the io-library ('Unspecified error'): No error description available
*** Error (-1: 'Unspecified error') ***
[...]
The docs and searching has not produced much in answers. I would love to see this remedied for Lucid Lynx in April. It is things like this that will make it or break it for users of Ubuntu. Feel free to contact me if you have a solution.
The New York State Ubuntu Community held their Karmic Release Event on Sunday. We had an awesome event once our first speaker actually showed up about an hour late. Our two talks were about FOSS and Ubuntu. Elizabeth, pleia2, gave an abreviated introduction to contributing to FOSS. We had time after the talks to enjoy pizza, pop, and have discussions about Ubuntu and computers.







The New York State Team will be holding their Release Party / Event this weekend on Sunday, November 8th, 2009 at the Waterloo Holiday Inn. The Event will be from 1-3 pm and feature two talks on FOSS as well as a few computers running Ubuntu 9.10. System 76 will be furnishing one of the demo computers. Following the Event they will be a party to celebrate and install Ubuntu.
I have also coordinated with pleia2 who is attending our event from the Pennsylvania Loco. A few members are meeting for drinks with her at the Clarence Hotel in Seneca Falls on Saturday evening around eight.
I discovered how to mass-assign folder icons in Nautilus the other day. I am putting it in my blog as much for my recollection as for the benefit of the Community.
Nautilus' meta info is stored in $HOME/.nautilus/metafiles . For each folder visited local or not a Xml file is created with a quoted name of its path (eg file:%2F%2F%2Fmedia%2Fstuff102%2Fmusic for /media/stuff102/music ) The contents of this file is like the following:
<?xml version="1.0"?> <directory><file name="folder1" timestamp="1252361434" custom_icon="feed.jpg"><keyword name="new"/></file><file name="folder2" timestamp="1252361434" custom_icon="feed.jpg"><keyword name="new"/></file></directory>
We are interested in the custom_icon value which will set the icon shown for a folder. Its value can be a relative path to a file within the named folder. It is important to note that modifying or adding the value to the file attribute does not automatically update the folder icons. Nautilus must be terminated and restarted for any changes to take affect and any updates via properties will overwrite the changes.
Using this hack, I even managed to easily update folder icons for an sftp path on my network and then duplicate the same meta file for a sshfs mount of the same data. I am not sure what Nautilus will do if there is a mistake in meta xml file, so be careful and be aware of what you change.
I have put a reservations in for our Party to be held in Waterloo, NY for November 8th, 2009. We will have public presentations from 1-3pm preceeding our party. I expect many members from nearby Rochester, Syracuse, Ithaca and maybe even farther will attend. Hopefully, I will also see many new faces as well.
modified: September 21, 2007, at 05:32 PM