<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Newt&#039;s System Administrator Notes</title>
    <link>http://www.newtnotes.com/</link>
    <description></description>
    <!-- optional tags -->
    <language>en-us</language>           <!-- valid langugae goes here -->
    <generator>Nucleus CMS v3.31</generator>
    <copyright>©</copyright>             <!-- Copyright notice -->
    <category>Weblog</category>
    <docs>http://backend.userland.com/rss</docs>
    <image>
      <url>http://www.newtnotes.com//nucleus/nucleus2.gif</url>
      <title>Newt&#039;s System Administrator Notes</title>
      <link>http://www.newtnotes.com/</link>
    </image>
    <item>
 <title><![CDATA[Java on Ubuntu Jaunty (9.04) - Problem with Fonts?]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=315</link>
<description><![CDATA[I keep getting an error like 'Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct' and one Java app in particular just doesn't work because of it!
<p>The Java app is the <a href="http://www.jscape.com/">JScape SSH</a> management console. JScape is really quite nice, but that's an aside.</p>
<p>The error is like this:</p>
<pre>
jeff@jeff-laptop:~
<font color="#a52a2a"><b>&gt;</b></font>&nbsp;/opt/JSCAPE_Secure_FTP_Server/client
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-b&amp;h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-arphic-ar pl shanheisun uni-medium-r-normal--*-*-*-*-p-*-iso10646-1</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-arphic-ar pl uming uni-medium-r-normal--*-*-*-*-p-*-iso10646-1</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-kochi-gothic-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-baekmuk-gulim-medium-r-normal--*-140-*-*-c-*-ksc5601.1987-0</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
</pre>
<p>I don't yet have a solution!!</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=315</comments>
 <pubDate>Tue, 30 Jun 2009 16:04:46 -0400</pubDate>
</item><item>
 <title><![CDATA[Skype Stuff]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=313</link>
<description><![CDATA[Two things: better desktop notification integration, and, more importantly, fixing broken sound problems.<p>Sound solution: Install the <a href="http://www.skype.com/download/skype/linux/choose/">Static/OSS version of Skype</a>. Presto!</p>

<p>Desktop integration link here: <a href="http://webupd8.blogspot.com/2009/06/ubuntu-jaunty-notification-system-for.html">http://webupd8.blogspot.com/2009/06/ubuntu-jaunty-notification-system-for.html</a></p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=313</comments>
 <pubDate>Fri, 26 Jun 2009 16:23:54 -0400</pubDate>
</item><item>
 <title><![CDATA[Adding "Log Out" button back to Ubuntu 9.04 Main Menu]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=311</link>
<description><![CDATA[They took away the logout button! Why?? The Fast User Switcher applet? For logout??? That is in no way obvious, especially if you have just upgraded and are used to the previous way. Here's how to get it back.<ol>
<li>Right-click Main Menu or Menu Bar. Choose "Edit Menus". See Fig 1. </li>
<li>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. </li>
<li>Choose the "New Item" button</li>
<li>For item properties, choose</li>
 <ul>
  <li><b>Type:</b> Application</li>
  <li><b>Name:</b> Log Out</li>
  <li><b>Command:</b> gnome-session-save --logout-dialog</li>
  <li><b>Comment:</b> Log Out of your Desktop Session</li>
  <li>Click on the default "icon" button and browse to choose a better icon. <b>WARNING: Gnome's icon chooser sucks monkey nuts. I mean, it is just plain awful.</b> I ended up choosing /usr/share/icons/Human/scalable/actions/system-log-out.svg</li>
  <li>See Fig 3. </li>
 </ul>
<li>Choose "Ok". Item should now appear in Menu Editor. You <i>might</i> have to click the item's checkbox to uncheck-then-check-it-again to make the real menu load the item.</li>
</ol>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=311</comments>
 <pubDate>Wed, 24 Jun 2009 14:24:12 -0400</pubDate>
</item><item>
 <title><![CDATA[Palm OS device over Bluetooth]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=309</link>
<description><![CDATA[This is sofa king frustrating. Why is this not documented? I found a couple of references on the web, but just buck LUCK. FUUUUCKK!!!!!<p>To EASILY sync your Palm OS device via Bluetooth, just use port "bt:"</p>
<p><b>THAT IS ALL!!! SHEESH!!!</b></p>
<p>Nearly all searching for "palm bluetooth" or similar, especially adding "linux" or "ubuntu" or "jpilot" in as a keyword show the PPP method, <b>which fucking SUCKS</b>.</p>
<p>Example</p>
<p>pilot-xfer -p bt: -s ~/treo/syncdir</p>
<p>(Example obtained here: <a href='http://www.wanderingjew.co.uk/2008/Jun'>http://www.wanderingjew.co.uk/2008/Jun</a>)</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=309</comments>
 <pubDate>Fri, 15 May 2009 07:11:29 -0400</pubDate>
</item><item>
 <title><![CDATA[Speeding up SSH connections in Ubuntu Jaunty...]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=306</link>
<description><![CDATA[...and Feisty and Gutsy and Hardy and Intrepid, most likely.<p>Bug: <a href='https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/84899'>https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/84899</a></p>
<p>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.</p>
<p>Example Patch of /etc/ssh/ssh_config</p>
<code>@@ -47,5 +47,5 @@
 #   PermitLocalCommand no
     SendEnv LANG LC_*
     HashKnownHosts yes
-    GSSAPIAuthentication yes
+    GSSAPIAuthentication no
     GSSAPIDelegateCredentials no
</code>
]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=306</comments>
 <pubDate>Thu, 16 Apr 2009 15:05:55 -0400</pubDate>
</item><item>
 <title><![CDATA[Zenity is really cool, but a little confusing]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=304</link>
<description><![CDATA[Example Zenity dialog.<p>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.</p>
<code>
WHICH_DB=`zenity \<br>
    --height=400 \<br>
    --list \<br>
    --radiolist \<br>
    --column="" --column="Database" \<br>
    TRUE  "database1" \<br>
    FALSE  "database2" \<br>
    FALSE  "database3" \<br>
    FALSE  "database4" \<br>
<br>
`<br>
</code>

<p>
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:
</p>
<p></p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=304</comments>
 <pubDate>Thu, 16 Apr 2009 10:43:52 -0400</pubDate>
</item><item>
 <title><![CDATA[Various bash profile settings]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=301</link>
<description><![CDATA[I don't know why I didn't post this years ago.<h2>Bash Prompts with Various Colors</h2>
<ul><li>Yellow Text on Blue BG</li><li>Hostname, Username, and Current Working Directory</li><li>Newline at end.</li></ul>
<code>
PS1="\[\e[1;33m\]\[\e[44m\]\h USER:\u PWD:\w \[\e[0m\]\n> "
</code>
<p>Example</p>
<p></p>
<ul>
<li>White text on Red BG</li>
<li>Hostname, Current WD</li>
</ul>
<p>I don't remember why I put the cwd and hostname in the $INFO variable.</p>
<code># export PS1=`echo '\033[30m${HOSTNAME}:>'`
INFO=${HOSTNAME}:\\w
export PS1="\[\e[31;7m\]${INFO}\n\[\e[0m\]> "
</code>
<p>Example</p>
<p></p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=301</comments>
 <pubDate>Thu, 16 Apr 2009 09:15:23 -0400</pubDate>
</item><item>
 <title><![CDATA[Solaris Date example output]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=299</link>
<description><![CDATA[Solaris date example. One line snippet for reference.<pre>&gt; date "+%a|%b|%c|%d|%e|%f|%g|%h|%i|%j|%k|%l|%m|%n|%o|%p|%q|%r|%s|%t|%u|%v|%w|%x|%y|%z|%A|%B|%C|%D|%E|%F|%G|%H|%I|%J|%K|%L|%M|%N|%O|%P|%Q|%R|%S|%T|%U|%V|%W|%X|%Y|%Z|"
Mon|Apr|Mon Apr 06 14:52:49 2009|06| 6|%f|09|Apr|%i|096|14| 2|04|
|%o|PM|%q|02:52:49 PM|%s|       |1|%v|1|04/06/09|09|-0400|Monday|April|Mon Apr  6 14:52:49 EDT 2009|04/06/09|%E|2009-04-06|2009|14|02|%J|%K|%L|52|%N|%O|%P|%Q|14:52|49|14:52:49|14|15|14|14:52:49|2009|EDT|
</pre>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=299</comments>
 <pubDate>Mon, 6 Apr 2009 14:54:02 -0400</pubDate>
</item><item>
 <title><![CDATA[Shibboleth Haiku]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=298</link>
<description><![CDATA[I configured, compiled, and installed <a href="http://shibboleth.internet2.edu/">Shibboleth</a> on Solaris 10 this week. A bear. This is a little venting after the fact.<p>
linker errors fail<br>
Google isn't quite enough<br>
use the mailing list
</p>
<p>
Solaris has zones<br>
they are really amazing<br>
but apps mount r o
</p>
<p>
now I have the task<br>
of setting up the S P<br>
to work with Moodle
</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=298</comments>
 <pubDate>Fri, 20 Feb 2009 21:19:59 -0500</pubDate>
</item><item>
 <title><![CDATA[Setting a printer to force black and white printing]]></title>
 <link>http://www.newtnotes.com/index.php?itemid=296</link>
<description><![CDATA[So, easiest way to force black and white is to set up a second printer in CUPS with "Normal Grayscale" setting for the color option.<li>browse to localhost:631
<li>Administration tab
<li>Add Printer button
<li>One of the last pages, Print Options, choose Printout Mode: Normal Grayscale. You have to choose a driver that supports this though! I don't think the PS driver does.]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/index.php?itemid=296</comments>
 <pubDate>Mon, 9 Feb 2009 12:26:44 -0500</pubDate>
</item>
  </channel>
</rss>