Witam.
Jestem nowym użytkownikiem forum, jak i systemu Linux.
Mam taki problem, gdy chcę zainstalować whatpulse (program liczy stuknięcia w klawiaturę, kliknięcia myszą, przejechany dystans, fajna sprawa, używam pod Windows), w każdym razie wyświetla się komunikat:
Komunikat zrozumiały, natomiast pytanie jest inne - skąd i jak instalowałeś Whatpulse (bo chyba taka jest prawidłowa nazwa tego programu); na stronie jest skrypt instalacyjny dla linuksa?
echo "This script sets up read permissions for the kernel's event devices
in order for your user to be able to run WhatPulse. It will create a new
group called 'input', add your username to that group, and make the event
devices readable for the group. Press Ctrl+C now if you don't want this,
or press Return to continue."
read temp
if [ "`whoami`" != "root" ] ; then
echo "This script must be run as root (e.g. using sudo). Will now exit."
exit
fi
# set up persistent settings
if [ -r /etc/udev/rules.d/99-whatpulse-input.rules ] ; then
echo "/etc/udev/rules.d/99-whatpulse-input.rules already exists. Will not change it."
else
echo "KERNEL==\"event*\", NAME=\"input/%k\", MODE=\"640\", GROUP=\"input\"" >> /etc/udev/rules.d/99-whatpulse-input.rules
if [ $? != 0 ] ; then
echo "There was some error creating the udev rule file. Sorry. Quitting."
exit
fi
echo "UDEV rules file has been set up."
fi
if [ -n "`cat /etc/group | grep -e ^input:`" ] ; then
echo "Group 'input' already exists!"
else
groupadd input
echo "Created group 'input'."
fi
echo "Please enter the username that should get added to the group:"
read username
if [ -z "$username" ] ; then
echo "What do you mean by an empty username? Quitting."
exit
fi
if [ -z "`cat /etc/passwd | grep -e ^$username:`" ] ; then
echo "This username doesn't exist. Quitting."
exit
fi
gpasswd -a $username input &> /dev/null
if [ $? != 0 ] ; then
# maybe this is openSUSE (or a similar system)
usermod -A input $username &> /dev/null
if [ $? != 0 ] ; then
echo "There was a problem adding your username to the group 'input'.
Please add your user to the 'input' group yourself."
else
echo "Added user '$username' to group 'input', using the special openSUSE method."
fi
else
echo "Added user '$username' to group 'input'."
fi
echo " "
echo "Setup of persistent permission settings complete."
# apply non-persistent settings so that no reboot is necessary :-)
echo " "
echo "Since the UDEV rules will only be applied when you restart your
computer, this script will now apply temporary read permissions for all
users to the device files to let you use WhatPulse immediately. You have
the chance to cancel this by pressing Ctrl+C now (which you should do if
you fear that other users on your computer might log your keyboard
events!). Otherwise press Return to continue."
read temp
find /dev/input/ -iname 'event*' -exec chmod 644 {} \;
echo "All done, have fun using WhatPulse!"
To w jaki sposób instalowałeś program?
Skrypt - należy prawdopodobnie zmienić go w wykonywalny (jeśli nie jest) i prawdopodobnie jako root odpalić w konsoli. Nigdzie na stronie nie ma instrukcji?
Przeczytaj też materiały dla początkujących na forum. Przydadzą się.
Do ściągnięcia była również wersja instalacyjna, z niej instalowałem.
Na stronie instrukcji nie ma, zresztą nawet gdyby była, to na niewiele by się zdała, kiepsko u mnie z angielskim.
Co do zmiany skryptu na wykonalny, jak tego dokonać?
A co do materiałów to zapoznam się, z całą pewnością, dziękuję za wszystkie dotychczasowe rady.
El NIno, teraz się pochwal jakiej wersji Debiana lub innego Linuksa używasz. Na stronie, do której odnośnik przedstawiłeś jest kilka wersji tego programu.
Jeżeli oczekujesz pomocy to zacznij poważnie i konkretnie zadawać pytania. Jak dotąd nie dostarczyłeś żadnych konkretnych informacji.
Używam Ubuntu 10.04, 32 bitowy, a mówisz, że kilka wersji jest, ktoś z nas musi nie dowidzieć, bo ja widzę tam co najwyżej dwie, a to nie kilka, tylko para.