ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksey Avdeev" <solo_oboroten@mail15.com>
To: community@altlinux.ru
Subject: Re: [Comm] NumLock
Date: Sat, 06 Sep 2003 03:07:23 +0400
Message-ID: <3F59172B.7090909@mail15.com> (raw)
In-Reply-To: <20030905080201.GA2639@nm.ru>

Pyatnitskich Evgeniy пишет:
> On Fri, Sep 05, 2003 at 12:57:22AM +0400, Aleksey Avdeev wrote:
> 
>>>Смотрите файл /etc/X11/xinit.d/numlock. Он исполняется при загрузке иксов.
>>>Напишите там:
>>>
>>>#!/bin/sh
>>>/usr/X11R6/bin/enable_X11_numlock
>>
>>  В данном файле уже есть вызов 
>>/usr/X11R6/bin/enable_X11_numlock, при условии что существуют 
>>/var/lock/subsys/numlock и /usr/X11R6/bin/enable_X11_numlock.
>>
>>  Но:
>>
>>$ sudo ls -ld /var/lock/subsys
>>drvx------  2 root  root  824 Сен  4 21:35 /var/lock/subsys
>>
>>  Т. е. обычный пользователь, из под которого выполняется 
>>/etc/X11/xinit.d/numlock после startx (проверял, init 5 - пока 
>>нет), не увидит существования /var/lock/subsys/numlock при всём 
>>желании... :-(
>>
>>  Лечил так:
>>
>>$ sudo chmod 0755 /var/lock/subsys
>>
>>  Незнаю, правда, насколько это правильно с точки зрения 
>>безопасности.
>>
>>
>>>И будет вам счастие... :)
>>>
>>
>>ЗЫ: У меня Сизиф, но думаю - решение подайдёт и для Мастера. ;-)
> 
> 
> Да, я догадывался о чём-то подобном, но разбираться
> поленился. :) Проще было написать железно запуск
> enable_X11_numlock. :)
> 

   Вопрос на засыпку: Стоит ли в http://bugzulla.altlinux.ru баг 
вешать по этому поводу?

-- 

С уважением. Алексей.



  reply	other threads:[~2003-09-05 23:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-02 17:30 glux
2003-08-03 11:24 ` Pyatnitskich Evgeniy
2003-08-04  9:46   ` Oleg Dolgov
2003-08-04 10:07     ` Pyatnitskich Evgeniy
2003-08-05 13:37       ` Oleg Dolgov
2003-08-05 11:58         ` Pyatnitskich Evgeniy
2003-08-06 13:32           ` Oleg Dolgov
2003-08-06 13:08             ` Pyatnitskich Evgeniy
2003-09-04 20:57               ` Aleksey Avdeev
2003-09-05  8:02                 ` Pyatnitskich Evgeniy
2003-09-05 23:07                   ` Aleksey Avdeev [this message]
2003-09-06  7:28                     ` Pyatnitskich Evgeniy
2003-09-07 23:07                       ` Aleksey Avdeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F59172B.7090909@mail15.com \
    --to=solo_oboroten@mail15.com \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git