Package Details: systemd-numlockontty 0.1-11

Git Clone URL: https://aur.archlinux.org/systemd-numlockontty.git (read-only)
Package Base: systemd-numlockontty
Description: Systemd service + script, automatically activate numpad on ttys
Upstream URL: http://avalon.ybalrid.info/aur/numlockontty.html
Licenses: GPL
Replaces: numlockontty
Submitter: Ybalrid
Maintainer: Ybalrid
Last Packager: Xorg
Votes: 57
Popularity: 2.470438
First Submitted: 2013-01-02 23:36
Last Updated: 2015-07-09 15:25

Latest Comments

Ybalrid commented on 2016-08-07 17:31

Hi,

I had a problem with the payment for the server. It should be back online soon.

Sorry about that

DomX commented on 2016-08-07 15:16

Hey, guys, is the tarball saved anywhere else?
I can't reach the source address...

Ybalrid commented on 2016-03-27 17:40

@Xorg: Okay cool ^^"

Xorg commented on 2016-03-27 10:13

@Ybalrid: this package is your. :)

Xorg commented on 2016-03-26 10:02

@Ybalrid
Hi,

I can orphan this package if you want to adopt it. I don't use it anymore, since I use "Extending getty@.service" method described on "Activating Numlock on Bootup" wiki page[3].

[3]https://wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup

Ybalrid commented on 2016-03-25 13:26

Hi,

Just to say I totally forgot about this package. I'm glad support has been keept. (the migration to the git-based AUR repos)

It's just a bash script that basicly send the "numlock on" command on the 6 firts TTY. It a bit of an hack but it works generally.

doragasu commented on 2015-01-11 10:14

Doesn't work for me :(

I'm using a desktop PC with a Logitech Deluxe 250 keyboard (connected to a PS2 port using a USB to PS2 adapter). Installed and enabled the service, but it doesn't work. If I launch the binary as user:

$ numlockOnTty
KDSKBLED: Operation not permitted
/usr/bin/numlockOnTty: line 8: /dev/tty2: Permission denied
/usr/bin/numlockOnTty: line 8: /dev/tty3: Permission denied
/usr/bin/numlockOnTty: line 8: /dev/tty4: Permission denied
/usr/bin/numlockOnTty: line 8: /dev/tty5: Permission denied
/usr/bin/numlockOnTty: line 8: /dev/tty6: Permission denied

If I launch it as superuser, there's no output on the console, but it does neither work.

Ybalrid commented on 2014-04-28 01:39

It should works now.

Files was still hosted on a friend's server, wich have some technical issues... Now I host everithing on my own.

I've edited the PKGBUILD so, it's a new release.

Thanks for reporting

Ybalrid commented on 2014-04-28 01:29

working on it...

selbyk commented on 2014-04-28 00:45

it is down again

Ybalrid commented on 2014-01-20 20:21

Should works now, sorry. nginx was donw on the server ^^"

yurilebbie commented on 2014-01-20 19:55

The source is down, it is not possible to install this now.

GUiHKX commented on 2013-02-16 10:37

Now Teamviewer have a daemon, which is needed to get it work. Adding this will do the job:

install -Dm755 $pkgdir/opt/teamviewer8/tv_bin/script/teamviewerd.service $pkgdir/usr/lib/systemd/system/teamviewerd.service

and then to start the service (run as root):

# teamviewer --daemon start

Or if you don't want to have to start the service every time you use teamviewer, you can enable it on system bootup:

# systemctl enable teamviewerd

(I'm sorry for my english)

Ybalrid commented on 2013-01-17 23:50

I already had*

(you're not alone with a brain who dont works this night, mine dont want to compile with english verbs ><')

Ybalrid commented on 2013-01-17 23:47

Ah, I already have this kind of keyboard (they put it on small laptop), Obviusly, you dont need to have numpad activated, that's will just be anoying beacause you cannot use the right hand part of your keyboard ;-)

Just remeber this package for the day you have a complete keyboard with a physical numpad xD

sl1pkn07 commented on 2013-01-17 22:38

ag, its my fault

this is my laptop keyboard
http://www.asus.com/websites/global/products/Kp9FSSex21aq8WPA/o5.jpg

the numpad is integrated into normal keys. if numlock is enable, switch the normal keys to number keys. . the script works perfect, but my brain not XD

sorry for all

and greetings

Ybalrid commented on 2013-01-17 20:13

That's strange beacause it's working on my laptop, the commandline with setled come from the ArchLinux Wiki (but was deleted by Chrisl, see the old article here : https://wiki.archlinux.org/index.php?title=Activating_Numlock_on_Bootup&direction=prev&oldid=243523)

When you execute 'setleds -D -num < /dev/tty1' it disable your numpad, right ?

Ybalrid commented on 2013-01-17 20:05

That's strange beacause it's working on my laptop, the commandline with setled come from the ArchLinux Wiki (but was deleted by Chrisl, see the old article here : https://wiki.archlinux.org/index.php?title=Activating_Numlock_on_Bootup&direction=prev&oldid=243523)

When you execute 'setleds -D -num < /dev/tty1' it disable your numpad, right ?

sl1pkn07 commented on 2013-01-17 17:06

ok, only fail in laptops. but in normal pc works

sl1pkn07 commented on 2013-01-17 16:31

not work for my laptop

after reboot the numlock is dissable

if activate by hand and execute setleds -D +num < /dev/tty1, the numlock back to disable

and if execute when numlock is disable, this make nothing

i belive the setleds arguments is wrong, if execute setleds -D -num < /dev/tty1 works

greetings

Ybalrid commented on 2013-01-12 00:12

done, sorry, I really need some rest ><"

Ybalrid commented on 2013-01-12 00:08

oops

GUiHKX commented on 2013-01-11 19:35

Oh okay, the path in the PKGBUILD are incorrect

/usr/systemd/system/

Should be

/usr/lib/systemd/system

And maybe you want to remove the " character in the .install file

GUiHKX commented on 2013-01-11 19:30

But now the command isn't working:

# systemctl enable numLockOnTty
Failed to issue method call: No such file or directory

Ybalrid commented on 2013-01-11 19:08

I've done these updates, thanks for your comments, there are very helpful ;-)

Ybalrid commented on 2013-01-11 18:38

good to know, I will try to put in /usr/lib/systemd/system ^^'

@GUiHKX thx for the edit on the wiki, I'm not very good in english too but I think it's ok.

chris_l commented on 2013-01-11 18:28

Ah, this is a little problem. You are saving the unit on /etc/systemd/system/numLockOnTty.service, However, /etc/systemd/system/ dir should be used only by units manually edited by the user. (that is, not provided by packages)

The systemd unit files provided by packages (like this one) should go on the /usr/lib/systemd/system directory instead.

GUiHKX commented on 2013-01-11 09:22

Okay! I've added a new section on the wiki https://wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup#Using_Systemd, but my english isn't very good, if anyone could take a look I'd appreciate

Ybalrid commented on 2013-01-11 07:00

Great, the PKGBUILD is more "good looking" with the install command, and good idea for the .install file, I add this as soon as I can :p

GUiHKX commented on 2013-01-11 04:24

Hello, thanks for this package! I've made some "improvements" in the PKGBUILD and I've also created an .install file to remember people from enabling the systemd service, after the installation process. Please note that I'm new to the "Arch Packaging Style", so any fixes are welcome.

PKGBUILD: http://pastebin.com/9633MZLT
numlockontty.install: http://pastebin.com/4ceCLQcf

If you use the PKGBUILD, don't forget to bump the 'pkgrel'. :p
Sorry for any grammatical erros.

GUiHKX commented on 2013-01-11 04:23

Hello, thanks for this package! I've made some "improvements" in the PKGBUILD and I've also created an .install file to remember people from enabling the systemd service, after the installation process. Please note that I'm new to the "Arch Packaging Style", so any fixes are welcome.

PKGBUILD: http://pastebin.com/9633MZLT
numlockontty.install: http://pastebin.com/J8aXukY2

If you use the PKGBUILD, don't forget to bump the 'pkgrel'. :p
Sorry for any grammatical erros.

GUiHKX commented on 2013-01-11 04:23

Hello, thanks for this package! I've made some "improvements" in the PKGBUILD and I've also created an .install file to remember people from enabling the systemd service. Please note that I'm new to the "Arch Packaging Style", so any fixes are welcome.

PKGBUILD: http://pastebin.com/9633MZLT
numlockontty.install: http://pastebin.com/J8aXukY2

If you use the PKGBUILD, don't forget to bump the 'pkgrel'. :p
Sorry for any grammatical erros.

Ybalrid commented on 2013-01-03 18:22

Thank you, I've updated this.

American_Jesus commented on 2013-01-03 17:31

Add replaces=('numlockontty')

yaourt output:
error: failed to commit transaction (conflicting files)
systemd-numlockontty: /etc/systemd/system/numLockOnTty.service exists in filesystem
systemd-numlockontty: /usr/bin/numlockOnTty exists in filesystem
Errors occurred, no packages were upgraded.

$pacman -Qo /etc/systemd/system/numLockOnTty.service
/etc/systemd/system/numLockOnTty.service is owned by numlockontty 0.1-5

Ybalrid commented on 2013-01-02 23:30

okay

karol_007 commented on 2013-01-02 23:04

Upload a new package called systemd-numlockontty and ask on the AUR mailing list to merge the comments and votes.

Ybalrid commented on 2013-01-02 22:21

Uh... I dont see how I can simply do that, or if it's not realy important tell me ^^"

I'm new here so I dont know very well how it works (I've made this and I think that can be useful beacause 2 freinds of mine were sherching for a simple solution)

Ybalrid commented on 2013-01-02 22:10

Thank you for the remark, I'll change that :p

sl1pkn07 commented on 2013-01-02 19:51

the package should be named systemd-numlockontty

anyway, thanks for this!

greetings

Ybalrid commented on 2013-01-02 18:17

Hi,
Dont forget to run the command

# systemctl enable numLockOnTty

This is my first contribution to the AUR, I just worte a .service file who do the thing described here
https://wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup#Console
This dont use deprecated files from the old initscript ;-)