Saturday, April 28, 2012

A Vindication of the Rights of Woman and Third Wave Blackism

What percentage of the population supports dehumanisation? Perhaps we might find that the people have something to say about corporate exploitation of the human body? Maybe we don't agree with the corporate lawyers on their definition of obscenity, let alone their definition of speech? Or is it too late - have we all become addicted to power? What would Mary Wollstonecraft have to say about this? Has not the very thing we sought to destroy (sexual exploitation) in desexing the vote / removing the presupposition of family become the end of our education?

Electronic democracy - restoring freedom through referendum (giving individuals choice in policy)

The following is a proposal for an Electronic democracy - restoring freedom through referendum (giving individuals choice in policy):
  • open politics [centralised electronic database of all policy - allows voting on individual policies (mini referendums) - allows international comparisons] - removes politicians
An obvious advantage of this system, is that it would instantaneously deny any attempt to impose rules on people where the majority does not wish such regulation (e.g the protection of advertising material / obscenity, that might otherwise be called "public property"). Disadvantages of course being the application of budgeting, and the resolution of conflicting policies.

Evolution of markets - computerisation of the economy (bureaucracy, finance, accounting, taxation, law, scientific literature, and medical diagnosis)

Here is a web-integration idea set relating to the evolution of markets and computerisation of the economy (electronic centralisation of bureaucracy, finance, accounting, taxation, law, scientific literature, and medical diagnosis):
  • open accounting [centralised electronic database of all transactions {assumes cash is abolished} - applies taxation automatically] - removes accountants
  • open law [centralised electronic database of all laws and punishments - applies judgements automatically] - removes lawyers
  • open product/service [centralised electronic database containing user experience for commercial entities, products/services] - encourages competition
  • open infrastructure [centralised electronic database containing a location aware review of government services - eg speeding limits, signage, traffic, investment in scientific research/energy, etc] - increases public involvement
  • open science [centralised electronic database of all research - all information structured in hierarchies - supporting links between intra/inter-hierarchy nodes (eg between process hierarchies {cancer - chemical induction - neural dysfunction - death}, and substance hierarchies {living system - animal - genre - species}). Supports access to raw/processed data, analysis, and conclusions; for critique of current/established hierarchy. Scientists enter all relevant data based upon their experiment while or instead of submitting a refereed paper. Standards relating the referencing of scientific data in scientific papers is being discussed as part of the development of Web 3.0 / semantic web initiative - but this goes beyond this in having the ability to replace papers entirely] - optimises research (re)use

Reverse augmented reality - from AdBlock to non-virtual content aware filters

With the growing involuntary saturation of advertising in society, it becomes evident that filters will be designed to restore peace where desired. AdBlock first brought us virtual content aware filters of advertising material in 2006.

I propose Reverse Augmented Reality - non-virtual content aware filters (technology that shuts out information from the outside world). Such technology needn't be restricted to advertising material, but could be used to target any content the user desires. For example, it could be used as a mature content filter for children.

[UPDATE] Augmented Reality applications could also be designed to overlay offensive material, for example with that which is (less provocative and) more beautiful. "More pirates".

Saturday, April 21, 2012

icewm on EL6

