Size text with “em” in your CSS - Explained with example
View original post
Sizing text for the screen using ems in your Cascading Style Sheet (CSS) can be a problem, if you are not a web designer and have never spent any time reading about the differences between the various units that can be used to measure text size, especially pixels (px) and ems (em) which are the most frequently used. I am sure there are a lot of guides out there that explain the issues that arise by using either one of the aforementioned units, but I consider the article How to size text using ems a very good place to start, if ems is what you aim for.
It seems that the main advantage of using ems instead of pixels is that text size can be translated correctly by all major browsers when the user resizes the text from within the browser, overriding the text size defined in the CSS. I feel that, once again, people are forced to waste their valuable time because of Microsoft’s old-fashioned methods of protecting its investment by not following the established standards, so… well, taking into account that Internet Explorer (IE) is still a very popular web browser, I guess that noone can actually avoid reading about the pros and cons of using ems or pixels to size text for the web.
View source postFiled under Fedora | Comment (0)
Automatically Add Disclaimers To Outgoing Emails With alterMIME On Fedora 8
View original post
Automatically Add Disclaimers To Outgoing Emails With alterMIME On Fedora 8
This document describes how to install and configure alterMIME as a
Postfix filter on a Fedora 8 system. The resulting system will
automatically add disclaimers to outgoing emails.
Filed under Fedora | Comment (0)
Master-Master Replication With MySQL 5 On Fedora 8
View original post
Master-Master Replication With MySQL 5 On Fedora 8
This document describes how to set up master-master replication with
MySQL 5 on Fedora 8. Since version 5, MySQL comes with built-in support
for master-master replication, solving the problem that can happen with
self-generated keys. In former MySQL versions, the problem with
master-master replication was that conflicts arose immediately if node
A and node B both inserted an auto-incrementing key on the same table.
The advantages of master-master replication over the traditional
master-slave replication are that you don’t have to modify your
applications to make write accesses only to the master, and that it is
easier to provide high-availability because if the master fails, you
still have the other master.
Filed under Fedora | Comment (0)
How To Set Up Software RAID1 On A Running System (Incl. GRUB Configuration) (Fedora 8)
View original post
How To Set Up Software RAID1 On A Running System (Incl. GRUB Configuration) (Fedora
This guide explains how to set up software RAID1 on an already
running Fedora 8 system. The GRUB bootloader will be configured in such
a way that the system will still be able to boot if one of the hard
drives fails (no matter which one).
Filed under Fedora | Comment (0)
How to extract RPM or DEB packages
View original post
RPM and DEB packages are both containers for other files. An RPM is some sort of cpio archive. On the other hand, a DEB file is a pure ar archive. So, it should be possible to unpack their contents using standard archiving tools, regardless of your distribution’s package format. Under normal conditions, you should use your distribution’s standard package manager, rpm or dpkg and their frontends, to manage those files. But, if you need to be more generic, here is how to do it.
(more…)
Filed under Fedora | Comment (0)
Viceo Backend for SANE with libusb support
View original post
After many years of failure, countless hours of digging into the World Wide Web for information, numerous failed attempts due to lack of knowledge to modify the v0.6 E3 driver for USB scanners (Viceo backend) and add support for libusb, yesterday I was sent a patch, which contained the Viceo backend for SANE with libusb support. My old Primax Colorado 19200 USB scanner worked for the first time under Linux. If you own such an old scanner and care to make it work under a modern Linux distribution, read on for instructions and files.
(more…)
Filed under Fedora | Comment (0)
Documents Need Maintenance too
View original post
Things change rapidly in the Open-Source Software scene and, consequently, all support documentation, guides, tutorials etc need to be adapted to the new features of the software as well. I have started going through all the howto articles I’ve written about Linux during the last 3 years and perform regular document maintenance tasks, like checking whether the software involved is still the de facto solution for the particular purpose the article was written for or whether new methodology is required in order to achieve the task the article deals with. By convention, these changes will be documented in as much detail as required for understanding which parts of the methodology have changed and this summary will be appended to the end of each document in a new section called “Changes“. The first document that has been corrected is the one that describes How to create RPMs in Fedora.
View source postFiled under Fedora | Comment (0)
Towards the resolution of the issues with libnotify
View original post
A while ago, I had written about some problems I had encountered while trying to send notification messages with libnotify to the logged-in users’ desktops from a cronjob. Although I haven’t made any progress with that issue, I just noticed a very useful comment under that post, submitted by Aleksei. According to the tip, sudo can be used in order to actually send the notification as the user that is currently using the desktop, for example: sudo -u $USER notify-send ... The $USER can be easily retrieved by the cronjob from the /proc/$PID/environ path. I am not able to test this at the moment, but will do (time permitting). Apart from this possible workaround with sudo, I assume that the current dbus security configuration does not permit the sending of messages using notify-send as I had described in that previous article. Anyhow, not only I do not have the necessary free time to study dbus‘ security mechanism, but, frankly, I do not wish to learn about it at the current time.
Filed under Fedora | Comment (0)
Security Guides for Operating Systems by the NSA
View original post
The National Security Agency (NSA) of the USA has published some security configuration guides for various popular Operating Systems. Linux is covered by the Red Hat Enterprise Linux 5 security guide, but most of the included information can be easily translated to other Linux distributions. As it is clearly stated in the guide’s disclaimer, all the included information only constitutes “recommended security changes” and not changes that should be made to all OS setups. Anyhow, even from the quick look I had inside, I can say that this is professional work. This document is an excellent read regardless of the Linux distribution you use. Guides for other operating systems, such as Microsoft Windows, Apple MacOS X, Sun Solaris 8/9, exist as well. I learned about these guides while browsing the mailing list archives of the Fedora Documentation Project (FDP) some days ago, so all credit goes to the person who posted it there in the first place.
View source postFiled under Fedora | Comment (0)
Email Notifications from a Linux System
View original post
This post is not an article about how to receive email notifications from your system, but rather a tip about what should be your very first (No.1) action after a clean installation of a Linux system. It is well known that Linux - and obviously many other *nix systems, if not all - are pre-configured to send email notifications about various system events. That is errors by default, but if you have installed any log analysis and reporting software, like logwatch or epylog (and others), those notifications might include lengthy security reports or reports about resource usage analysis as well. By default, the recipient of all those messages is root@localhost, as it should be. But, since the root account is not for everyday use, it is one the best practices to redirect all root’s email messages to your everyday user’s mailbox.
(more…)
Filed under Fedora | Comment (0)