On Thu, 2010-02-25 at 00:26 -0400, Mansour Al Akeel wrote:
> Hello all,
> It's working. I think I was missing the fbcon in /etc/make.conf
> Any how, I am working to customize it, and yes i noticed they removed
> the old "ctrl-alt-backspase", and I have been looking for a nice way
> to acheive the same. Alt-Sysreq-K just kills X. My login manager is
> SLim and DisplayManger is xmonad.
> 
> The link you gave me is very usefull, and was what I am looking for.
> 
> I added this  <merge key="input.xkb.options"
> type="string">terminate:ctrl_alt_bksp</merge>, but still not luck.
> 
> I will continue looking.
> Thank you all.
> 
> 
> On Wed, Feb 24, 2010 at 12:16 PM, Drake Donahue <[email protected]> wrote:
> > On Wed, 2010-02-24 at 02:13 -0400, Mansour Al Akeel wrote:
> >> Mark,
> >> thank you. Yes, this is new intel based system. Here's the link I got
> >> from gateway:
> >> http://support.gateway.com/s/notebook/2009/gateway/nv/nv59/NV59sp2.shtml
> >>
> >> I tried to recompile kernel without framebuffer, like you suggested.
> >>
> >> # Graphics support
> >> #
> >> CONFIG_AGP=y
> >> # CONFIG_AGP_AMD64 is not set
> >> CONFIG_AGP_INTEL=y
> >> # CONFIG_AGP_SIS is not set
> >> # CONFIG_AGP_VIA is not set
> >> CONFIG_VGA_ARB=y
> >> CONFIG_DRM=y
> >> CONFIG_DRM_KMS_HELPER=m
> >> # CONFIG_DRM_TDFX is not set
> >> # CONFIG_DRM_R128 is not set
> >> # CONFIG_DRM_RADEON is not set
> >> # CONFIG_DRM_I810 is not set
> >> CONFIG_DRM_I830=m
> >> CONFIG_DRM_I915=m
> >> CONFIG_DRM_I915_KMS=y
> >> # CONFIG_DRM_MGA is not set
> >> # CONFIG_DRM_SIS is not set
> >> # CONFIG_DRM_VIA is not set
> >> # CONFIG_DRM_SAVAGE is not set
> >> # CONFIG_VGASTATE is not set
> >> CONFIG_VIDEO_OUTPUT_CONTROL=m
> >> CONFIG_FB=m
> >> # CONFIG_FIRMWARE_EDID is not set
> >> # CONFIG_FB_DDC is not set
> >> # CONFIG_FB_BOOT_VESA_SUPPORT is not set
> >> CONFIG_FB_CFB_FILLRECT=m
> >> CONFIG_FB_CFB_COPYAREA=m
> >> CONFIG_FB_CFB_IMAGEBLIT=m
> >> # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
> >> # CONFIG_FB_SYS_FILLRECT is not set
> >> # CONFIG_FB_SYS_COPYAREA is not set
> >> # CONFIG_FB_SYS_IMAGEBLIT is not set
> >> # CONFIG_FB_FOREIGN_ENDIAN is not set
> >> # CONFIG_FB_SYS_FOPS is not set
> >> # CONFIG_FB_SVGALIB is not set
> >> # CONFIG_FB_MACMODES is not set
> >> # CONFIG_FB_BACKLIGHT is not set
> >> # CONFIG_FB_MODE_HELPERS is not set
> >> # CONFIG_FB_TILEBLITTING is not set
> >>
> >> #
> >> # Frame buffer hardware drivers
> >> #
> >> # CONFIG_FB_CIRRUS is not set
> >> # CONFIG_FB_PM2 is not set
> >> # CONFIG_FB_CYBER2000 is not set
> >> # CONFIG_FB_ARC is not set
> >> # CONFIG_FB_VGA16 is not set
> >> # CONFIG_FB_N411 is not set
> >> # CONFIG_FB_HGA is not set
> >> # CONFIG_FB_S1D13XXX is not set
> >> # CONFIG_FB_NVIDIA is not set
> >> # CONFIG_FB_RIVA is not set
> >> # CONFIG_FB_LE80578 is not set
> >> # CONFIG_FB_INTEL is not set
> >> # CONFIG_FB_MATROX is not set
> >> # CONFIG_FB_RADEON is not set
> >> # CONFIG_FB_ATY128 is not set
> >> # CONFIG_FB_ATY is not set
> >> # CONFIG_FB_S3 is not set
> >> # CONFIG_FB_SAVAGE is not set
> >> # CONFIG_FB_SIS is not set
> >> # CONFIG_FB_VIA is not set
> >> # CONFIG_FB_NEOMAGIC is not set
> >> # CONFIG_FB_KYRO is not set
> >> # CONFIG_FB_3DFX is not set
> >> # CONFIG_FB_VOODOO1 is not set
> >> # CONFIG_FB_VT8623 is not set
> >> # CONFIG_FB_TRIDENT is not set
> >> # CONFIG_FB_ARK is not set
> >> # CONFIG_FB_PM3 is not set
> >> # CONFIG_FB_CARMINE is not set
> >> # CONFIG_FB_GEODE is not set
> >> # CONFIG_FB_VIRTUAL is not set
> >> # CONFIG_FB_METRONOME is not set
> >> # CONFIG_FB_MB862XX is not set
> >> # CONFIG_FB_BROADSHEET is not set
> >> # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
> >> CONFIG_BACKLIGHT_CLASS_DEVICE=m
> >> CONFIG_BACKLIGHT_GENERIC=m
> >> # CONFIG_BACKLIGHT_PROGEAR is not set
> >> # CONFIG_BACKLIGHT_MBP_NVIDIA is not set
> >> # CONFIG_BACKLIGHT_SAHARA is not set
> >>
> >> #
> >> # Display device support
> >> #
> >> # CONFIG_DISPLAY_SUPPORT is not set
> >>
> >> #
> >> # Console display driver support
> >> #
> >> CONFIG_VGA_CONSOLE=y
> >> CONFIG_VGACON_SOFT_SCROLLBACK=y
> >> CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=1024
> >> CONFIG_DUMMY_CONSOLE=y
> >> # CONFIG_FRAMEBUFFER_CONSOLE is not set
> >> CONFIG_LOGO=y
> >> # CONFIG_LOGO_LINUX_MONO is not set
> >> # CONFIG_LOGO_LINUX_VGA16 is not set
> >> CONFIG_LOGO_LINUX_CLUT224=y
> >>
> >> When I boot, I get a blank screen, and can not control anything. From
> >> sshd, when I do startx:
> >>
> >> localhost linux # startx
> >> xauth:  creating new authority file /root/.serverauth.3638
> >>
> >>
> >> X.Org X Server 1.6.5
> >> Release Date: 2009-10-11
> >> X Protocol Version 11, Revision 0
> >> Build Operating System: Linux 2.6.31-gentoo-r6 x86_64
> >> Current Operating System: Linux localhost 2.6.33-rc8 #5 SMP Wed Feb 24
> >> 08:24:27 AST 2010 x86_64
> >> Build Date: 22 February 2010  07:09:57PM
> >>
> >>         Before reporting problems, check http://wiki.x.org
> >>         to make sure that you have the latest version.
> >> Markers: (--) probed, (**) from config file, (==) default setting,
> >>         (++) from command line, (!!) notice, (II) informational,
> >>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> >> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 24 09:42:51 2010
> >> (==) Using config file: "/etc/X11/xorg.conf"
> >> FATAL: Module fbcon not found.
> >> Setting master
> >> expected keysym, got XF86TouchpadToggle: line 122 of inet
> >> /etc/X11/xinit/xinitrc: line 58: twm: command not found
> >> /etc/X11/xinit/xinitrc: line 59: xclock: command not found
> >> /etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
> >> /etc/X11/xinit/xinitrc: line 60: xterm: command not found
> >>
> >> waiting for X server to shut down Dropping master
> >>
> >>
> >> localhost linux #
> >>
> >> =========================================
> >> Where to move from here ?
> >>
> > It looks like you have a running xserver.
> > Recent "improvements" in xorgserver have removed xdm and twm and the old
> > stipple screen as well as ctrl-alt-backspace as a way out of X.
> > There is an xdm script which provides some functionality.
> > If you have emerged a display manager-window manager-desktop manager and
> > you have xdm in a run level:
> > in /etc/conf.d/xdm set DISPLAYMANAGER="<your display manager>"
> > or take xdm out and put your display manager in a run level.
> > see also /etc/rc.conf http://www.gentoo.org/doc/en/xorg-config.xml ,
> > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml
> > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml
> >
> >
> >
> >
> 
Attachment worked for me:

If you want <CTRL ALT BACKSPACE> to be able to shutdown X:
If you don't have /etc/hal/fdi/policy/10-keymap.fdi:
run:
'cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi 
/etc/hal/fdi/policy/10-keymap.fdi'

open /etc/hal/fdi/policy/10-keymap.fdi and add as the last <merge key:
'<merge key="input.xkb.options" 
type="string">grp:alt_shift_toggle,terminate:ctrl_alt_bksp</merge>'

here the modified /etc/hal/fdi/policy/10-keymap.fdi looks like:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">us</merge>
      <merge key="input.xkb.variant" type="string" />
      <merge key="input.xkb.options" 
type="string">terminate:ctrl_alt_bksp</merge>
    </match>
  </device>
</deviceinfo>

Reply via email to