[gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Igor Nemilentsev
Hi, list
I have emerged x11-base/xorg-server-1.6.2 with '+hal'.
I have into xorg.conf
Section ServerFlags
   Option DontZap false
EndSection

Nonetheless the Ctrl+Alt+Backspace combination
doesn't work.
Can someone give me advice?



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Helmut Jarausch
On 24 Jul, Igor Nemilentsev wrote:
 Hi, list
 I have emerged x11-base/xorg-server-1.6.2 with '+hal'.
 I have into xorg.conf
 Section ServerFlags
Option DontZap false
 EndSection
 
 Nonetheless the Ctrl+Alt+Backspace combination
 doesn't work.
 Can someone give me advice?

AFAIK, the DontZap option applies to the key sequences
Alt Fx to switch to a different terminal.

I have the same problem here (same configuration), i.e.
CtrlAltDel doesn't work.

If you can't exit via your window manager anymore,
I think, Neil Bothwick has posted the following advice
some days ago:

If you find yourself without a keyboard or mouse and can't get back to a
console, press and hold alt + sysreq then hit R and E.  I did this the
other day and it took me back to a console.

You're thinking of the complete Alt-SysRq sequence to (relatively)
cleanly reboot. Alt-SysRq-R returns keyboard control after it has
been locked out by X. You should then be able to do Ctrl-Alt-F1 to get
back to your VC.

 I got some SysRq commands printed out tho.  Question, do I have to hit
 the Alt key each time or what? 

Hold down Atl, hold down SysRq, press each of the keys in turn. The usual
full sequence is R-E-I-S-U-B

Reboot
Even
If
System
Utterly
Broken

-

Then for example on tty2 start sleep 300 ; /etc/init.d/xdm stop ;
killall X and on tty1 do /etc/init.d/xdm start

Another approach is to use acpid. I've read this tip here posted by
Volker Hemmann IIRC. If you use acpid, there should be a file called
/etc/acpi/default.sh

Modify it, substituting the lines:

19 case $action in
20 power)
21/sbin/init 0

with

19 case $action in
20 power)
21/usr/bin/chvt 1


then do /etc/init.d/acpid restart.

Now pressing the power button on your machine should switch to the
active TTY to tty1


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Volker Armin Hemmann
On Freitag 24 Juli 2009, Igor Nemilentsev wrote:
 Hi, list
 I have emerged x11-base/xorg-server-1.6.2 with '+hal'.
 I have into xorg.conf
 Section ServerFlags
Option DontZap false
 EndSection

 Nonetheless the Ctrl+Alt+Backspace combination
 doesn't work.
 Can someone give me advice?

complain to the fedora idiots who thought that zapping is not needed anymore?



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Dale
Volker Armin Hemmann wrote:
 On Freitag 24 Juli 2009, Igor Nemilentsev wrote:
   
 Hi, list
 I have emerged x11-base/xorg-server-1.6.2 with '+hal'.
 I have into xorg.conf
 Section ServerFlags
Option DontZap false
 EndSection

 Nonetheless the Ctrl+Alt+Backspace combination
 doesn't work.
 Can someone give me advice?
 

 complain to the fedora idiots who thought that zapping is not needed anymore?


   

I don't have any of that in my file and it works fine, well, except
when I do xorg-server with hal enabled.  Then NOTHING keyboard/mouse
related works.

Dale

:-)  :-) 



[gentoo-user] Enable DRI on HP Presario 2200 with PCI graphics?

2009-07-24 Thread James Homuth
I'm trying to configure xorg-server-1.5.3-r6 to use DRI on a 5-year-old
notebook with a PCI graphics card, but the only documentation I've been able
to track down that means anything assumes you're using AGP. I've installed
the Intel video drivers for xorg-server, and built the ones I could find
into my kernal (tried with 2.6.28 and 2.6.29), but no go. Am I missing
something glaringly obvious in my configuration, or should I just run it
sans DRI? PCI is compiled into the kernal, as are the Intel GMA 852/855
drivers, the I835 drivers and the I915 drivers. All are loaded plus
dependancies, but testing with glxinfo tells me it still can't open the
display. Output from lspci is below.
 
ja...@laptop ~ $ sudo lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated
Graphics Device (rev 02)
 
Any info you can provide would be greatly appreciated. Thank you in advance.

ja...@laptop ~ $ 


Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Igor Nemilentsev

On Fri, 24 Jul 2009, Helmut Jarausch wrote:
 AFAIK, the DontZap option applies to the key sequences
 Alt Fx to switch to a different terminal.
  No, the Ctrl+Alt+Fn sequence behaviour is changed
  with the option
  Option DontVTSwitch

 I have the same problem here (same configuration), i.e.
 CtrlAltDel doesn't work.

 If you can't exit via your window manager anymore,
 I think, Neil Bothwick has posted the following advice
 some days ago:
  I figured out to return old style I need this command:

  setxkbmap -option terminate:ctrl_alt_bksp

  Or add
  input.xkb.options terminate:ctrl_alt_bksp
  in configuration file of hal.

  Thanks for the advice.

Regards, Nemilentsev Igor



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Igor Nemilentsev
  I have emerged x11-base/xorg-server-1.6.2 with '+hal'.
  I have into xorg.conf
  Section ServerFlags
 Option DontZap false
  EndSection
 
  Nonetheless the Ctrl+Alt+Backspace combination
  doesn't work.
  Can someone give me advice?

 complain to the fedora idiots who thought that zapping is not needed anymore?
  I don't know but do fedora's developers have an very serious
  influence on  Xorg development ?




Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Neil Bothwick
On Fri, 24 Jul 2009 14:16:34 +0300 (EEST), Igor Nemilentsev wrote:

  complain to the fedora idiots who thought that zapping is not needed
  anymore?  
   I don't know but do fedora's developers have an very serious
   influence on  Xorg development ?

According to man xorg.conf, DontVTSwitch and DontZap both default to off.
I can see the use for such options, when you don't want your users
exiting X or even specific programs, but the default seems sensible. Is
it just Fedora that change the defaults?


-- 
Neil Bothwick

I locked my coathanger in my car; good thing I had a key.


signature.asc
Description: PGP signature


Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Helmut Jarausch
On 24 Jul, Neil Bothwick wrote:
 On Fri, 24 Jul 2009 14:16:34 +0300 (EEST), Igor Nemilentsev wrote:
 
  complain to the fedora idiots who thought that zapping is not needed
  anymore?  
   I don't know but do fedora's developers have an very serious
   influence on  Xorg development ?
 
 According to man xorg.conf, DontVTSwitch and DontZap both default to off.
 I can see the use for such options, when you don't want your users
 exiting X or even specific programs, but the default seems sensible. Is
 it just Fedora that change the defaults?

No, it's Gentoo itself.
Running xorg-server-1.6.2-r1 (+hal)

It seems a 'hal' 'feature' see the post of Igor this morning,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Volker Armin Hemmann
On Freitag 24 Juli 2009, Neil Bothwick wrote:
 On Fri, 24 Jul 2009 14:16:34 +0300 (EEST), Igor Nemilentsev wrote:
   complain to the fedora idiots who thought that zapping is not needed
   anymore?
 
I don't know but do fedora's developers have an very serious
influence on  Xorg development ?

 According to man xorg.conf, DontVTSwitch and DontZap both default to off.
 I can see the use for such options, when you don't want your users
 exiting X or even specific programs, but the default seems sensible. Is
 it just Fedora that change the defaults?

no, they changed the default from DontZap false to DontZap true. And all of 
its proponents are fedora/redhat devs. Because ctrl+alt+backspace is bad for 
emacs users (wtf? I have used emacs in the past - never a problem) or poor 
stupid people hit it accidentally (and what happens when you do it in 
windows?). So they changed this eternal old default. No matter that it is 
extremly usefull to quickly kill a misbehaving X - or as a nice way to log out 
of kde/gnome/whatever without having to click some confirmation first.

of course - ubuntu was happy about the change. But ubuntu is made for ...

