linux

Posting to Drupal Blogs from Linux Desktop

I have finally found 2 basic acceptable ways to post content to a drupal site from a linux desktop using the xmlrpc method. In general the way to perform the config is to choose generic everything, manual setup. Enter the URL to your drupal install + xmlrpc.php, and after activating the blog and blog api modules in drupal, it should work.

Main Page - IEs4Linux

IEs4Linux is the simpler way to have Microsoft Internet Explorer running on Linux (or any OS running Wine).

No clicks needed. No boring setup processes. No Wine complications. Just one easy script and you'll get three IE versions to test your Sites. And it's free and open source.

IEs4Linux

Mencoder AVI to FLV Conversion

Here is what I am using so far:


#!/bin/sh

mencoder -forceidx \
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \
-of lavf -ffourcc FLV1 \
-oac mp3lame -lameopts abr:br=56 -srate 22050 \
-ovc lavc \
-lavcopts vcodec=flv:vbitrate=250:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \
-vf scale=360:240 \
-o $1.flv $1

UPDATE (07-05-2008):

Group Formed to Support Linux as Rival to Windows - New York Times

Linux, the free operating system, has gone from an intriguing experiment to a mainstream technology in corporate data centers, helped by the backing of major technology companies like I.B.M., Intel and Hewlett-Packard, which sponsored industry consortiums to promote its adoption.

Ubuntu Edgy 6.10 Released

Canonical Launches New Ubuntu Release for Desktops and Servers

dcpumon and dcpumonview

Unreal. A script that is included with every version of cpanel, it is run every 5 minutes on hundreds of thousands if not millions of servers the world over. Yet, somehow, no one knows what it does, why it is there, how to use it, etc. There is NO documentation anywhere. Searching cpanel's own forums yields no hits.

# man dcpumon
No manual entry for dcpumon

MYSQL database dumps through ssh


#!/bin/sh

PASS=$1

for i in `/usr/bin/mysql --user=root --password=$PASS --batch --skip-column-names -e "show databases" | sed 's/ /%/g'`;do
nice -n 19 /usr/bin/mysqldump -u root -p$PASS "$i" & /home/backupsql/"$i".sql
gzip /home/backupsql/"$i".sql
done

This will dump all databases into separate files, then gzip them. Perfect script for using in a backuppc DumpPreUserCmd option.

DeCSS Truth?

Some common unknown truth about DeCSS


So, you heard about Jon Johansen, the Creator of DeCSS? A brave soul,
which only intent was to help the linux community playing DVDs? And
you know, that the sole reason why he released only a windows version
of DeCSS was that Linux didn't supported DVD (or UDF) at that time?

Toshiba P30-R1 and Gentoo (and Ubuntu/Debian/FC/Knoppix)

Overall:

  • Everything works except memory card reader which seems like it is a piece of crap if you will pardon the expression.
  • PS2 support should be compiled as a module and modprobed later in boot sequence for touchpad support.. I just add it to /etc/modules.autoload/kernel-2.6
  • You can either use radeon built-in xorg drier or the ati-drivers solution
  • Madwifi + wpa_supplicant works better than on any other distro. The tweaks to conf.d/net are awesome!
  • screen timings: HorizSync 31.5 - 57.0 ; VertRefresh 50-70

[G2:608]
SEE : http://emidio.planamente.ch/pages/linux_howto_laptop.php#ACPI

Gotchas

 

  • Keyboard would not work until I plugged and unplugged a USB one?
    • I think this was an issue with the kernel USB modules I selected (or did not select)... recompliling now to see..

Cross-Compiling to Ubuntu/Debian System from Gentoo client

Came across this error while trying to set up my 2 ubuntu boxen to compile with distcc for my gentoo laptop and workstation.

(dcc_execvp) ERROR: failed to exec i686-pc-linux-gnu-gcc: No such file or directory

Solution:

add

CC='gcc'
CXX='c++'

Virtualized Workspaces

I have jumped headfirst into virtualization, running both VMWare and OpenVZ as my platforms. I have virtualized my mail server, and can redeploy it in about 2 minutes all told, from nothing to a full blown fetchmail/mailscanner/postfix/courier-imap server.

Revenu Quebec Turns Away Linux Users

Configuration nécessaire:

Pour utiliser les services de Revenu Québec, votre ordinateur doit avoir la configuration suivante.

Système d'exploitation

  • Microsoft® Windows 98 SE et plus

Navigateur Web

Ubuntu - Don't Use .bash_profile

Well, this annoyed me a little. I am used to putting my keychain (ssh-agent) startup in ~/.bash_profile, so it will be sourced at login either at desktop or remotely. Unfortunately, Ubuntu has taken away this functionality, and replaced it with.... well, we have no idea, since it is not written in the file itself, or anywhere except by google finding.

Amarok can't be touched

In my opinion, there is nothing close to Amarok on the horizon for the linux desktop. I just recently tried to get rhythmbox, banshee and amarok up and running on my admittedly obscenely bloated music collection. End result?

Syndicate content