Clashing TinyMCE Editor Background

Easy to fix so this will be a short post except for text added for search engines…

Sometimes your content management system’s (CMS) theme and your TinyMCE editor’s editor field’s theme will clash their styles. For example, when your theme has a dark background color your TinyMCE editor will show a dark background in its text editor area which, if you use a dark text color, will make it difficult for you to discern your text from the editor’s background color (i.e black on black is black just as white on white is white).

The reason for this clash is that TinyMCE derives its styling informtion (the style.css details) from your theme’s style details; namely, the theme’s body tag’s styling data. To fix this, whether your using Wordpress, Joomla!, Mambo or any other CMS, all you need to do is add a short line of code to your theme’s css file.

The code to add should be similar to

How to Make a Semi-Transparent Image Using GIMP

If you’ve ever used GIMP then you will know that it’s not the most intuitive graphics editor to learn to use. To prove that point, I frequently open images in Kolourpaint (the Linux equivalent to Window’s Paint) to make minor edits then re-open them in GIMP to do the bits I can’t do in Kolourpaint and vice-versa. I know GIMP is a powerful graphics editor I just wish it were more intuitive. Anyway…

Two things I recently learned to do with GIMP:

1. convert every occurrence of a particular colour into a transparent region (good for web graphics), and
2. make an image semi transparent so that it may be used as a watermark.

Here’s how to do those tasks.

101 Incredibly Good WordPress Plugins

So you’ve just installed your shiny new WordPress blog and you know it’s going to make you into the next Internet sensation but your wondering ‘What’s next? How can I make this blog MY blog? How can get it to do everything I want to do? Well, how about some customization to make that blog … Read more

Hardware Discovery and Fault Diagnostics

A Couple of neat tricks I learned while trying to establish a wi-fi Internet connection through the command line are the command line instructions for discovering a computer’s hardware and the device drivers that make them work. Those commands are:

lshw
lspci
lsusb

and

lsdev

The first three of those commands are available on most, if not all, Linux environments. lsdev must be installed using sudo apt-get install procinfo .

You should run them as the root user either by adding sudo before the command else by typing sudo su (followed by pressing the return) key as your first instruction. If you use sudo su then remember to type exit after you’ve finished issuing commands.

Bloody Linux Wireless Networking

A few of days ago I updated my Linux distro with the usual sudo apt-get dist-upgrade. I’ve been on a fucking steep learning curve ever since. I’m glad I ran the update but I wish it hadn’t buggered up my operating system by removing my desktop environment.

Trust me, it’s only after you’ve had to use a computer without a graphical desktop that has a nice graphical file manager and a nice graphical web browser that you appreciate how much you depend on them and the developers who build them.

Don’t get me wrong, I know how to navigate the command line to find, backup and edit files but it’s so much easier to command a computer with a mouse than to issue textual instructions.

I can hear you forming the question: “Why didn’t you just re-run the update or re-install the removed components?”

Believe me, if only it had been so easy… Something I learned through all of this: Linux, Command Line and Wi-Fi Adapters do not mix.

For two days, the only Internet access I’ve had through this computer is via my trustee Kubuntu Live Disk.

Getting Linux to use a Wi-Fi adapter without a graphical desktop is damn near impossible. I spent plenty of time surfing the Net, checking manual pages and posting in the Kubuntu forum. I’ve learned a few tricks, I’ve learned new things about Linux, I have something new to write about; and I’m happy about that; but none of this new knowledge helped.

How to Disable Right Click

It’s not really advisable because it makes life difficult for visitors who like to right-click links to open pages in new tabs and windows plus anything that can be done from the right-click menu can be done with short-cuts and menu bar items so disabling right-click doesn’t really achieve much; but if you really want to know how to do it… insert this script into your web page’s header: