infomaniac50 / logkeys

Automatically exported from code.google.com/p/logkeys
Other
0 stars 0 forks source link

where is etc/logkeys-start.sh #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
logkeys was working fine when I tried it with the -u switch.

But to use bin/llk , I need to change the change the etc/logkeys-start.sh file, 
I believe! But I don't seem to find the bash file.

Check out

human@pc-1:~$ logkeys
logkeys: Got r00t?                #just to make sure logkeys is installed
human@pc-1:~$ cd /etc
human@pc-1:/etc$ ls
acpi                    group-               pm
adduser.conf            grub.d               pnm2ppa.conf
alternatives            gshadow              polkit-1
anacrontab              gshadow-             popularity-contest.conf
apm                     gtk-2.0              ppp
apparmor                hdparm.conf          profile
apparmor.d              host.conf            profile.d
apport                  hostname             protocols
apt                     hosts                pulse
at.deny                 hosts.allow          purple
avahi                   hosts.deny           python
bash.bashrc             hp                   python2.6
bash_completion         ifplugd              rc0.d
bash_completion.d       init                 rc1.d
bindresvport.blacklist  init.d               rc2.d
blkid.conf              initramfs-tools      rc3.d
blkid.tab               inputrc              rc4.d
bluetooth               insserv              rc5.d
bogofilter.cf           insserv.conf         rc6.d
bonobo-activation       insserv.conf.d       rc.local
brlapi.key              iproute2             rcS.d
brltty                  issue                resolvconf
byobu                   issue.net            resolv.conf
ca-certificates         kbd                  resolv.conf.pppd-backup
ca-certificates.conf    kernel               rmt
calendar                kernel-img.conf      rpc
chatscripts             kerneloops.conf      rsyslog.conf
checkbox.d              ldap                 rsyslog.d
compizconfig            ld.so.cache          samba
computer-janitor.d      ld.so.conf           sane.d
ConsoleKit              ld.so.conf.d         scim
console-setup           legal                screenrc
couchdb                 lftp.conf            securetty
cron.d                  libpaper.d           security
cron.daily              locale.alias         sensors3.conf
cron.hourly             localtime            sensors.d
cron.monthly            logcheck             services
crontab                 login.defs           sgml
cron.weekly             logrotate.conf       shadow
crypttab                logrotate.d          shadow-
cups                    lsb-base             shells
dbus-1                  lsb-base-logging.sh  skel
debconf.conf            lsb-release          snmp
debian_version          ltrace.conf          sound
default                 magic                speech-dispatcher
defoma                  magic.mime           ssh
deluser.conf            mailcap              ssl
depmod.d                mailcap.order        sudoers
dhcp                    manpath.config       sudoers.d
dhcp3                   mime.types           sysctl.conf
dictionaries-common     mke2fs.conf          sysctl.d
doc-base                modprobe.d           terminfo
dpkg                    modules              timezone
emacs                   mono                 ucf.conf
environment             motd                 udev
firefox                 mtab                 ufw
fonts                   mtab.fuselock        updatedb.conf
foomatic                mtools.conf          update-manager
fstab                   nanorc               update-motd.d
fuse.conf               netscsid.conf        update-notifier
gai.conf                network              UPower
gamin                   NetworkManager       usb_modeswitch.conf
gconf                   networks             usb_modeswitch.d
gdb                     nsswitch.conf        vim
gdm                     obex-data-server     w3m
ghostscript             openoffice           wgetrc
gnome                   opt                  wodim.conf
gnome-app-install       pam.conf             wpa_supplicant
gnome-settings-daemon   pam.d                X11
gnome-system-tools      pango                xdg
gnome-vfs-2.0           papersize            xml
gnome-vfs-mime-magic    passwd               xul-ext
gre.d                   passwd-              xulrunner-1.9.2
groff                   pcmcia               zsh_command_not_found
group                   perl

Thank you

Original issue reported on code.google.com by roy.zyo on 14 Nov 2010 at 8:46

GoogleCodeExporter commented 9 years ago
it's likely in the /usr/etc directory.
this shall be fixed in next release!

Original comment by kernc...@gmail.com on 14 Nov 2010 at 10:37

GoogleCodeExporter commented 9 years ago
human@pc-1:~$ logkeys
logkeys: Got r00t?
human@pc-1:~$ cd /usr
human@pc-1:/usr$ ls
bin  games  include  lib  lib64  local  lost+found  sbin  share  src
human@pc-1:/usr$ echo where is etc?
where is etc?
human@pc-1:/usr$ sudo su
[sudo] password for human: 
root@pc-1:/usr# ls
bin  games  include  lib  lib64  local  lost+found  sbin  share  src
root@pc-1:/usr# 

Original comment by roy.zyo on 15 Nov 2010 at 2:26

GoogleCodeExporter commented 9 years ago
how about
$ sudo updatedb && locate logkeys-start.sh
any helpful output?

Original comment by kernc...@gmail.com on 15 Nov 2010 at 4:28

GoogleCodeExporter commented 9 years ago
oh that did it. It was in /usr/local/etc :)

human@pc-1:~$ sudo updatedb
[sudo] password for human: 
human@pc-1:~$ locate logkeys-start.sh
/home/human/Downloads/logkeys-0.1.1a/scripts/logkeys-start.sh
/usr/local/etc/logkeys-start.sh
human@pc-1:~$ cat /usr/local/etc/logkeys-start.sh
#!/bin/bash
logkeys --start
human@pc-1:~$ man updatedb

Original comment by roy.zyo on 16 Nov 2010 at 5:03