The Linux Page

Help other users realize that everything is possible, especially avoiding Windows for their own personal use.

Welcome to The Linux Page


Fox Trot by Bill Amend. Click to enlarge.
Click to enlarge

This site is a collection of my own work with Linux. Certain things are easy, others take time to decipher and if I ever need to repeat the work (which usually happens!), then I need to remember everything by memory or... have a site with all the steps taken and to take again.

The following are my most recent posts:

My Rant

I got a new router as AT&T forced me to a new product called U-Verse. They are actually forcing all their users to switch to that new systems as the new optic cables are now installed and they probably have a goal to turn off their old infrastructure soon.

The old router I had would generate a gateway on their side. The router was just a router ...

Extend your keyboard with hundred of keys using the Compose Key.

Letters with Diacritics

Under X-Windows, I use the QWERTY keyboard because I'm so used to it. But once in a while I want to write something with an accent (à) or a special character (÷). To do that I use the Compose Key. In my case the Compose Key was the Caps Lock key, but now I changed that to the Menu Key. So I push the Menu Key once, and then two or three other keys to get the character I want. For example, the c with the cedilla diacritic is c and comma and it gives me: ç.

Setting Up the Compose Key

By default, the Compose key is probably not what you ...

Problem

Today I ran in a problem where I created a new form and the sub-form inside that form would auto-resize itself. Strangely enough, all my other forms also have a sub-form and that sub-form is not auto-resized... so what gives?!

I did not find anything about preventing an auto-resize of a sub-form. Found many pages on the net about how to write code to resize a form "manually". But that really did not help.

Solution

As I created that new form, I marked it as "Auto Resize" to No. This seems logical if you do not want a form to get resized. Think again! The ...

Looked around on how to sort out a report properly as it was sorting on the wrong field (actually at first it did not even look like it was sorted at all, but I did not notice that other field was indeed sorted!)

The sort in a Query Report form (opposed to just an SQL query) is defined by the Group & Sort feature and not the SQL results. Actually, you most certainly don't need it in the SQL because otherwise you'll be sorting twice.

It took me a while, but I'm glad I found the solution. All the documentation I searched only talked about the wrong methods: use the Query sort ...

Today I wasted another hour or so in trying to get samba to work for one of my Windows computer so I could connect to one of my Linux computer. I knew that the installation was correct since I could log in with another computer/user that had worked for a long time. So... why would this one fail?

Two things, for of all, I could see NOTHING happening in the logs. Really wondering why the default is to log close to nothing with such a non-secure piece of software, but that's a different question. I added the following to actually get about enough logs to understand what was happening:

log ...

As I write programs, mainly in C++, I document them using the Doxygen tool. This is a very powerful parser that is capable of finding functions, variables, macros, and many other things in the source code and attach the corresponding documentation to those functions, variables, macros, etc.

This is extremly practical when creating large projects or libraries that you want to share with others.

One problem though, by default it seems like global functions (and thus C functions) and variables do not make it to the documentation, when C++ classes work fine.

Here are two potential issues in ...

I don't personally program in Java, but since I use Cassandra, Java is a requirement on my system.

The OpenJdk works, but it is presented as having problems when running Cassandra. Having run in a problem (see http://stackoverflow.com/questions/11182637/data-in-cassandra-not... on Stack Overflow,) I thought I would finally give a chance to Oracle and install their version to see whether that was the culprit.

I was really thinking that the OpenJdk was working fine because I have two other systems working just fine, but those two ...

MS-Access can be programmed with VBA which is neat. I do that a lot because the default forms do not allow you to strongly verify the data validity or even better: prevent you from editing certain record because they are too old, you don't have permissions, it was already archived in some way (i.e. invoice paid), etc.

However, I often encounter problems with the focus. The main thing I do to make it as safe as possible is show or hide buttons. If you cannot activate function A, then there is no point in having a button for function A. Instead, we should hide the function A button when we ...

You can check that all the packages currently installed on a Debian system (i.e. Debian, Ubuntu, etc.) with many different tools.

Root Kits

I run rkhunter to verify for root kits.

Some hackers replace a well known command such as ls or cat with a version that takes over your computer by becoming root without your consent and then hacking your system in all sorts of ways. In most cases, just the feat of installing such a tool requires the hacker to already have root access, so it generally doesn't happen, but better safe than sorry!

File Changes

I use tripwire to verify that ...

I started the stock SeaMonkey browser by mistake as my Unity icons disappeared (i.e. seamonkey as is on my command line started /usr/bin/seamonkey which is not the correct version!) This had several bad side effects. For of all, it destroyed my bookmarks (argh!) and then it decided to install the 64bit Flash plugin. That did not work well since the version I like is a 32bit version.

Once I had the correct version started again, each time it was trying to open a Flash animation, it would be "stuck" for a few minutes, until I tried to open a page with a movie in a Flash shell. That ...

Unfreeze your Mouse when it Froze

Thank you for visiting my website.