Difference: MiscNotes (1 vs. 26)

Revision 2614 Dec 2016 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 156 to 156
  Turns out that newer Debian installs have UTF-8 enabled using the /etc/default/locale file whereas older installs don't. I set up my server using the etch-vintage installer whereas my workstations were installed years ago and have been incrementally updated since then. To fix the problem I just needed to set up a /etc/default/locale file for my workstations (the contents are just LANG=en_US.UTF-8). It appears that Fedora core 4 (and probably newer) also set their default locale to en_US.UTF-8.
Added:
>
>
In Fedora 25 the command is "sudo localectl set-locale LANG=en_US.utf8".
 

GNUCash Balance Column Width

I had a "champagne problem" where the balance column in GNUCash was too narrow and I couldn't figure out how to make it wider. It turns out that there's no user interface gesture to do so, so you have to change a configuration parameter in a settings editor: http://gnucash.1415818.n4.nabble.com/width-of-Balance-column-is-too-small-td1459134.html

Revision 2527 Oct 2013 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 160 to 160
  I had a "champagne problem" where the balance column in GNUCash was too narrow and I couldn't figure out how to make it wider. It turns out that there's no user interface gesture to do so, so you have to change a configuration parameter in a settings editor: http://gnucash.1415818.n4.nabble.com/width-of-Balance-column-is-too-small-td1459134.html
Added:
>
>

Kindle Mass Delete

It's a drag having to delete old Instapaper articles from your kindle library one at a time, especially since Amazon's lame ajaxy implementation slows the process down. http://www.amazon.com/forum/kindle?_encoding=UTF8&cdForum=Fx1D7SY3BVSESG&cdThread=Tx2INMU6OCSGC2Z is a forum discussion that includes a bookmarklet that will bulk-delete all of the items on the page. Note: you need to be on the "Personal Documents" page for it to work.

 
META FILEATTACHMENT attachment="Screenshot.png" attr="" comment="screenshot of mutt with a broken locale setting" date="1172666806" name="Screenshot.png" path="Screenshot.png" size="89482" stream="Screenshot.png" user="Main.TobyCabot" version="2"

Revision 2426 Oct 2013 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 156 to 156
  Turns out that newer Debian installs have UTF-8 enabled using the /etc/default/locale file whereas older installs don't. I set up my server using the etch-vintage installer whereas my workstations were installed years ago and have been incrementally updated since then. To fix the problem I just needed to set up a /etc/default/locale file for my workstations (the contents are just LANG=en_US.UTF-8). It appears that Fedora core 4 (and probably newer) also set their default locale to en_US.UTF-8.
Added:
>
>

GNUCash Balance Column Width

I had a "champagne problem" where the balance column in GNUCash was too narrow and I couldn't figure out how to make it wider. It turns out that there's no user interface gesture to do so, so you have to change a configuration parameter in a settings editor: http://gnucash.1415818.n4.nabble.com/width-of-Balance-column-is-too-small-td1459134.html

 
META FILEATTACHMENT attachment="Screenshot.png" attr="" comment="screenshot of mutt with a broken locale setting" date="1172666806" name="Screenshot.png" path="Screenshot.png" size="89482" stream="Screenshot.png" user="Main.TobyCabot" version="2"

Revision 2313 Aug 2013 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 108 to 108
  Windows is annying, but with Cygwin it looks enough like unix that I don't get an itchy rash when I use it. http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp is a nice little tool that can fix some annoying shortcomings such as lack of tab completion in cmd.exe.
Added:
>
>

Mac

The computer for the 1%. The most annoying thing about macs is the keyboard - if you're used to a PC keyboard the "mac key" will drive you nuts.

https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/ - allows you to make the keyboard shortcuts more PC-like.

 

Dynamic DNS

http://ipcheck.sourceforge.net/

Revision 2228 Feb 2007 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 142 to 142
 help wanted pages are in frontend/php/people. index.php is probably what we care about. It calls utils_get_content() which (apparently) gets the data from the database. It's defined in frontend/php/include/utils.php.

Added:
>
>

Locale

I had a problem that caused mutt to use strange characters to indicate message threads:

Screenshot.png

Turns out that newer Debian installs have UTF-8 enabled using the /etc/default/locale file whereas older installs don't. I set up my server using the etch-vintage installer whereas my workstations were installed years ago and have been incrementally updated since then. To fix the problem I just needed to set up a /etc/default/locale file for my workstations (the contents are just LANG=en_US.UTF-8). It appears that Fedora core 4 (and probably newer) also set their default locale to en_US.UTF-8.

META FILEATTACHMENT attachment="Screenshot.png" attr="" comment="screenshot of mutt with a broken locale setting" date="1172666806" name="Screenshot.png" path="Screenshot.png" size="89482" stream="Screenshot.png" user="Main.TobyCabot" version="2"