grr





[gentoo-user] xf86-video-intel-2.8 and compiz - hard locks

2009-07-24 Thread Albert Hopkins
Am I the only one experiencing this?

I upgraded xf86-video-intel to 2.8.0.  After this and other upgrades I
noticed my X/GNOME/compiz session kept locking up.  It took me a while
to deduce it down to the intel driver.

Basically what happens this.. shortly after going into X and launching
compiz the screen would just lock up.  Most of the time the pointer
still moves and I can still hear audio if it's playing, but the display
does not update.  I can ssh into the machine.  If i then kill the
running compiz I see no difference.  Compiz appears to die or at least
be in zombie state but no screen updates.  Then if I kill the X server
the entire box locks up (ssh and all) and I have to hard reboot.

I've tried re-merging all my x11-drivers/ and also mesa and xorg-server,
but nothing seems to help.  I've tried this on kernel 2.6.30 as well as
2.6.31-rc4.  I haven't noticed any difference.

I downgraded xf86-video-intel to 2.7.1 and so far everything is fine.
Anyone else experienced this?

Hardware:
Lenovo ThinkPad R61 w/ Intel GM965.

-a





Re: [gentoo-user] Umlaut trouble in filenames

2009-07-24 Thread Alex Schuster
Again, I have some problem with umlauts, this time with remote files I want 
to download via FTP. In KDE4, Dolphin and konqueror are unable to read the 
file. I can get it manually via command line ftp, but then again dolphin or 
ark are unable to do anything with it. No big problem, I can rename the file 
using wild cards or tab completion, or using convmv, but this just looks 
wrong to me. Or is this normal?

My $LANG is de_DE.utf8, and in /etc/locale.gen I have:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
de...@euro ISO-8859-15

Wonko



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Stroller


On 24 Jul 2009, at 12:53, Volker Armin Hemmann wrote:

... Because ctrl+alt+backspace ... poor
stupid people hit it accidentally (and what happens when you do it in
windows?).


In Windows it (nowadays) takes you to a menu, which you can easily  
escape out of. That menu allows you to lock the screen session, bring  
up task manager, change your password or log out of the PC. I have no  
idea what it does on Linux, because Linux I use headless on servers.


Stroller.



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Igor Nemilentsev
I don't know but do fedora's developers have an very serious
influence on  Xorg development ?

 According to man xorg.conf, DontVTSwitch and DontZap both default to off.
 I can see the use for such options, when you don't want your users
 exiting X or even specific programs, but the default seems sensible. Is
 it just Fedora that change the defaults?
  Yes, this options is default off. And this means that
  Zap and VTSwitch is allowed.( no dontzap)
  If option DontZap is off that means
  that Ctrl-Alt-Bs should work.
  Nonetheless the option DontVTSwitch acts as expected
  but DontZap doesn't.
  As I think it is embedded into source or into
  default compilation options that we are   forced ( if need)  to
  apply some things which   wasn't required before.
  As least if xorg is compiled with hal.
  By the way Ubuntu and Fedora have the package named dontzap.
  Why:)


Regards, Nemilentsev Igor
Email:trez...@gmail.com



Re: [gentoo-user] xf86-video-intel-2.8 and compiz - hard locks

2009-07-24 Thread Albert Hopkins
I forgot to mention.  This seems to be compiz-specific.  If I run
metacity, even with metacity's compositing manager enabled, I don't
experience this issue.

-a





Re: [gentoo-user] xf86-video-intel-2.8 and compiz - hard locks

2009-07-24 Thread Zhu Sha Zang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Albert Hopkins escreveu:
 I forgot to mention.  This seems to be compiz-specific.  If I run
 metacity, even with metacity's compositing manager enabled, I don't
 experience this issue.

 -a




I cannot help you cos i have a intel graphic adapter too.
I'll only say a words about this chipset.

DAMN HOLY SHIT!!

