linux

warning: Creating default object from empty value in /home/jeremych/public_html/cms/modules/taxonomy/taxonomy.pages.inc on line 33.

Get USB working in Virtualbox under Debian and Ubuntu

Edit /etc/fstab and add:

[geshifilter-code] none /proc/bus/usb usbfs devgid=XXX,devmode=664 0 0 [/geshifilter-code]

Change XXX to be a group you are a member of, vboxusers is a natural choice (cat /etc/group | grep vboxusers - use the number there).

Creative X-Fi 5.1 on Ubuntu Hardy

I am ... still trying to get the creative x-fi 5.1 working satisfactorily. I have tried the OSS drivers, which would not suit my purpose, I need alsa support, so am now compiling a kernel as per the info here http://ubuntuforums.org/showpost.php?p=4823915&postcount=675 for installing the open source creative (beta and apparently buggy) 'official' drivers.

bash script using ffmpeg for making archos compatible mpeg4 with mp3

Here is the script I use now to convert stuff to a decent format for my Archos 705:

[geshifilter-code] #!/bin/bash INPUT=$1 ffmpeg \ -ab 128 \ -acodec mp3 \ -sameq \ -vcodec mpeg4 \ -mbd rd \ -flags +4mv+trell+aic \ -cmp 2 \ -subcmp 2 \ -g 300 \ -s 400x300 \ -aspect 4:3 \ -i "$INPUT" \ "$INPUT.lofi.avi" #END [/geshifilter-code]

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

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 or 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

Syndicate content

Check out Gangster Politics Montreal.