Revision 2111 May 2006 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 133 to 133
 $ ppmtowinicon favicon.ppm > $WEBHOME/favicon.ico
Added:
>
>

Savane

Want to add a "gnu only" help wanted query page.

Project located at: https://gna.org/projects/savane

help wanted pages are in frontend/php/people. index.php is probably what we care about. It calls utils_get_content() which (apparently) gets the data from the database. It's defined in frontend/php/include/utils.php.

Revision 2015 Feb 2005 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 126 to 126
  I had a problem where sound just stopped working one day. This is odd since this sort of thing rarely happens in GNU/Linux; my experience has been that it's hard to get things configured but once you do it's solid). I'm not sure how, but it looks as if the sound chips got into some strange configuration, and then that configuration gets saved and restored when you shut down and come back up. The saved state is in a file in /var/lib/alsa so I deleted the file, rebooted, and things worked OK.
Added:
>
>

favicon.ico

I don't see the need for a site logo, but on the other hand my error logs were getting filled with requests for favicon.ico so I made a cheezy one. In the gimp, crop to 16x16, save as .ppm, it will ask you if you want to export, then raw or ascii (choose ascii). Then

$ ppmtowinicon favicon.ppm > $WEBHOME/favicon.ico

Revision 1921 Jan 2005 - TobyCabot

Line: 1 to 1
 

font config note that I should follow up on:

Line: 120 to 120
  you can force an update using -f.
Added:
>
>
All of this is moot, though, because fscking RCN blocks incoming ports 25 and 80 for their dynamic IP customers. You need to pay $20/mo for a "static" IP to get those ports unblocked.

ALSA Problem

I had a problem where sound just stopped working one day. This is odd since this sort of thing rarely happens in GNU/Linux; my experience has been that it's hard to get things configured but once you do it's solid). I'm not sure how, but it looks as if the sound chips got into some strange configuration, and then that configuration gets saved and restored when you shut down and come back up. The saved state is in a file in /var/lib/alsa so I deleted the file, rebooted, and things worked OK.

Revision 1806 Jan 2005 - TobyCabot

Line: 1 to 1
Added:
>
>
 font config note that I should follow up on:

http://lists.debian.org/debian-devel/2003/debian-devel-200304/msg01763.html

Line: 8 to 10
 
Deleted:
<
<
http://www.teresaudio.com/memtest86/ is a standalone memory tester.

You can put it on a floppy or to add to lilo put memtest86 (the binary) in /boot and just add this to /etc/lilo.conf:

image=/boot/memtest86
label=memtest


 Backspace and delete seem to give me problems. The config that seems to work for me (using Gnome terminal) is to select the "Swap Delete/Backspace" option and don't select the "Delete generates DEL/^H" option.


Line: 33 to 23
 RFC2945 - Secure Remote Password protocol


Changed:
<
<
At some point when I get a tape drive I should check out AMANDA: http://www.backupcentral.com/amanda.html
>
>
At some point when I get a tape drive I should check out AMANDA: http://www.amanda.org/
 
Mice
Line: 77 to 66
  Upgrading to Donald Becker's latest driver (version 0.92t) seems to have fixed things.
Deleted:
<
<

 

Global Search and Replace

I end up re-implementing this once every couple of years, so here's what I did last time:

Line: 120 to 107
 

Windows

Windows is annying, but with Cygwin it looks enough like unix that I don't get an itchy rash when I use it. http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp is a nice little tool that can fix some annoying shortcomings such as lack of tab completion in cmd.exe.

Added:
>
>

Dynamic DNS

http://ipcheck.sourceforge.net/

run from ~/.ipcheck:

tobyc@phoenix:~/.ipcheck$ python ~/bin/ipcheck.py -l -8 {router_pw} -c tcabot {easydns_pw} www.caboteria.org

you can force an update using -f.

Revision 1730 Apr 2003 - TobyCabot

Line: 1 to 1
Added:
>
>
font config note that I should follow up on:

http://lists.debian.org/debian-devel/2003/debian-devel-200304/msg01763.html


 http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.


Revision 1612 Jan 2003 - TobyCabot

Line: 1 to 1
 http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.


Line: 110 to 110
 

ASP

I did some work with a MS deployment environment once. While the project was fun the platform was a PITA, but if I did another I might want to check out the Tamber Project which looks like the equivalent of phplib for ASP. On the other hand, Arrowhead aims to make ASP code run on Java platforms.

Added:
>
>

Windows

Windows is annying, but with Cygwin it looks enough like unix that I don't get an itchy rash when I use it. http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp is a nice little tool that can fix some annoying shortcomings such as lack of tab completion in cmd.exe.

Revision 1519 Nov 2002 - TobyCabot

Line: 1 to 1
 http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.


Line: 106 to 106
 

X Windows Fonts