P.S.: 00:02.0 VGA compatible controller: Intel Corporation 82G965
Integrated Graphics Controller (rev 02)

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkppuZ4ACgkQ35zeJy7JhCjPkACgh/rqQKYd2Wb+bBcrDuAnrJEg
VpEAoJh8dk5ZelX2F0TPIi+Hh3lHL6by
=6Wcg
-END PGP SIGNATURE-




[gentoo-user] Re: DontZap and Ctrl+Alt+Bs

2009-07-24 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stroller wrote:

 In Windows it (nowadays) takes you to a menu, which you can easily
 escape out of. That menu allows you to lock the screen session, bring
 up task manager, change your password or log out of the PC. I have no
 idea what it does on Linux, because Linux I use headless on servers.

You are thinking of Ctrl-Alt-Del; in Windows, Ctrl-Alt-Bksp does 
application-specific tasks, such as acting like Ctrl-Bksp or Alt-Bksp, or 
not doing anything at all.  Ctrl-Alt-Bksp killing the X server is a 
surprising difference for the average Windows user.

- -- 
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkpp6JkACgkQOypDUo0oQOrepgCfW7be4EO0zTvLvxJfpWFF2wVK
qgUAn1qRqOJmD8ibTbWU3KDPNxkOhYn/
=gMip
-END PGP SIGNATURE-





Re: [gentoo-user] amarok will not emerge

2009-07-24 Thread Skippy



Yes, I've run it multiple times.  Since amarok will not compile it
doesn't help much.  Amarok is the only thing that needs to be rebuilt.

Skippy



On Wed, 22 Jul 2009 14:12:08 +0200
Volker Armin Hemmann volkerar...@googlemail.com wrote the words:

 On Mittwoch 22 Juli 2009, Adrian wrote:
  Greetings all - I am having problems with amarok.  Details are in
  the Gentoo forum at
 
  http://forums.gentoo.org/viewtopic-t-781796.html
 
  Can anyone assist please?  Without amarok I can't load my ipod.  Oh
  such sad days!  Grrr..
 
  Thank you much!
 
  Skippy
 
 have you run revdep-rebuilt recently?
 


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls



Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Skippy



Greetings, I'm having exactly the same problem and have been trying to
fix it.

Could you please specify where in xorg.conf you placed

setxkbmap -option terminate:ctrl_alt_bksp

And where is the hal configuration file you inserted

input.xkb.options terminate:ctrl_alt_bksp

Thanks so very much, this is driving me nuts!

Skippy



On Fri, 24 Jul 2009 11:44:59 +0300 (EEST)
Igor Nemilentsev trez...@gmail.com wrote the words:

 
 On Fri, 24 Jul 2009, Helmut Jarausch wrote:
  AFAIK, the DontZap option applies to the key sequences
  Alt Fx to switch to a different terminal.
   No, the Ctrl+Alt+Fn sequence behaviour is changed
   with the option
   Option DontVTSwitch
 
  I have the same problem here (same configuration), i.e.
  CtrlAltDel doesn't work.
 
  If you can't exit via your window manager anymore,
  I think, Neil Bothwick has posted the following advice
  some days ago:
   I figured out to return old style I need this command:
 
   setxkbmap -option terminate:ctrl_alt_bksp
 
   Or add
   input.xkb.options terminate:ctrl_alt_bksp
   in configuration file of hal.
 
   Thanks for the advice.
 
 Regards, Nemilentsev Igor
 




[gentoo-user] Re: DontZap and Ctrl+Alt+Bs

