Archive for September, 2009

WordPress and posting source code

Sunday, September 27th, 2009

There is no need to invent the wheel twice. there is a great plugin for WordPress out there called:

WP-Syntax

Link: http://wordpress.org/extend/plugins/wp-syntax/

Changing Gnome language (Ubuntu)

Sunday, September 27th, 2009

If you like to change the Gnome GDM language just make sure language support is given:

sudo dpkg-reconfigure locales

When you login the next time you can choose you desired language at your login screen. Be aware that not all custom login screens support language selection. revert to the default login screen to make sure that you can select the Gnome language during login.,

Apache (mod_rewrite and .htaccess)

Sunday, September 27th, 2009

There is something you need to think of in order to use mod_rewrite on an Apache webserver you migth encounter problems when when uploading your .htaccess file with your mod_rewrite directives:

403 Access Denied

Your need to add the following lines to you vhost configuration file.

<Directory "/home/www/web1/html">
AllowOverride All
Options +FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

If you’re using confixx you better ass this to your httpd.conf file, because changes to the vhost configuration files will be overwritten by confixx.
After restarting the Apache webserver you can upload you .htaccess file containing your mod_rewrite directives e.g. as shown below.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Using the Windows-Keys in Ubuntu

Sunday, September 13th, 2009

Make use of the Windows keys in Ubuntu linux is fairly simple.

  1. Click on “System => Preferences => Keyboard”
  2. Choose tab “Layouts”
  3. Click on “Layout Options”
  4. Unfold “Alt/Win key behaviour”
  5. Select “Super is mapped to Win keys”

Following that you can use the Windows keys for keyboard short cuts.

  1. Click on “System => Preferences => Keyboard Shortcuts”
  2. Click e.g. on “Home folder” and assign “Windows key”+”e” to open the file manager like in Windows.

Ladies and gentlemen

Sunday, September 13th, 2009

That blog was meant in the first place as an aide memoire to me. I’d like to note down thigs that strike me, problems I struggled to solve and things I was happy to learn.

As I doubt that all that only occurs to me, I’ll publish here all these thing to serve you as an example following:

Verba docenta, exempla trahunt.

Words can teach, examples carry away.

So far, I hope you enjoy that blog and I’d appreciate som feedback.