I had to enable type1 fonts in order to get Abiword to work, but then fonts in other programs started to look like shit. It turns out that you need to make sure that the type1 fonts are loaded last (i.e. the FontPath     "/usr/X11R6/lib/X11/fonts/Type1/" line in /etc/X11/XF86Config-4 should be after all of the other FontPath entries).

Added:
>
>

ASP

I did some work with a MS deployment environment once. While the project was fun the platform was a PITA, but if I did another I might want to check out the Tamber Project which looks like the equivalent of phplib for ASP. On the other hand, Arrowhead aims to make ASP code run on Java platforms.

Revision 1407 Jul 2002 - TobyCabot

Line: 1 to 1
 http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.


Line: 99 to 99
  The -exec grep ensures that the script only runs on files that it needs to modify.
Deleted:
<
<

 

suEXEC

Debian GNU/Linux uses apache suEXEC by default, which means that cgi scripts in user's home directories will run as that user rather than the webserver user. suEXEC is very picky (which it should be) about things like file and directory permissions, but it emits really crappy diagnostics. If you get messages in the apache error.log about "premature end of script headers" when you run a cgi script it's worth it to look in the suexec.log to see if there's something more descriptive.

Added:
>
>

X Windows Fonts

I had to enable type1 fonts in order to get Abiword to work, but then fonts in other programs started to look like shit. It turns out that you need to make sure that the type1 fonts are loaded last (i.e. the FontPath     "/usr/X11R6/lib/X11/fonts/Type1/" line in /etc/X11/XF86Config-4 should be after all of the other FontPath entries).

Revision 1324 Jun 2002 - TobyCabot

Line: 1 to 1
 http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.


Line: 72 to 72
  Upgrading to Donald Becker's latest driver (version 0.92t) seems to have fixed things.
Added:
>
>

 

Global Search and Replace

Line: 97 to 98
 

The -exec grep ensures that the script only runs on files that it needs to modify.

Added:
>
>

suEXEC

Debian GNU/Linux uses apache suEXEC by default, which means that cgi scripts in user's home directories will run as that user rather than the webserver user. suEXEC is very picky (which it should be) about things like file and directory permissions, but it emits really crappy diagnostics. If you get messages in the apache error.log about "premature end of script headers" when you run a cgi script it's worth it to look in the suexec.log to see if there's something more descriptive.

Revision 1217 May 2002 - TobyCabot

Line: 1 to 1
 http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.


Line: 72 to 72
  Upgrading to Donald Becker's latest driver (version 0.92t) seems to have fixed things.
Added:
>
>

Global Search and Replace

I end up re-implementing this once every couple of years, so here's what I did last time:

#!/bin/sh

# run sed on a file in place.
# first arg is filename, second arg is sed script

if [ -f "$1" ]; then
		  cp "$1" "$1.bak"
		  sed --expression="$2" "$1.bak" > "$1"
fi

Then use find to run that script:

$ find . -type f -exec grep -q INDENTIFIER {} \; -exec gsed {} "s/INDENTIFIER/IDENTIFIER/g" \;

The -exec grep ensures that the script only runs on files that it needs to modify.

Revision 1125 Feb 2002 - TobyCabot

Line: 1 to 1
 http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.


Line: 32 to 32
 http://www.backupcentral.com/amanda.html


Deleted:
<
<
postgres' nightly maintenance was emitting:

NOTICE:  RegisterSharedInvalid: SI buffer overflow
NOTICE:  InvalidateSharedInvalid: cache state reset
NOTICE:  RegisterSharedInvalid: SI buffer overflow
NOTICE:  InvalidateSharedInvalid: cache state reset
NOTICE:  RegisterSharedInvalid: SI buffer overflow
NOTICE:  InvalidateSharedInvalid: cache state reset

A note on one of the mailing lists indicates that this can happen if someone has an open transaction. In my case bouncing tomcat did the trick.


 Mice
Changed:
<
<
It took a little bit of fiddling to get my Gateway computer's MS IntelliMouse 1.2A to work with both GPM and X, but in the end the config is pretty straigtforward. /etc/gpmdata looks like:
>
>
It took a little bit of fiddling to get my Gateway computer's MS IntelliMouse 1.2A to work with both GPM and X, but in the end the config is pretty straightforward. /etc/gpmdata looks like:
 
device=/dev/psaux

Line: 84 to 70
 Jun 4 19:31:04 tobypc last message repeated 7 times
Changed:
<
<
Upgrading to version 0.92t seems to have fixed things.
>
>
Upgrading to Donald Becker's latest driver (version 0.92t) seems to have fixed things.
 

Revision 1028 Dec 2001 - TobyCabot

Line: 1 to 1
Changed:
<
<
http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents.
>
>
http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents. also http://ai.eecs.umich.edu/soar/ looks more fully-developed.
 

Revision 917 Oct 2001 - TobyCabot