2009-07-24 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Skippy wrote:

 
 
 
 Greetings, I'm having exactly the same problem and have been trying to
 fix it.
 
 Could you please specify where in xorg.conf you placed
 
 setxkbmap -option terminate:ctrl_alt_bksp
 
 And where is the hal configuration file you inserted
 
 input.xkb.options terminate:ctrl_alt_bksp
 
 Thanks so very much, this is driving me nuts!
 
 Skippy
 
 
 
 On Fri, 24 Jul 2009 11:44:59 +0300 (EEST)
 Igor Nemilentsev trez...@gmail.com wrote the words:
 
 
 On Fri, 24 Jul 2009, Helmut Jarausch wrote:
  AFAIK, the DontZap option applies to the key sequences
  Alt Fx to switch to a different terminal.
   No, the Ctrl+Alt+Fn sequence behaviour is changed
   with the option
   Option DontVTSwitch
 
  I have the same problem here (same configuration), i.e.
  CtrlAltDel doesn't work.
 
  If you can't exit via your window manager anymore,
  I think, Neil Bothwick has posted the following advice
  some days ago:
   I figured out to return old style I need this command:
 
   setxkbmap -option terminate:ctrl_alt_bksp
 
   Or add
   input.xkb.options terminate:ctrl_alt_bksp
   in configuration file of hal.
 
   Thanks for the advice.
 
 Regards, Nemilentsev Igor


I'm not sure how it goes in xorg.conf, as I no longer use that to configure 
my keyboard driver (as I use evdev, which is configured using HAL.

If you are using the evdev driver, then you need to edit HAL's config. To 
do so, create a new file /etc/hal/fdi/policy/10-x11-input.fdi (or any other 
name in that directory that ends in .fdi, they are checked in ASCIIbetical 
order, so 99-local.fdi is used near the end...), and modify the following 
to match your own preferences:

- 8

?xml version=1.0 encoding=UTF-8?
deviceinfo version=0.2
 match key=info.capabilities contains=input.keys
  merge key=input.x11_driver type=stringevdev/merge
  merge key=input.x11_options.XkbModel type=stringevdev/merge
  merge key=input.x11_options.XkbLayout type=stringus/merge
  merge key=input.x11_options.XkbVariant type=string/merge
  merge key=input.x11_options.XkbOptions 
type=stringterminate:ctrl_alt_bksp/merge
 /match
/deviceinfo

- 8

The format is a simple XML file, so it shouldn't be too hard to 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkpqGyUACgkQOypDUo0oQOpyVQCcDo8cSHthDBZ1g1SAUsj+B+vr
NUkAoINROLJSY49ZWgLvfajjaxrSMVGR
=wgHr
-END PGP SIGNATURE-





Re: [gentoo-user] DontZap and Ctrl+Alt+Bs

2009-07-24 Thread Igor Nemilentsev

 Greetings, I'm having exactly the same problem and have been trying to
 fix it.

 Could you please specify where in xorg.conf you placed
 setxkbmap -option terminate:ctrl_alt_bksp
  Please enter it in command line.
 And where is the hal configuration file you inserted

 input.xkb.options terminate:ctrl_alt_bksp
  I have it in /etc/hal/fdi/policy/
  I just added.

  merge key=input.xkb.options
  
type=stringgrp:caps_toggle,grp_led:scroll,grp:switch,compose:ralt,terminate:ctrl_alt_
  bksp/merge



Re: [gentoo-user] File synchronisation utility (searching for/about to program it)

2009-07-24 Thread Alan E. Davis
Hello, Simon:

I'm the last you would want to give advice about this question, but even
though I am not a programmer, I have been using git to sync on three
different systems.  I am using a flash drive as a cache, so to speak.  I
followed some tips from the Emacs org-mode mailing list to get this going.
It wasn't simple for me to recover when some files got out of sync on one of
the machines, but it was simple enough that even I could figure it out.  I
used a bare repo on the flash drive and push from each machine to this, a
very simple procedure that can be automated through cron, and pull to each
machine also from the bare repository.  I am not syncing a programming
project, but my various work.

Again, I am the least clueful you will find on this list, but if you wish
for me to tell you the steps I followed, that is possible.  One of the
mailing list threads that got me up to speed relatively quickly was at this
link.  (Hope it's ok to link another mailing list from this one.)

http://www.mail-archive.com/emacs-orgm...@gnu.org/msg11647.html

I apologize if the existence of a bare repo as an intermediary is a problem.
This can be done on a server as well.

Alan Davis

You can know the name of a bird in all the languages of the world,  but when
you're finished, you'll know absolutely nothing whatever about the bird...
So let's look at the bird and see what it's doing---that's what counts.

   Richard Feynman