2009 March

Chrooted SSH/SFTP Tutorial

By WladyX on 19 March, 2009 | General, Ssh | A comment?

Linux file permissions

Which user?
u user/owner
g group
o other
a all
What to do?
+ add this permission
- remove this permission
= set exactly this permission
Which permissions?
r read
w write
x execute

Which number?
0
1 –x
2 -w-
3 -wx
4 r–
5 r-x
6 rw-
7 rwx

Linux file permissions

By WladyX on 17 March, 2009 | General | A comment?

KDE xorg intel

1) Xorg.conf

Added the following on Device Section

Option “DRI” “true”
Option “AccelMethod” “XAA”
Option “XAANoOffscreenPixmaps” “True”
Option “XaaNoPixmapCache”

2) .bashrc
Added the following on my bashrc file
export INTEL_BATCH=1

Yet another open source blog ;) » Blog Archive » Corrupted layouts on Qt4/Kde4 applications using Qt-4.5 on Intel graphics

By WladyX on 16 March, 2009 | General, X11 | A comment?

Gnome Compiz

Do this:

Create /usr/share/applications/compiz.desktop containing the following:

Code:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Compiz
Exec=compiz ccp
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=compiz
# name we put on the WM spec check window
X-GNOME-WMName=Compiz

Load gconf-editor then browse within it to /desktop/gnome/session/required_components/ and change the windowmanager entry to compiz

Logout, log back in and that should fix it (it did for me) Provided of course that you have selected Emerald through the Fusion Icon at some point?

Arch Linux Forums / Novice in ArchLinux – Problems with Compiz-Fusion in Gnome.

Howto change Google Maps Mobile language to English

Delete the language files that are in the GoogleMaps folder.

I had the same problem so before installation of GoogleMaps I changed the regional settings to English. After installation I deleted the language files (only kept “gmm_launcher.dll”, “gmm_setup.dll” and “GoogleMaps.exe”.) and changed the regional settings to my native. GoogleMaps stayed English

Google Latitude – Language UI – xda-developers

Configure AIX syslogd

add to /etc/syslog.conf:
mail.debug      /var/log/mail
user.debug      /var/log/user
kern.debug      /var/log/kern
syslog.debug    /var/log/syslog
daemon.debug    /var/log/daemon
auth.debug      /var/log/secure
local2.debug    /var/log/sudo

restart syslogd:
[root@sys /] refresh -s syslogd
0513-095 The request for subsystem refresh was completed successfully.

Howto configure AIX syslogd (/etc/syslog.conf)

rmnl — remove new line characters with tr, awk, perl, sed or C/C++

Howto block DDOS attacks