From: Terechkov Evgenii <evg@krastel.ru> To: anyr@tut.by Cc: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] Keyboard poweroff Date: Sat, 10 Jun 2006 14:13:09 +0800 Message-ID: <m3bqt17d3e.fsf@evg.krastel.ru> (raw) In-Reply-To: <200606090744.38536.anyr@tut.by> (anyr@tut.by's message of "Fri, 9 Jun 2006 07:44:37 +0000") anyr пишет: >> Если в иксах (похоже на то) - то xev и xmodmap вам >> помогут. Мне помогли. > Кое как разглядел и понял как пустить в расход кнопки. Но... > в ALTC 3.0.4 почему-то poweroff срабатывает только от root > (хотя чтение разрешено всем и исполнение тоже). Это наверно PAM. Если не ошибаюсь, в Мастере пакет специальный этим занимается - SysVinit-usermode (позволяет пользователям с/без пароля выполнять различные системные команды). Подозреваю, в Компакте аналогично. Вообще конечно информации мало - "не срабатывает" и всё. Конкретнее. > Сколько не бился так и не смог понять что-же срабатывает при нажатии > ctrl+alt+del - может хоть эта утилита смогла бы мне помочь выключить > машину с клавиш. Если у вас ctrl+alt+del срабатывает, то я даже не скажу, что за программа (может WM). В консоли же дело ясное - это init. Можно /e/inittab подправить, чтобы выключало (в Мастере стоит - перезагружать через 3 секунды). > Ну наконец так и не смог сделать так, чтобы "информация" о > клавишах погружалась автоматом при старте системы. Пытался > сунуть xmodmap ~/keyboard (решил, чтобы зря каждый раз > root'ом не лазить файл с описанием дополнительных клавиш > оставить в ~), пытался то же запихнуть в init.d - без > результатов. Тут даже не скажу. Можно, впрочем, этого не делать, а поправить /e/skel (на предмет ~/.xmodmap и ~/.xsession.d/xmodmad.sh какого-нибудь). Тогда в [kgwx]dm-е эти клавиши работать не будут. Но заработают после логина пользователя (если он сам это не выключит в своём хомяке). Или вам там не надо? -- С уважением, системный администратор ООО "Крастел", Терешков Евгений.
next prev parent reply other threads:[~2006-06-10 6:13 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-06-07 8:37 anyr 2006-06-07 7:11 ` Terechkov Evgenii 2006-06-09 7:44 ` anyr 2006-06-10 6:13 ` Terechkov Evgenii [this message] 2006-06-10 7:13 ` anyr 2006-06-10 14:15 ` Nick S. Grechukh
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=m3bqt17d3e.fsf@evg.krastel.ru \ --to=evg@krastel.ru \ --cc=anyr@tut.by \ --cc=community@lists.altlinux.org \ /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