LINUX
By Shel Daltrey
linux @ fastbk.com
rev. 06/04/06
West Coast headquarters of "WMMSYDH2"*
*WeMakeMistakesSoYouDon'tHaveTo"
random thoughts/intro
These
notes are as much for me, so when I have to reinvent the wheel I can
remember what I did ... as they are for anyone who may be browsing this
page. If you have a question, I will be happy to try and answer
it. Except, I don't actually know anything about Linux other than to
browse the net till I find a "solution."
I'm now using SuSE Linux, which is
produced by Novell. I started with SuSE with ver. 8.2, I think.
Before that, I tried Mandrake. I like the Mandrake project,
but I could not get that version to run in a stable manner on my
computer. As far as I could tell, there was some bug in the
hardware detection system that ran at start up that would trash the
start up files. I tried various Mandrake version from 8.2 forward
to 10.0. I also tried a version of Fedora, but I did not find it
particularly user friendly or easy to update.
SuSE is typically up to date and regularly checks for newer versions.
In addition, the SuSE website generally makes available packages
that are even newer than the
ones in the YAST automatic updating system, if you are really obsessive
about updating. I'm not particular concerned with grabbing every
new update so long as my computer stays secure. However, I had a
weird problem I was trying to solve, so for a while I was loading all
the new updates as they became available.
Crashing kded. The
problem I had was that the kded component of KDE constantly
crashed. This was inconvenient, as it manages the cookies in the
Konqueror browser and a lot of other stuff. Updates did not solve
the problem and I could not find a solution browsing the internet, as
relatively few other people seemed to be encountering the same issue.
I highlighted this issue here because maybe it will help someone
with a similar problem. I hope it will, because this was a really
annoying issue that almost made me give up Linux and I had a lot of
trouble solving it.
I did found a couple of hints that finally led me to the solution --
there was some sort of "permissions" error in my user area and this
permissions problem was surviving multiple SuSE upgrades, such as
upgrading from 9.2 to 9.3. The solution was to create a new user.
The new user does not have any problem.
Update 3.5.1 -- kded
still crashes, though not as often. This is a serious annoyance.
It means cookies don't work in konqueror and the wallet doesn't manage
passwords. I can't believe that others are experiencing the same
problem, but building a new "user" everytime this starts happening is
not an option. This is really aggravating.
SuSE ver. 10
Version 10 installed okay. It now installs from ISOs that you
download. The DVD iso would not burn for me, I don't know why.
As far as I know, my DVD burner is working. I actually
ended up downloading the dvd iso twice, once to Linux and once to
Windows, but neither system would burn the iso. So, I downloaded
and burned five CD isos. (Same burner, actually--worked fine).
I also discovered that you can mount the iso as an actual drive,
which is convenient when you want to add software or extract something
from the dvd iso. You need to create a mountpoint, perhaps via, "mkdir /mnt/iso." That might also be "mkdir -p /media/iso", I'm not certain. Then you can run this command: "mount -t iso9660 -o -ro,loop /[location of your iso] /media/iso. Then the iso is readable as a disk.
I was concerned when Novell acquired SuSE that the "free" version would
cease to be easily available. There was a transition period while
this was true and then 9.3 was released in an easy to use "open"
version and now the same is true of 10.0. Sometimes it's fairly
confusing navigating the Novell/SuSE website, since they seem to have
several parallel sites giving similar (but not identical) information
and downloads. However, it appears the former "install via ftp"
from the web is no longer an option -- and that is inconvenient when
you go looking for source packages, because most of them are now bound
up in the iso(s).
I should be complaining about isos? I always had trouble using
the install from web system, because it seemed to me you had to find
the IP address for the domain, which was a pain. So, until 9.3, I
was always complaining that isos were not available. However, I
recently installed SuSE 9.3 and somewhere I found some notes on how to
identify the server by just its domain name. So, it became much
easier. And, the good thing about using the online install system
(I think) is that when the packages are updated, you know you are
installing a fairly current vrsion.
Using the "free"
version makes me something of a freeloader, and for this I apologize to
the good people at SuSE and Novell. There is an interesting irony
to Open Source software. You can obtain it free, but if you are
only putting Linux on one machine (and, say a dual-boot machine where
Linux is not your primary operating system) then it's rather pricey if
you buy the actual supported version and regularly updated it.
If, on the other hand, you are an IT manager and putting Linux on
a bunch of computers, you can achieve major cost savings.
SuSE has proven to be very easy to install and is stable on my
computer. The entire package is advancing rapidly, which is a
motivating factor for regularly updating (but then you spend a fair
amount of time installing updates). The main drawback right now
is hardware support, which you can avoid if you buy Linux friendly
computer equipment. (Unfortunately I do not.) Also, I
regularly use a couple of specialized programs that only run on Windows.
Bugs in my current install (KDE 3.5.1):
As mentioned above, I still have the crashing kded problem, and
thus, frequent problems with Konqueror web browsing due to lack of
cookies. I'm beginning to have a preference for Firefox, anyway,
as I like the numerous extensions, ad blocking, selective javascript,
etc. Firefox now has ftp, as well. Konqueror still has
features I like and is much faster to load than Firefox (esp. firefox
loaded with extensions). Other bugs I can think of:
- 3/4/06 -- The
hang-up on starting seems to have been cured in the next update.
Or by virtue of "updating" if this was just a glitch in my
install.
- 2/26/06 -- It's
always something, n'est-ce pas? Latests updates seem to have created a
new problem -- my system hangs when booting when attempting to access
the powersave system and/or launching KDE. (I'm not clear which).
What I do know is that linux won't boot. Well, it will
boot, but not without some monkeying around. It doesn't seem to
be mere passage of time, but I can't figure out a key sequence that
makes it go either. I type a lot of keys while holding down the
control key, and after awhile I get kdm to start. This is
annoying. (update--if I wait about 60 secs. and type <ctrl> d, it seems to start.
- 2/16/06 (or so) -- runaway processes. I'm not precisely clear on what happens.
To intercept process that hang up (linux running KDE is not so
entirely stable as the linux mystique claims) I run the "runaway
process" appelet. This intercepts a lot of process as "slowing
down the system" and there are two choices. (a) constantly
respond to nag screens or (b) permanently "ignore" the process. I
increased the timing and cpu load settings and reduced the amount of
nags. The main thing is I want to intercept process that are
completely hung up, but allow "slow" processes to continue functioning.
- Related to the runaway processes issue is the fact that there
seems to be errant processor load frequently. The only reason I
believe this to be the case is that my cpu generates a lot of heat, so
I can always tell the "load" when the fans step up to higher speed.
The fans often run considerably higher in linux than under
windows, and I can tell when something has "gone awry" -- I will be
doing the exact same task(s) I normally do, and yet the fans are
starting to run away.
- Quanta 3.5 -- dang! By features, this looks to be a
Dreamweaver-like program that would make web project management
considerably easier. However, the program (in my install) is so
buggy I can't use it. The WYIWYG view has numerous annoying
errors and the program itself is prone to crash out completely.
So, I'm still using NVU -- which has the added advantage of being
simple to use and cross-platform.
- The touchpad is way too sensitive and as far as I know, cannot be
adjusted. It also has a rather small area that must be used for
navigating menus, not the whole pad.
- suddenly for no reason, /usr/sbin permanently disappeared from my
path. I discovered this when the kwifimanager scanner kept
telling me it could not find iwlist in the path. What the heck?
After time wasted researching the issue, I edited /etc/.profile
and this bug is solved ...
- Oh, dang. The stuff you hate -- perfectly good setup
suddenly screws up. For whatever reason, wlan0 (wireless) is now
not starting. Won't start with YAST configuration of network
device either. Works if I run a "modprobe wlan0" command.
Why is this? Somehow the startup script must have gotten
altered, but I haven't been messing with it. So, in two days,
/usr/sbin disappears, then wlan0 startup disappears. This was the
sort of instability that made me give up Mandrake linux.
- bug update--after some
research, I found that I could go to Yast2>system>/etc/sysconfig
Editor>system>kernel>MODULES_LOADED_ON_BOOT and add
"ndiswrapper". Problem solved. But, why did I have to do
this since it was previously working (so this entry was probably
already there? Where did it go???) I really hate
instability. I don't mind researching how to make something work
>once< , but when settings take to simply disappearing, this is
serious aggravation. It's much harder to trouble shoot a failed
installation than to install the thing in the first place!!!
SuSE 10.0 install issues
What went right and what went wrong?
Things that Worked
Wired networking, KDE desktop (especially, Konqueror file browser/web
browser), "Kontact" (e-mail program), Targus USB hubs, internal and
external CD R/W -- external is a Yamaha -- USB external keyboard, USB
hub connected Samsung CLP 550 color laser printer, OpenOffice, Firefox,
Nvu, amarock audio player with RealPlayer plugins.
So, as you can see, upon install I could browse the internet, draft
documents, manage my website, collect my e-mail, listen to music and
print stuff. Pretty good.
Also worth noting is that my 1440 x 900 (wide screen) laptop screen is
correctly set up. Two years ago, this was a huge problem and SuSE
was the first distribution that would work for me -- even then, I had
to manually input the screen size. My synaptics type touch pad is
working pretty good as well. It was a bit touchy, but I
de-activated "mouse" drivers for the external ps2 (and USB ps2) ports
and it got better. Unfortunately, I haven't found a program that
allows me to adjust the sensitivity of the touchpad or access some of
its fancier features. (But, I don't use these anyway.)
Things that didn't work
LISA Daemon. Browsing my
windows shares on other computers and equipment has always been a bit
difficult to set up. On this install, the samba (smb) system
works -- but only if I know the IP address of the other equipment.
That is not too convenient with DCHP, because assignments change.
I had only just
gotten the "LISA" daemon working in SuSE 9.3. That was great,
since I could browse smb shares automatically. Unfortunately,
10.0 did not even include the kdenetworks-lisa package. I grabbed
an updated version from the "updates" website -- but I cannot get it to
work.
In the past, I have used the linux neighborhood program, although I
could never get it to browse correctly -- so once again, I was limited
to identifying the specific IPs -- I don't need that program any
longer, since the SMB browser system works -- but it would be better to
get the LISA dameon working so could actually browse the available
locations.
- update 3.5.1 -- LISA is working and I don't remember what I did
to fix it. But, it's way better to be able to browse my windows
computers directly from Konqueror. Yea!
Wireless didn't work
automatically, but I have subsequently gotten it to go. The
necessary package is "ndiswrapper," which installs your windows drivers
under linux. You have to locate and copy the ".inf" and ".sys"
files. Here's a website that describes how to install the NDIS
wrapper: http://www.linuxelectrons.com/article.php?story=20040507104718960&mode=print
Now, this worked well for me, but I did not have to do every step.
That's because I previously had the wireless card (Broadcom)
working with the "linuxant" driver that you pay for. So, I had
previously set up some of the necessary boot files. The
important steps for me were:
"/usr/sbin/ndiswrapper -i" -- which creates an ndiswrapper subdirectory
in the /etc directory, but you need also to put the necessary windows
drivers there as well, so your actual command is something like
"/usr/sbin/ndiswrapper -i /[location]/bcmw15.inf" (where "bcmw15.inf"
is replaced with the inf file for your windows driver, which you have
previously copied somewhere under your current home directory.
"/usr/sbin/ndiswrapper -l", which installs the drivers.
"modprobe ndiswrapper" which starts the driver. Then, "iwconfig"
to see if it's properly configured. And, to get the whole thing
starting at boot, add the following line to your
/etc/modprobe.conf.local file: "alias wlan0 ndiswrapper". (I
found that I merely had to replace the existing "alias wlan0
driverloader" which referred to the Linuxant driverloader.)
A big problem with Linuxant (other than having to pay for it, which by
itself is no big deal, but if you were paying $20 for every driver you
would soon have a very big investment ...) is that every time the linux
kernel is updated you have to retrieve and load a new version of
linuxant -- and this is problematic if you are using a wireless
connection, since the wireless connection won't be working in order to
retrieve the new version.
- update -- I've done an
ndiswrapper install on another computer and it worked fine. I
found some instructions online which were excellent step by step.
(And when I find the link, I may put it here!)
mp3/mpeg. There are
apparently some codec licensing issues. I don't know precisely
what they are, but I have loaded about five different multi-media
programs and none of them is actually handling video for me. The
RealPlayer/Helix components of Amarock will play mp3s. In fact,
even trying to play mpegs is problematic because some of the programs
go into an infinite loop of trying to play them and rejecting them --
very difficult to stop once it starts.
scanner/printer issues. I
have a network brother MFC-8840D 6-in-1 scanner/printer/etc. machine.
I have not been able to figure out how to access it even though
it is a network printer/scanner and Brother has some allegedly Linux
friendly software on its website. I also have a really old laptop
running as a "server" for the CLP 550. The reason for this is
that if I am wireless in another room, I can still print to the CLP 550
(Samsung makes a network version, but when you have stacks of obsolete
laptops lying around, why buy the network card?) In past linux
installs (and using the linux neighborhood program) I was able to print
to my windows networked printers. However, so far I have not been
able to access the printer via the smb shares system. I probably
could do this if I knew what to enter into the prompt. Eg, for
the c-drive, you put in //[IP #]/c-drive.
Here is a list of linux programs that are quite useful:
- KDE desktop, and especially the Konqueror integrated file
manager/web browser/ftp tool. Konqueror has a lot of good
features and in my view it stays ahead of Firefox, which is my other
preferred browser. I especially appreciate being able to set site
based java/javascript privileges, because I only want to enable these
privileges when I have no other alternative and I need to use the
subject website.
- OpenOffice -- this is a useful office suite that integrates some very useful database features as well.
- Kontact/Kmail -- Kontact is a PIM and Kmail is my preferred mail
program on Linux. (On Windows I use Pegasus). I actually
prefer Kmail -- and beyond that, one goal, or say "grail" I have been
chasing is to be able to access all of my working files and databases
transparently from both Windows and Linux. Unfortunately, I
haven't been able to accomplish this. I made some significant
effort to use the Mozilla Suite on both operating systems. It's
marginally possible to do this, but way to difficult. It would be
great if cross-platform programmers would set up their programs so that
common data can be accessed from either platform. Of course, you
can do this with some programs, such as OpenOffice and GIMP (image
editing program).
- Nvu is a fast and pretty capable WSWYG web page authoring program
and will work cross-platform. It's best if you are doing pages
like this one that don't utilize java scripts and the like. It
was not in the earlier SuSE packages, but I understand it is included
and/or available for 10.0. (There are versions for 9.1/9.2/9.3
available at the Nvu website.)
- There are actually many more, but they don't immediately come to mind.
- Firefox
- Thunderbird e-mail (Mozilla)
- SeaMonkey (Mozilla Suite)
- Konqueror ipod interface (ipod://) (which is a good deal more
useful than the actual itunes software in terms of exploring your ipod).
- GTKipod (Among other things, interfaces with MP3Gain, but I don't
like the MP3Gain choices it makes and there is no configuration menu).
GTKipod purports to be able to mirror the itunes management of
the ipod, but so far, it keeps telling me it can't find the ipod db, so
I can't give a good review on this yet.
- Ktorrent
- Wine/Winetools -- I tried various GUIs for Wine with not much
success utnil I tried Winetools. Winetools comes with installs
for quite a number of Windows programs -- some of which are pretty cool
freeware for Windows itself. Unfortunately, there is no installer
for whatever Windows program you want to use. There are simply
installers for certain programs that you may need from time to time,
such as MSIE Explorer. (I have had pretty good luck running
standalone windows exe programs, but not windows programs that require
access to DLLs, registry install info or other exes.)
- Ardour. Recording program. (See my discussion below
-- still don't know how well this works, but it looks like a
full-featured recording studio package.)
- Audacity. Another cross-platform freeware program you can't
be without. This is also a recording program, but much more basic
than Ardour. On the other hand, it has great uses for a number of
things. For instance, I used Audacity to record the audio for a
lipsynch "live performance" at an anime cosplay. I would say we
had the best sound at the cosplay -- it really sounded live.
Audacity will export your wav file to mp3 or other formats.
(For mp3 you have to install the lame mp3 codec.) I noticed
that Audacity had been used for some Phil Lesh soundboard recordings
available freely on the internet, too. So, it has some great
usefulness, especially if you understand soundcard capture.
Programs that have versions under both linux and windows
- OpenOffice (Provides a good office suite with database capabilities that can share data across both platforms.)
- Mozilla (This provides a PIM set of tools. However, they can't easily access the same set of data across both platforms.)
- NVu (Web site/HTML editor -- such as how I have prepared this page ...)
- GIMP (graphics/image editor)
- Acrobat reader (but linux has some very capable pdf readers also).
- Firefox
- SeaMonkey -- the Mozilla suite, as opposed to standalone Firefox/Thunderbird
- Thunderbird e-mail
- This deserves further discussion. I like Kontact/Kmail --
but Thunderbird is cross-platform and has the added advantage of being
able to easily share e-mails across platforms, as well as easily
archive them. (Same for Mozilla e-mail, but I didn't learn this
earlier. I spent a lot of time trying to get windows Mozilla and
Linux Mozilla to read the same e-mail folder, but this was a disaster
due to the difference in path naming conventions in windows and linux
-- the setup information is also contained in the folder structure, and
they aren't the same. I tried a batch file to switch the setup
file to the other system, but it was way too buggy.) Now, here's
what I did to move e-mails from Linux to Windows (or vice versa).
I made a Konqueror configuration that would open the Thunderbird
e-mail folder side by side with a "transfer" folder on my transfer
partition. I made a "transfer" folder in the e-mail system.
So: (1) move emails to "transfer" file folder in
Thunderbird; (2) using Konqueror, move the actual "transfer" e-mail
file folder to the "transfer" folder on the transfer partition -- are
you following this? (3) move the transfer e-mail folder >into<
the e-mail folder under the other operating system. It sounds
more complicated than it actually is, it's quite simple. In
addition, I believe I can set up scripts/batch files to completely
automate the whole thing. If I run it as a startup/shutdown
script, any e-mails I have put in the transfer file will automatically
be exported on shutdown and imported on startup. (But that's a
task for another day.)
- Also, see my discussion of Spam filtering for another good use of Thunderbird.
- Audacity -- Audio program. (If you like music, you cannot live without this program, but I am not telling you why).
- MP3Gain -- This is a great program for normalizing your entire
MP3 collection. The windows GUI is considerably better than what
is available in linux, though the command line system works just fine
cross-platform. A third party has greated a java GUI that works
in linux, but I have not yet figured out what settings I have to use to
make it do what I want. In windows, the GUI gives you excellent
feedback, so you know what you have accomplished -- so, I found that I
had doubled the gain on my
mp3s when I adjusted them under linux. Not what I meant to
accomplish. What I wish to do is set a target (eg., the default
89 db, which avoids most clipping, though it is quieter than your
typical mp3 rip). Hopefully, I will soon figure out the correct
parameters for the linux GUI.
- Limewire p2p
- TOR (I'm still doing my "beta-test" of the TOR system, but it's
the anonymous web-browsing system, so if you are looking to reduce your
web footprint, you may wish to study up on this one.
- POPfile spam filter
- There are others that I can't think of at the moment. BTW,
kudos to the great programmers who offer cross-platform software.
This really great!
Fighting Spam
Fighting
spam is really a war that cannot be won. It's pretty much like
dealing with ants or cockroaches in your home. You try to
minimize the impact without damaging yourself too much with the
"solution," either by waste of time or the poisons you bring to the
project. Personally, I think a good deal of the spam is
intentionally created by people who wish create a public outcry for a
more censored/controlled web -- which I do not favor. I would
rather deal with the ants and cockroaches. The reason I suspect
the spam is intentionally created for this no-good reason is that if
you look at the spam, it can't have any other commercial or
non-commercial purpose. For instance, there is a particular
e-mail address I use that was >only given< to a couple of
commercial banking sites. Yet it gets a massive quantity of
extraordinarily offensive pornographic spam -- spam that does not come
to any of my other addresses. It is the same stuff, 10 copies a
day, for months on end. This is not consistent with spammer
behavior -- if they are selling a product or trying to generate hits on
a site, they change their approach and/or change the target e-mail
addresses, since after the first or second salvo, anyone who is going
to be seduced into clicking on the links involved has done so.
Thus, the only purpose of this spam must be
to annoy the recipients. And, I think it's rather telling that
the e-mail address was only give to commerical sites that would
presumably be running a "secure" db. (And interestingly, the
address has not made it's way into the widely
circulated "spam address" databases, since I don't get any of the typical crud addressed to this particular address.)
True or not, in any event, there is just a
massive amount of spam clogging the internet, for no good reason.
I filter 300+ spams a day -- and that is AFTER my ISP filter
kills off all of the "known spam."
Well, I'm sure you are not reading this to
find out about my own particular "spam consipracy" theory. But
let me make some practical suggestions.
I've tried a number of things, such as spam assassin, bogofilter, POPfile, etc. Here's my current thinking:
new version (3/31/06) Well, the old version,
discussed below, never really worked correctly -- and then I ran into
another problem! Thunderbird in Linux would let me access the same
e-mail account with different "accounts" and therefore different
parameters. However, the Windows version of Thunderbird would only
allow a single account to access a particular e-mail account. (The
importance of this is that you want to access the account with "headers
only" and not deleting the pop account e-mail, and then a separate
"account" to actually access and download.)
I realize that my explanation here is getting muddled, since I am
adding in "updates" in a strange order, so it may not be clear what I
am talking about. You sort of have to read the "old version" below
first, I guess. But in any event, I remembered that the Mozilla Suite
could have multiple profiles, so I thought to try the current version
of Mozilla Suite, SeaMonkey.
Well, this worked out much better than the "old version," because as
you will read below, my effort with Thunderbird as a pre-filter never
quite worked correctly. But SeaMonkey has worked perfectly. The problem
with Thunderbird was that I couldn't figure out what was necessary to
trigger the delete of spam off the pop account after it was "filtered'
in Thunderbird. Some of the spam was still downloading when I used the
second account to actually retrieve the good e-mail.
So, here's what's working now and it's working very well. I set up a
SeaMonkey e-mail account that checks my pop e-mail, "headers only" and
"delete when moved from inbox". I leave this running all the time, with
the account checking every five minutes or so. The result is that
SeaMonkey retrieves all of the headers and its filters send all the
spam to "trash". When it goes to trash, it is deleted from the inbox,
so the next time SeaMonkey checks the pop account, everything that was
filtered to trash is deleted from the pop account. The SeaMonkey spam
filter works pretty good, too, even before you "train it." (At first,
you probably should monitor the "spam" manually, rather then send it
direct to trash, because otherwise you may trash some good e-mails.)
Then, I set up my main e-mail, Thunderbird, to retrieve my pop
account e-mail -- but only on initial startup, not checking every five
minutes or whatever. This way, when I want to actually read my e-mail,
I run Thunderbird and it downloads the e-mail that has not been killed
off by SeaMonkey -- ie., the "good" email. I can also check the headers
in SeaMonkey whenever I want, so I can monitor whether there is
anything I want to read -- and of course, I can click in SeaMonkey and
retrieve the e-mail text if I really want to read it ASAP. Finally,
when Thunderbird retrieves the e-mail from the pop server, SeaMonkey
updates its inbox to get rid of all the headers that have now
"disappeared" from the pop server.
As I said previously (which is actually below), this sounds
complicated. But, when it is all set up, you have a pretty good filter
system for getting rid of spam without having to read any of it.
old version: Thunderbird incorporates a pretty good spam filtering system, but the
really "best" (if you've got the time) filtering system is your own
personal reading of the headers. So, I wanted a scanner to read
the headers. I found the excellent "Free Antispam Scanner", but
while trying to find a similar solution for linux, I realized that I
could use Thunderbird itself in the same capacity -- and the
Thunderbird spam filters were better than the ones in Antispam Scanner.
Let me explain. What I wanted to do is follow this flow chart:
ISP filtering>local header filtering>read remaining
headers>kill spam without downloading>download legit email.
And, I wanted to do this in a reasonably efficient manner. The
idea is to get the "automatic"/manual ratio as good as possible, which
means doing what you can to improve your set of filters.
Now, here's the concept. In Thunderbird, you make two identical accounts for your e-mail. Now, one of them, you set up
the way you normally do, but you remove it from the "automatic"
checking and you also tell it not to check for e-mail on startup
or at intervals. That is, you are going to check your e-mail
account only manually.
The second account you name something like "email_cleaner" and you set
it to check on startup and at intervals, BUT only download headers, and
only clear e-mail when removed from inbox. NOW -- don't set your
filters to remove anything from the inbox, because anything that is
filtered out of the inbox will be automatically deleted on your ISP
server. So, if a legit e-mail is accidentally filtered out of the
inbox, it is gone forever.
Okay, let's filter our spam. We start Thunderbird and the
"email_cleaner" account checks our email. There is now a bunch of
stuff in our inbox.
First, we look and see all the spam with offensive words that tell us
we really are not interested in ever seeing these e-mails. And
words like viagra. For these, we make a message filter (and you
can put them all in one filter) with two actions -- (a) "delete" and
(b) "delete from pop server." So now, the next time we start
Thunderbird, all of the viagra advertising is going to disappear and we
will never see it unless we specifically look for it in the trash.
Now, we have set the "spam filter" of Thunderbird to delete when
manually marked as spam. So, we go through the headers and click
the spam button on all the stuff with headers like "re: 2 v news".
As we click, these are deleted (and the next time, they will
automatically be marked as spam).
We've also set the spam filter to not do anything with the items marked
as "spam" by the filter. This lets us briefly review any spam
that doesn't contain known bad words (eg., viagra), because those spams
have been automatically deleted. But, sometimes a "good" e-mail
is marked as spam. So, let's say there are 10 e-mails marked as
spam and one good one. We unmark the good one, then we select the
option to "delete all spam in this folder" and presto, all of the spam
disappears. We are left with one e-mail, the one we want to read
-- but of course, only the header.
update:
I think you have to delete the items that have moved to trash via
"message filters." I don't know why this is, the ones that move
to trash via manual delete seem to be cleaned off the server on the
next check (below) but the ones that were filtered to trash seem to
stay on the ISP server until they are emptied from trash. So,
unless you delete them manually from the >trash< folder, they
will still show up when you check your "real" account, below.
(Gad, I wish I could combine the GUI elegance of "Free Anti-spam
scanner" and the filtering ability of Thunderbird! Thunderbird
programmers, if you happen to read this, could you help automate this
spam "prefilter" method? Anyway ...
update 2 (2/26/06). Dang.
This doesn't seem to be working. I do not understand the
problem, but Thunderbird does not seem to be clearing the deleted
messages. Another great idea failed. I will report back
when/if I figure this out. It sort of works, but sort of not.
Next step, and this is important, we check "email_cleaner" again! This
deletes from our POP server all of the e-mail that is no longer in our
"inbox". Or put differently, now everything is gone except the
one email we actually want to read.
Now, we check our "real" e-mail account, the one where we want to store
our actual e-mails. The one good email downloads and we read it.
(And, the next time we run "email_cleaner", the header will
automatically disappear from that inbox.
Again, this is one of those things that is more complicated in the explanation than in the actual use.
For background, I got the idea from the Free Antispam Scanner. I
hadn't originally realized I could simply use Thunderbird itself to
scan and discard headers. (I came to this realization while I was
searching for a similar tool to use in Linux.) Now, FAS is a
really cool tool. It does precisely the same thing as our
"email_cleaner" account that I described above, and since it is
dedicated to simply reviewing and discarding spam, it is a tad more
elegant. Also, it does something my other scanners, such as
Thunderbird and POPfile don't do (but should). That is, it keeps
track of how many times a particular filter has struck positive.
This is really useful, since if we put the word "viagra" in the
filtering system, but there are never any "viagra" e-mails, we are
slowing down the scanning process with a useless filter.
But, the FAS "downfall" is that its filters don't work as well as the
Thunderbird filters, so there is more manual involvement. One
reason is that if you put part of a word into your filter, it doesn't
necessarily catch everything that "contains" that pattern.
Whereas, Thunderbird filters will. The reason we need this
is we want to enter "xual" to catch both "sexual" and "$exual" and we
want to be able to catch fork and forking with the same filter as well.
In my search, I found another program similar to FAS written in Java
that would run on linux. Its GUI looks very similar to the FAS
GUI, so I wonder which came first, though I suspect FAS copied the
linux version. The linux version had less features, but a further
downfall was that sometimes it would filter and sometimes it would
seemingly be unable to run its spam filters. (Puzzling over this
is what led me to realize I could simply create additional accounts in
Thunderbird to scan and filter my e-mail headers.)
KWIFImanager -- It took
me quite awhile to figure out how to change wifi networks. Yes,
you can do it by going into YAST and changing the default info, but
this is really cumbersome and didn't make sense. So, you can run
KWIFImanager -- but how to make it change networks? The problem
is that, unlike under windows, for some reason the programmers didn't
have the KWIFImanager get a new IP address by default. So,
you can create a different profile and/or logon to another wifi, but it
won't pick up the dhcp address. And, if you restart, it defaults
back to the information you have entered under the YAST configuration
for the network device. What to do?
I came up with two solutions. One is to run "ifdown wlan0" and
"ifup wlan0", which restarts the device and seeks the IP; and the other is to
run dhcpcd. You do this by running a superuser terminal and
entering the commands. But again, that is not an elegant
solution. So, you can write this highly complicated script:
#!/bin/sh
dhcpcd wlan0
And then tell your kwifi configuration to run this script when you
activate the configuration (there is a box for making this entry).
Since kwifimanager is already running with administrator
privileges, the script should execute correctly. So, just fill in
your various "configs" under kwifimanager with your varying wifi
entries and off you go.
You can also scan and click on various wifi's but (assuming it is an
open access point) you will still need to get your IP. So, you
can make a desktop link to run the above script (but you will have to
"run as different user" and run with administrator privileges.
(Or run in a terminal and type "su" to get administrator
privileges for the terminal.)
Recording Studio -- It
was time to see whether I could get the ole' laptop to record in Linux.
For some years, I have been using PowerTracks on Windows with a
reasonable degree of sucess. A long time ago, I was using a P-2
desktop and SBLive audio card and that worked pretty well. Then I
decided I never wanted to deal with another desktop computer, so I
started doing everything on laptops. This sort of kyboshed the
recording career, as there was too much latency in the midi interface
and I couldn't multi-track from my midi keyboard. (Audio has been
working okay.) The latest was an attempt to use an AISO driver,
but it had more latency than the directX drivers.
But anyway, despite kudos to the PowerTrack (and Band-in-the-Box) folks
(where else can you get a $20 recording studio?), time to move on to a
Linux install.
As you know, WMMSYDH2, -- item #1, if your test microphone has an on/off switch...umm, turn it on?
I found the Ardour recording studio software. Further search
found an actual SuSE distro, though it is .99 and 1.0 Ardour.
(There is also another YAST repository to add to your list of
sources ... someday I will put the list I use here.)
When you do the install, you also get the JACK interface (I think).
But, you do not immediately get any icons to click on to get
things running. You will want to do a search in YAST for "JACK"
and find all the cool devices you can install from this package.
Mainly, for now you want the GUI control panel.
Naturally, when you run it, it will simply give a bunch of error
messages and not run. Don't ask me, I don't know why. But,
I was able to run JACK by giving it root privileges. Allegedly,
you need root privileges to get "realtime" access -- which you will
want anyway, in order to get reduced latency. (Too much latency
and you can forget about multitrack recording.)
So, now you need to run the JACK GUI, and start JACK running. (If
you don't do this, Ardour can't find JACK when you start it.)
When Ardour starts, a bunch of connections will be made between
devices. Now, you either need to run Ardour from a super-user
command line or make a desktop link to start the application and run it
as root.
To give JACK and Ardour root privileges, you go to the icon properties
(right click menu) and then got to "advanced" where you can select the
user to run. This will cause an administrator pop-up when the
program runs so you can give the administrator password.
Now, you need to use KMix or KAMix to set the device your are going to
record from. I had a problem with KMix, because it set the left
channel to record from the mic, but the right channel to record from
the mix (without displaying any option for this.) So, when I
tried to record the second track, it also recorded the first track.
This problem was solved by running KAMix, which splits the
"Capture" option and lets you set the source for both the left and
right channels in the stereo recording tracks.
Another issue to deal with is that after you have recorded your track
and want to play it back, you probably won't hear anything. When
you create new tracks in Ardour, there apparently is not an automatic
connection to the correct output device, so you have to click on
"output" in the mixer panel for the track you are using and add the pcm
output to each track.
And another "also" -- sometimes JACK does not make the correct
connections in the first place -- one time, I had no pcm outputs to
connect to. So, I shut JACK and Ardpir down and re-ran JACK,
making certain that the ALSA input and output devices had appeared in
the connection box before I ran Ardour. I didn't manually make
any connetions, though.
More later when I have had an opportunity to test all this stuff out.
Will it be better than PowerTracks? Don't know yet (though
the author claims it is the equivalent of $1300 recording programs.)
- update 1 -- while searching for midi solutions, I installed
"Rosegarden", which claims to be the equivalent of CuBase. I
can't make it work, though. It supposedly is interfacing with
JACK, but it claims it can't find any sound drivers. It also
informs me that I need a better linux kernel version so that I can get
lower latency. (This information was also provided by the JACK
install, but I am not going to mess with my kernel. I used to
recompile my own kernels, but this is really a pain if you do it every
time the kernel is updated and I never was sure I actually gained much
from my "optimization." Of course, I wasn't doing it for latency
reasons.
Midi hell -- Having loaded a
whole bunch of programs that claim to play midis, nothing works.
Well, not "nothing," I discovered that I can play a midi via
"Timidity" from the command line. But, I can't figure out KMid,
Muse, RtSynth or Rosegarden. The Rosegarden FAQ says something
about using Timidity, but so far I don't understand how to do that.
In JACK, I can't seem to figure out how to make connections that
actually run the midi into the sound out. I'm also not clear on
why Kmix and KaMix don't have any settings for midi playback. WMMSYDH2.
Touchpad -- The
touchpad has been driving me nuts. Way too sensitive and very
diminished area for actual cursor movement. Turns out there is a
GUI addition for this, but SUSE doesn't install it automatically.
Go to YAST, install ksynaptics. Then Restart computer (wmmsydh2)
and there is now a "touchpad" option in the KDE Control center.
You can reduce sensitivity and set some touchpad parameters.
Also parameter to automatically shut touchpad off while typing.
This is the first time I have added to this web page without
having to manually shut off the touchpad because the cursor was
bouncing all over the place, so I guess it works!
Yast Sources -- I've been
meaning to make a list of "yast sources" to add into the Yast software
management system. BTW, you can add a directory as a source when
you are logged to that directory because you are loading some other rpm
-- yowever, unless there is a "directory.yast" file, it won't do much
for you. I recommend loading the install disks into a directory
somewhere and setting this as a Yast source. Then, you need a
bunch more sources, packman, JACK, mirrors.kernel.org, etc. But,
I am so lazy I am not typing them here. I will however, direct us
to the "wiki" (and hope it is still there then next time I need it).
SUSEWIKI (Sources). Other
tools to consider are "SMART" and "APT", which I haven't tried.
However, "APT" claims to have much more comprehensive package
finding capability -- along with the possibility to completely screw up
your install if you select the wrong choices.
Icepack was the first Linux I tried. The people were helpful and
it was a good place to start. However, I'm now using SuSE
Linux. Hopefully, you might find some information here that will
help you get to know the Linux Operating System. Many things
about Linux are getting easier at a rapid pace. (2/26/06 -- it may be that Icepack distro no longer exists ...)
-
Why Icepack ?
-
Where Do I Get Icepack?
- Icepack
Updates -- http://icepack-linux.sourceforge.net/
-
I Got the ISO, Now What?
- Equipment Considerations
-
Installing Icepack
-
Partitioning
-
Video
-
Accessing Windows Partition
-
Networking
-
Configuration
- Printing
- Twilight Zone Stuff
-
My Initial Linux
Experience. (Who Cares? But you might avoid some pitfalls
...)
- Installing a useful system
- DOS Emulation
- OpenOffice
-
OpenOffice Database Engine
-
How to use "Abacus Law" dbf
files
tutorial
- Programs I Like and Why
- Programs I Don't Like and Why
- Weird Stuff
Mandrake Linux Comments