Disable ipv6 in debian

edit /etc/sysctl.conf and add config


net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1


#sysctl -p

Debian IPv6

Advertisements

Firefox 40+ slow right click in Debian Linux

Just installed latest firefox on debian linux streetch.
Right click on link popup very slow.

SOLVED: [blfs-support] Firefox – slow menu and right-click response

The right click menu in Firefox is now fast again. I disabled Pulseaudio which
tried to load ConsoleKit. This did not work sine I have unstalled ConsoleKit.

=== details ===

I found this:

/var/log/sys.log
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] module-console-kit.c:
GetSessionsForUnixUser() call failed:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit
was not provided by any .service files
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] module.c: Failed to load
module “module-console-kit” (argument: “”): initialization failed.
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] main.c: Module load failed.
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] main.c: Failed to
initialize daemon.
Jan 25 09:13:47 lfs pulseaudio[2562]: [pulseaudio] main.c: Daemon startup
failed.

I commented out the text below in /etc/pulse/default.pa
#.ifexists module-console-kit.so
#load-module module-console-kit
#.endif

I restarted and then the problem with the Firefox menus disappeared.

The root cause is probably that I uninstalled ConsoleKit. This was
intentional, but I failed to recognize the side effects.

Magnus

chess in debian

Crafty, developed by Robert Hyatt, is a descendant of the Cray Blitz chess engine that was the World Computer Chess Champion from 1983 to 1989.

to install

#apt-get install crafty xboard

start the game with

$xboard -fcb 'crafty' -fd crafty_directory

book off — This options disables the use of opening book for crafty.
ponder off – Crafty can’t think while you are playing your move.
st 1 — Make the maximum thinking time for Crafty just one second.
sd n — Crafty won’t think more than n moves ahead.
If you are able to beat crafty too often, you can also make it more stronger with these options:
hash nK — Makes the hash table bigger
hashp n — Makes the hash table for pawns as large as possible

it hard to bet.


more info