Monday, August 8, 2011

Integrate adesk-menu in tint2

Source: http://crunchbanglinux.org/forums/topic/14259/my-little-adeskmenu-project/

All you need is the single page menu script and a .desktop pointing to it.
Here is the code for the menu script:

http://pastebin.com/bG4ugasC


and here is the .desktop file.

[Desktop Entry]

Type=Application
Name=menu
Exec=/usr/bin/adesk-menu2
Icon=/usr/share/pixmaps/debian-logo.png

Make the menu script executable and move it to /usr/bin "sudo chmod +x adesk-menu2 && sudo mv adesk-menu2 /usr/bin/"
After that put the .desktop file somewhere like ~/.scripts and point tint2 to it. After that you should be good to go. By default the menu opens in the top left corner of the screen. If you need to adjust where
the menu opens edit line 369 in the script.


Tuesday, July 12, 2011

Mate, gnome 2 fork

Started by Perburus this gnome2 fork: https://bbs.archlinux.org/viewtopic.php?pid=950350#p950350
Very laudable enterprise.

How to edit xinitrc:
http://matsusoft.com.ar/redmine/projects/mate/wiki/Session_Mate
exec ck-launch-session mate-session

Friday, July 8, 2011

Setting time in Arch

pacman -Qo /usr/share/zoneinfo/Europe/Amsterdam
/usr/share/zoneinfo/Europe/Amsterdam is owned by tzdata 2011g-1

And set date and time in terminal:
date 07081306
Fri Jul 8 13:06:00 CEST 2011

Start time service:# ntpd -s -d
Hardware clock is set in etc/rc.conf
HARDWARECLOCK="UTC" TIMEZONE="Europe/Amsterdam"

Friday, June 24, 2011

pstree

pstree - Shows the process tree for the current user.

source:http://kbhaskar.in/10-linux-commands-you-probably-not-know-about/

“pstree” can be used for system administration tasks. Like, if you wish to see which process was started by what program, then this command will be useful.

Syntax: pstree [OPTIONS] [PID] [USER]

Example:

2
3
4
$ pstree # Shows all running processes for the current user
$ pstree 2747 # Shows the process tree for the pid specified

Tuesday, June 14, 2011

Another reason for the init: Id "x" respawning too fast-error

A user in the AB forum noted this solution for this problem:chmod /tmp to 1777 and reinstall xkbcomp.
So no write permissions to the /tmp and no setup file for his keyboard, probably a non-US layout. But how can it be that you have no write permissions to your /tmp file?

Autologin in Aptosid

What I really find difficult to get used to in Aptosid that you can't find easily text files in which you can change things easily: in arch you change the # for two lines *delete one and add one) in etc/inittab and you are done.
In Aptosid you have to use gdemsetup as root; go to login window preferences, tab security and check the box automatic login and choose the user.

Blog Archive