Line: 1 to 1
Changed:
<
<
From slashdot:
>
>
http://www.logilab.org/narval/ looks very interesting. It's a framework for building intelligent agents.
 
Changed:
<
<
http://www.teresaudio.com/memtest86/
>
>

 
Changed:
<
<
put memtest86 (the binary) in /boot and just add this to /etc/lilo.conf:
>
>
http://www.teresaudio.com/memtest86/ is a standalone memory tester.

You can put it on a floppy or to add to lilo put memtest86 (the binary) in /boot and just add this to /etc/lilo.conf:

 
image=/boot/memtest86

Revision 811 Oct 2001 - TobyCabot

Line: 1 to 1
Added:
>
>
From slashdot:

http://www.teresaudio.com/memtest86/

put memtest86 (the binary) in /boot and just add this to /etc/lilo.conf:

image=/boot/memtest86
label=memtest


 Backspace and delete seem to give me problems. The config that seems to work for me (using Gnome terminal) is to select the "Swap Delete/Backspace" option and don't select the "Delete generates DEL/^H" option.


Revision 703 Oct 2001 - TobyCabot

Line: 29 to 29
 A note on one of the mailing lists indicates that this can happen if someone has an open transaction. In my case bouncing tomcat did the trick.


Added:
>
>
Mice

It took a little bit of fiddling to get my Gateway computer's MS IntelliMouse 1.2A to work with both GPM and X, but in the end the config is pretty straigtforward. /etc/gpmdata looks like:

device=/dev/psaux
responsiveness=
type=imps2
repeat_type=raw
append=""

which ends up running gpm like so: /usr/sbin/gpm -m /dev/psaux -t imps2 -Rraw .

X's XF86Config "Pointer" section looks like:

Section "Pointer"
	Protocol		  "IMPS/2"
	Device			 "/dev/gpmdata"
	Buttons			3
	Emulate3Buttons
EndSection

NOTE: I don't have the mouse wheel working (yet).

  The pass-through device for GPM is /dev/gpmdata.

Revision 626 Sep 2001 - TobyCabot

Line: 1 to 1
Added:
>
>
Backspace and delete seem to give me problems. The config that seems to work for me (using Gnome terminal) is to select the "Swap Delete/Backspace" option and don't select the "Delete generates DEL/^H" option.


 I had a strange problem with Java - JBoss could start up but not shut down. It hung after shutting down the mail service but before any JMX RMI messages. Turns out that I had moved my machine and the network config was FUBAR: my hostname's entry in /etc/hosts didn't match any of the IP's that I had configured. D'oh!


Revision 531 Jul 2001 - TobyCabot

Line: 1 to 1
Added:
>
>
I had a strange problem with Java - JBoss could start up but not shut down. It hung after shutting down the mail service but before any JMX RMI messages. Turns out that I had moved my machine and the network config was FUBAR: my hostname's entry in /etc/hosts didn't match any of the IP's that I had configured. D'oh!


 RFC's

RFC2945 - Secure Remote Password protocol

Revision 430 Jul 2001 - TobyCabot

Line: 1 to 1
Added:
>
>
RFC's

RFC2945 - Secure Remote Password protocol

 
At some point when I get a tape drive I should check out AMANDA: http://www.backupcentral.com/amanda.html

Revision 305 Jun 2001 - TobyCabot

Line: 21 to 21
 The pass-through device for GPM is /dev/gpmdata.


Added:
>
>
The Tulip network driver 0.92 on my Gateway box would stop working, usually when I was sending a large block of data. It would put this in the log:

Jun  4 19:30:29 tobypc kernel: eth0: Transmit timed out, status fc664010, CSR12 00000000, resetting...
Jun  4 19:31:04 tobypc last message repeated 7 times

Upgrading to version 0.92t seems to have fixed things.

Revision 225 May 2001 - TobyCabot

Line: 1 to 1
Added:
>
>

At some point when I get a tape drive I should check out AMANDA: http://www.backupcentral.com/amanda.html


 postgres' nightly maintenance was emitting:


Revision 104 Apr 2001 - TobyCabot

Line: 1 to 1
Added:
>
>
postgres' nightly maintenance was emitting:

NOTICE:  RegisterSharedInvalid: SI buffer overflow
NOTICE:  InvalidateSharedInvalid: cache state reset
NOTICE:  RegisterSharedInvalid: SI buffer overflow
NOTICE:  InvalidateSharedInvalid: cache state reset
NOTICE:  RegisterSharedInvalid: SI buffer overflow
NOTICE:  InvalidateSharedInvalid: cache state reset

A note on one of the mailing lists indicates that this can happen if someone has an open transaction. In my case bouncing tomcat did the trick.


The pass-through device for GPM is /dev/gpmdata.


View topic | History: r26 < r25 < r24 < r23 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback