ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Kharitonov A. Dmitry" <kharpost@rambler.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] При старте KDE отваливается тачпад
Date: Sat, 11 Apr 2015 21:39:41 +0300
Message-ID: <55296A6D.6080304@rambler.ru> (raw)
In-Reply-To: <55278D1C.90501@rambler.ru>

10.04.2015 11:43, Kharitonov A. Dmitry пишет:
> При старте KDE отваливается тачпад.
>
> В окне ввода пароля тачпад работает. В процессе загрузки KDE перестаёт 
> работать.
> При завершении сеанса KDE появляется окно вода пароля там опять работает.
>
> Помогите советами.
>
Кому интересно, скрипт выполняющий автонастройку для временного 
исправления положения
#!/bin/bash

fixtouchpad_file="/etc/sudoers.d/fixtouchpad"
tfile="$(mktemp ~/XXXXXX)"
echo "User_Alias      USERS = %users" >"$tfile"
echo "USERS     ALL=NOPASSWD: /sbin/modprobe -r psmouse,/sbin/modprobe 
psmouse" >>"$tfile"
echo "" >>"$tfile"
sudo install --mode=400 --owner=root --group=root -pv "$tfile" 
"$fixtouchpad_file"

fixtouchpad_file="/etc/pm/sleep.d/65-fixtouchpad"
echo "#!/bin/sh" >"$tfile"
echo "#" >>"$tfile"
echo "# fixtouchpad: unload/reload psmouse module" >>"$tfile"
echo "" >>"$tfile"
echo "sudo /sbin/modprobe -r psmouse" >>"$tfile"
echo "sudo /sbin/modprobe psmouse" >>"$tfile"
echo "" >>"$tfile"
sudo install --mode=555 --owner=root --group=root -pv "$tfile" 
"$fixtouchpad_file"
sudo rm "$tfile"
tfile="$(kde4-config --prefix)/autostart/${fixtouchpad_file##*/}"
sudo ln -s "$fixtouchpad_file" "$tfile"
sudo chmod a-rwx+rX,u+w "$tfile"
sudo owner root:root "$tfile"




      parent reply	other threads:[~2015-04-11 18:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10  8:43 Kharitonov A. Dmitry
2015-04-10 13:28 ` Sergey V Turchin
2015-04-10 17:33   ` Kharitonov A. Dmitry
2015-04-10 17:48     ` Kharitonov A. Dmitry
2015-04-10 18:29     ` Kharitonov A. Dmitry
2015-04-11  3:48       ` Kharitonov A. Dmitry
2015-04-11  7:00         ` Vasiliy D. Sevostyanov
2015-04-11  8:25           ` Kharitonov A. Dmitry
2015-04-11  9:39             ` Vasiliy D. Sevostyanov
2015-04-11 11:24               ` Kharitonov A. Dmitry
2015-04-11 18:39 ` Kharitonov A. Dmitry [this message]

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=55296A6D.6080304@rambler.ru \
    --to=kharpost@rambler.ru \
    --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