Here are some basic configuration files for Icewm on EL6. Some of these are particularly important, as they get Icewm to respect your gnome/xfce4 font settings. One of the only draw backs of icewm I have found is its inability to 'group items on taskbar' (which is why I haven't used it since 2004, although it is still my favourite WM).

//install icewm on EL6

rpm -i epel-release
yum install icewm
[rpm -i icewm-1.3.7-3.el6.x86_64.rpm icewm-gnome-1.3.7-3.el6.x86_64.rpm]

//configuration files icewm on EL6 (examples only)

(http://www.icewm.org/FAQ/)

$HOME/.icewm/menu
prog "1 firefox" /usr/share/icons/hicolor/16x16/apps/firefox.png firefox
prog "writer" /usr/share/icons/System/16x16/apps/openofficeorg-writer.png openoffice.org3 -writer
prog "impress" /usr/share/icons/System/16x16/apps/openofficeorg-impress.png openoffice.org3 -impress
prog "calc" /usr/share/icons/System/16x16/apps/openofficeorg-calc.png openoffice.org3 -calc
prog "base" /usr/share/icons/System/16x16/apps/openofficeorg-base.png openoffice.org3 -base
prog "draw" /usr/share/icons/System/16x16/apps/openofficeorg-draw.png openoffice.org3 -draw
prog "planner" /usr/share/pixmaps/gnome-planner.png planner
prog "calculator" /usr/share/icons/gnome/16x16/apps/accessories-calculator.png gcalctool
prog "nautilus" /usr/share/icons/gnome/16x16/apps/system-file-manager.png nautilus --no-desktop --browser
prog "pcmanfm" /usr/share/icons/System/48x48/apps/redhat-home.png pcmanfm
prog "thunar" /usr/share/icons/System/48x48/apps/redhat-home.png Thunar
prog "media" /usr/share/pixmaps/disks.png Thunar /media/
prog "vlc" /usr/share/icons/hicolor/16x16/apps/vlc.png vlc
prog "terminal" /usr/share/icons/gnome/16x16/apps/utilities-terminal.png gnome-terminal
prog "menu" /usr/share/icons/gnome/16x16/mimetypes/text-x-generic.png nedit /home/rich/.icewm/menu
prog "network-monitor" /usr/share/icons/oxygen/48x48/status/image-loading.png gnome-network-monitor

$HOME/.icewm/startup    [make sure to make executable eg; chmod a+x ~/.icewm/startup. runs xbindkeys to utilise logitech mouse keybindings. runs gnome-appearance-properties to set thunar/pcmanfm font sizes]
#!/bin/bash
/usr/bin/xbindkeys &    [this is required to utilise additional Logitech mouse buttons]
sleep 1
gnome-volume-control-applet &
gnome-power-manager &
bluetooth-applet & [OPTIONAL]
nm-applet & [OPTIONAL]
gnome-appearance-properties & [this will initialise configured GTK font sizes]
sleep 2
killall gnome-appearance-properties
xscreensaver -nosplash & [OPTIONAL]
System - Preferences - Keyboard - Layouts - Layout Options - Alt/Win key behaviour - Default [note if Meta is mapped to Win Keys, then initiating gnome-appearance-properties will disable icewm's use of the windows's key]

$HOME/.icewm/keys    [disable keybinding for XF86Search in keys, which is set within preferences]
#key "XF86Search"            xdg-open http://www.google.com
key "Super+L" xscreensaver-command -lock

$HOME/.icewm/preferences
TaskBarShowMailboxStatus=0
TaskBarShowCPUStatus = 0
TaskBarShowNetStatus=0
QuickSwitchToAllWorkspaces = 0
KeyWinClose = "XF86Search"    [OPTIONAL - for mice with search button]
XineramaPrimaryScreen=1        [OPTIONAL]

$HOME/.icewm/toolbar
prog "terminal" /usr/share/icons/gnome/16x16/apps/utilities-terminal.png gnome-terminal
prog "firefox" /usr/share/icons/hicolor/16x16/apps/firefox.png firefox

$HOME/.icewm/prefoverride    [Make all of the WM fonts small]
TitleFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
TitleFontNameXft="sans-serif:size=8"
MenuFontName="-*-sans-bold-r-*-*-*-100-*-*-*-*-*-*"
MenuFontNameXft="sans-serif:size=8:bold"
StatusFontName="-*-monospace-bold-r-*-*-*-120-*-*-*-*-*-*" 
StatusFontNameXft="monospace:size=8:bold"
QuickSwitchFontName="-*-monospace-bold-r-*-*-*-120-*-*-*-*-*-*"
QuickSwitchFontNameXft="monospace:size=8:bold"
NormalButtonFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
NormalButtonFontNameXft="sans-serif:size=8"
ActiveButtonFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*" 
ActiveButtonFontNameXft="sans-serif:size=8:bold"
NormalTaskBarFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*" 
NormalTaskBarFontNameXft="sans-serif:size=8"
ActiveTaskBarFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*" 
ActiveTaskBarFontNameXft="sans-serif:size=8:bold"
ToolButtonFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
ToolButtonFontNameXft="sans-serif:size=8"
NormalWorkspaceFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
NormalWorkspaceFontNameXft="sans-serif:size=8"
ActiveWorkspaceFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
ActiveWorkspaceFontNameXft="sans-serif:size=8"
MinimizedWindowFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
MinimizedWindowFontNameXft="sans-serif:size=8" 
ListBoxFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*" 
ListBoxFontNameXft="sans-serif:size=8" 
ToolTipFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
ToolTipFontNameXft="sans-serif:size=8" 
ClockFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"
ClockFontNameXft="monospace:size=8" 
ApmFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"
ApmFontNameXft="monospace:size=8"
InputFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"
InputFontNameXft="monospace:size=8" 
LabelFontName="-*-sans-medium-r-*-*-*-140-*-*-*-*-*-*"
LabelFontNameXf




NEdit - Copy and Paste Bug Workaround

NEdit as provided by Redhat (EL5/EL6) has a long history of a persistent copy and paste bug (see https://bugzilla.redhat.com/show_bug.cgi?id=493002). The basic workaround involves using the nedit executable from nedit.org. (NB Even with this work around applied, Nedit will start to suffer from the bug if put under extreme pressure).

//install nedit on EL6;

Download Nedit 5.5 Linux binary from http://www.nedit.org (eg nedit-5.5-Linux-x86.tar.gz)
tar -xvf nedit-5.5-Linux-x86.tar.gz
su root
yum install libXp libXpm xorg-x11-fonts-ISO8859-1-75dpi (install prerequisites - NB 'yum install nedit' will tell you what fonts are required)
[rpm -i libXpm-3.5.8-2.el6.i686.rpm libXp-1.0.0-15.1.el6.i686.rpm xorg-x11-fonts-ISO8859-1-75dpi-7.2-9.1.el6.noarch.rpm]
rpm -e nedit (uninstall existing RPM version of nedit)
cp nedit /usr/bin/
su user (OR exit)
nedit (test run the application)

//Configure Nedit (example only);

Automatic configuration:
cp nedit.rc $HOME/.nedit/

Manual configuration:
nedit perferences - default settings;
    text size; use; -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 for everything
    autoindent - off
    wrap - off
    searching - keep dialogs up
    show line numbers
    initial window size - 80x60
    tabbed editing [OPTIONAL]
            - disable open file in new tab
            - disable show tab bar


//enable Ctrl-Tab tab switching within NEdit (assuming using tabs within NEdit)

nedit $HOME/.Xresources
nedit*text.Translations: #override \nCtrl <Key>Tab:last_document()


//default installation of nedit on EL6 (with copy and paste bug);

yum install nedit
[rpm -i nedit-5.5-23.el6.x86_64.rpm openmotif-2.3.3-1.el6.x86_64.rpm etc]


//compile nedit on EL6;

To compile nedit on EL6 using a compatible version of motif (not buggy lesstif):


1. compile and install a good version of open motif from source [eg openMotif-2.2.3]

 to compile openmotif from source;

su root
rpm -e nedit  [make sure all nedit and lesstif rpms are uninstalled]
rpm -e lesstif-devel
rpm -e lesstif
cd /home/user/utils/laptop-EL6/nedit/neditTryRebuildWithSaveAllAndIncreaseFindDialogboxCharleng/openmotif
    rpm -i xorg-x11-xbitmaps-1.0.1-9.1.el6.x86_64.rpm
    rpm -i xorg-x11-proto-devel-7.4-35.el6.noarch.rpm
    rpm -i libXpm-devel-3.5.8-2.el6.x86_64.rpm
    rpm -i libXp-devel-1.0.0-15.1.el6.x86_64.rpm
    rpm -i libXp-1.0.0-15.1.el6.x86_64.rpm
    rpm -i libXpm-devel-3.5.8-2.el6.i686.rpm
    rpm -i libXp-devel-1.0.0-15.1.el6.i686.rpm
    rpm -i xbase-3.1.2-1.el6.i686.rpm
    rpm -I xbase-3.1.2-1.el6.x86_64.rpm
su user
tar -xvf openMotif-2.2.3.tar.gz [get from http://pkgs.fedoraproject.org/repo/pkgs/openmotif/openMotif-2.2.3.tar.gz]
cd openMotif-2.2.3
./configure
unset LANG [NOT REQUIRED on EL6]
make
su root
make install


2. compile and install a good version of nedit from source [eg nedit-5.5]

2a. [NOT REQUIRED on EL6]
su root
cd /etc/
gedit ld.so.conf, and change to this;
 include ld.so.conf.d/*.conf
 include /usr/X11R6/lib
   [or wherever motif installed it's libraries to]
ldconfig


2b.
su user
cd /home/user/utils/laptop-EL6/nedit/neditTryRebuildWithSaveAllAndIncreaseFindDialogboxCharleng
tar -xvf nedit-5.5-src.tar.gz [get from nedit.org/sourceforge.net]
cd nedit-5.5
gedit makesfiles/Makefile.linux, and change to this; {nb addition of -lXmu}

 # $Id: Makefile.linux,v 1.11 2003/05/20 00:27:56 n8gray Exp $
 CC=cc
 AR=ar

 CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD

 ARFLAGS=-urs

 #LIBS= -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt
-lSM -lICE -lX11 -lm
 LIBS= -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt
-lSM -lICE -lX11 -lm -lXmu

 include Makefile.common

 verify_config: check_tif_rule

{nb you may wish to patch the nedit source files before compiling, eg via 'cd
source', 'patch menu.c nedit-save-all.patch' - if you are not patching source
files, you may as well just download the precompiled nedit executable from
nedit.org/sourceforge.net}

make linux
cd source
su root
cp nedit /usr/bin/nedit [OPTIONAL]

2c. uninstall openmotif (not required once nedit has been built)
cd /home/user/utils/laptop-EL6/nedit/neditTryRebuildWithSaveAllAndIncreaseFindDialogboxCharleng/openmotif
su root