Java on Ubuntu Jaunty (9.04) - Problem with Fonts?
Posted by: JDS
The Java app is the JScape SSH management console. JScape is really quite nice, but that's an aside.
The error is like this:
jeff@jeff-laptop:~ > /opt/JSCAPE_Secure_FTP_Server/client Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct Warning: Cannot convert string "-arphic-ar pl shanheisun uni-medium-r-normal--*-*-*-*-p-*-iso10646-1" to type FontStruct Warning: Cannot convert string "-arphic-ar pl uming uni-medium-r-normal--*-*-*-*-p-*-iso10646-1" to type FontStruct Warning: Cannot convert string "-kochi-gothic-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct Warning: Cannot convert string "-baekmuk-gulim-medium-r-normal--*-140-*-*-c-*-ksc5601.1987-0" to type FontStruct
I don't yet have a solution!!
Skype Stuff
Posted by: JDS
Sound solution: Install the Static/OSS version of Skype. Presto!
Desktop integration link here: http://webupd8.blogspot.com/2009/06/ubuntu-jaunty-notification-system-for.html
Adding "Log Out" button back to Ubuntu 9.04 Main Menu
Posted by: JDS
- Right-click Main Menu or Menu Bar. Choose "Edit Menus". See Fig 1.

- Scroll down in left panel of menu editor to "Applications" (actually, you can add this anywhere, but if you add it here it is most visible in the menu. I actually end up adding this to "Applications" and to "System"). See Fig 2.

- Choose the "New Item" button
- For item properties, choose
- Type: Application
- Name: Log Out
- Command: gnome-session-save --logout-dialog
- Comment: Log Out of your Desktop Session
- Click on the default "icon" button and browse to choose a better icon. WARNING: Gnome's icon chooser sucks monkey nuts. I mean, it is just plain awful. I ended up choosing /usr/share/icons/Human/scalable/actions/system-log-out.svg
- See Fig 3.

- Choose "Ok". Item should now appear in Menu Editor. You might have to click the item's checkbox to uncheck-then-check-it-again to make the real menu load the item.
Palm OS device over Bluetooth
Posted by: JDS
To EASILY sync your Palm OS device via Bluetooth, just use port "bt:"
THAT IS ALL!!! SHEESH!!!
Nearly all searching for "palm bluetooth" or similar, especially adding "linux" or "ubuntu" or "jpilot" in as a keyword show the PPP method, which fucking SUCKS.
Example
pilot-xfer -p bt: -s ~/treo/syncdir
(Example obtained here: http://www.wanderingjew.co.uk/2008/Jun)
Speeding up SSH connections in Ubuntu Jaunty...
Posted by: JDS
Bug: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/84899
The simple answer is to disable GSSAPIAuthentication. You can do that on the command line -- "-o GSSAPIAuthentication=no", in a local config (not sure what that would be called) or in the system configuration for the SSH client.
Example Patch of /etc/ssh/ssh_config
@@ -47,5 +47,5 @@
# PermitLocalCommand no
SendEnv LANG LC_*
HashKnownHosts yes
- GSSAPIAuthentication yes
+ GSSAPIAuthentication no
GSSAPIDelegateCredentials no
Zenity is really cool, but a little confusing
Posted by: JDS
I have a whole bunch of one-click script operations to make my life easier for operations I perform routinely. I use Zenity for some of them. One thing about the Zenity list dialog is that it is a little confusing to set up, but I finally figured out a non-confusing way to write it. Here is my example.
WHICH_DB=`zenity \
--height=400 \
--list \
--radiolist \
--column="" --column="Database" \
TRUE "database1" \
FALSE "database2" \
FALSE "database3" \
FALSE "database4" \
`
Just write out the columns as they should appear in the dialog window, using backslash, "\", to join the lines together into a single operation. The above example produces this:
