Change Keyboard Mapping - layout

Hello and thank you in advance,
I am wondering if there is a way to change the layout of my keyboard (software-wise).
The problem is that, on my laptop's keyboard, the Page Up and Page Down keys are combined with the Home and End keys respectively (i.e. to use Home, I have to use the command fn+PgUp/Home).
Is there a way for me to switch what my keyboard receives in Windows 8? If I press the PgUp/Home key I would like the Home command to be entered, and if I entered fn+PgUp/Home I would like the PgUp command to be entered.
I have tried googling for this using several different keywords, but haven't been able to find anything.
Any help is appreciated,
Zach

This is a duplicate question.
You can find an answer here:
https://superuser.com/questions/694465/remapping-a-keyboard-key-in-windows-8-1
Keep in mind this does require registry edits which can be dangerous and can lead to critical failures if not done correctly. Always create a restore point before making any registry edits.

Related

can I be keylogged at pc lock-in?

I was opening my pc with a password and noticed that the letters of the keystrokes did not appear in the password-field. It made me suspicious if a key-logger 'snatched' my password.
Opening the pc with a password is a spine reaction, so I went back to check how much would be needed to miss a proper lock-in .. I'm sure enough to proceed to question you here.
Would I in the first place notice, if someone used a keylogger on me? Is letters not appearing in the text-field symptomatic for the use of a key-logger against me? If yes, do I have any chance of finding the key-logger to delete it from my pc?
I've written plenty of appropriate code (opengl + glfw) to suggest, that the keylogger would have to work as a service (added with administrator-credintials?) and be turned on at pc-start to do it's job, but I don't have a clue more than that.
letters of the keystrokes did not appear in the password-field
It could be a scenario; maybe the textbox was out of focus while you were trying to login. Because I beleive that keylogger won't hinder the keypress of a textbox.
According to my experience of getting hardware-input it would seem to be a slim case not to reveal it in a stelthy situation - you must be right.

Creating a floating menu that pops like normal menu but appears at mouse position

Some context
I've recently switched to ubuntu budgie (from unity), and I am really tired of the Plank/panel menu combo. I cannot find a setting that suits me, because depending on my screen setup, there's always something in the wrong place.
I am literally unable to show the menu on certain edges if I activate auto-hide, and if I don't activate it, it's not nice at all, to the point that I have removed the plank thing altogether. (Am I having strange bugs on this OS, or is it really messy?)
My idea
With great frustrations come new ideas. I thought again about one I had in the past. I would like to have a circle menu that pops around my mouse cursor when I press a given key combination (very much the kind of thing you would find in some games).
The main use case is to get "pined" application shortcuts easily when I need them, but perhaps other things would fit well with them (commands ...).
Questions
So my questions are:
Does such a thing already exist?
If it doesn't, is it difficult to realize? (How much time, complexity, ...)
What tools/libraries are needed for such a project? I know I'll find plenty of explanations on the gnome developer website but I could really use some more help.
Since you mention a buggy behaviour on Plank, depending on the screen configuration, I suspect you are suffering from this bug. In short: Plank's returned values for the space it needs are not always correct in multi monitor setup.
A neat option to replace at least part of the functionality is Ulauncher, by default called from a shortcut, but you could trigger it from anything that is capable of running its command.
Since Ulauncher's window simply identifies in the window list, you can easily write a script to move it to the current mouse position.
In case you'd need any help in that, just leave a comment.
Not sure if you are also referring to quick access of the window list, but for that you could use the Window Previews applet, or even the Workspace Overview applet, so life without Plank is possible.

Autohotkey Not sending keys in the wrong order

I have the script:
#F20:: ^!{DEL}
which is suppose to simulate pressing CTRL+ALT+DELETE"
I Viewed the event log and the order in which the keys simulations are sent is completely messed up! What have i done wrong and how can i achieve the desired affect?
Just did some digging, unfortunately Windows does not allow for simulation of Ctrl + Alt + Del. If you want the task manager it brings up simply use:
#F20::Run taskmgr
As ahkcoder pointed out Windows keeps Ctrl+Alt+Del out of reach, see
https://autohotkey.com/docs/commands/Send.htm#Remarks
Apart from that the order of your key history is correct. It's just interspersed with other keys you pressed, likely because your script uses the keyboard hook.
Which in turn would prevent your #F20 Hotkey to work if it is itself triggered from a script. Without seeing your actual script that's about as much as i can think of.

How to change the functionality of a button so that it can work as the backspace button

Okay, so I have a Compaq laptop [American keyboard].
It is a few days that the backspace button is broken - I mean, it is totally popped off. It ought to be replaced but it is hard to find it out.
Now, I was wondering whether or not there was a way to change the functionality of another button so that it can replace the functionality of the backspace button.
It is not the DEL button. It is the BACKSPACE button [above the Enter button].
I knew that through some binary numbers it is possible to change the functionality of a button. For example, I can change the DEL button in the Number Lock so that instead of working as DEL button or dot, it will work as backspace.
Is it possible?
Another way on Ankit's recommendation:
After installing the AutoHotkey, creating the short script and saving it with .ahk extension, just put the file in the startup folder :) click Start(or windows logo)---All Program---startup folder :) then re-start pc.
If on windows, you may use AutoHotkey, install it, create a file with .ahk extension and put following code in it.
F1::Send {BackSpace} ; Makes the 'F1' key send 'BackSpace' key.
Then run the above script on startup.
More Details for remapping here.

Disable Alt key in Raspbian entirely

I am looking to develop the raspberry pi into something that I would be able to run a free use public web terminal which would be locked to a certain domain. This is for my employer, a township, who wants to set up terminals around the township so that the less fortunate in our community will be able to contact and interact with the various services that the township provides without having to find a way to the Administration center.
I have been able to get most of what I want working, but I want to disable the Alt key on the keyboard. This will stop users from being able to Ctrl+Alt+Del or Alt+F4 out of the browser environment, and various other features of LXDE that smart users could use to break my kiosk (like virtual terminals). I thought that I had found the method to do this, with xmodmap, but when I ran this command
xmodmap -e "keycode 204 = "
Which to my knowledge should set all mappings for the right Alt key to nothing, still lets me Alt+F4 in chromium and other things.
I also attempted to edit my ~/.config/openbox/lxde-rc.xml and change the keyboard bindings in it. I was able to disable the Ctrl+Alt+Del through that, but when I change or erase other key bindings in there, nothing happens. So I'm trying to figure out other options I have to disable the Alt key on this application. Any ideas?
Soo, I actually just answered my own question. Fixing the problem indeed lies in the ~/.config/openbox/lxde-rc.xml file, but I was not doing it right. To set the Ctrl Alt Delete option, you need to change the value between <command></command> to false (or a program that pops up a finger wag to the user).
The problem was, only four or so of the keys entries have a <command> field to them, and all of the other use an <action="whatever"></action> field to define the action that is being performed by the key. I was changing the value of "whatever" to false and was under the impression that would have the same effect as changing the command field.
But really, what you need to do is change the value of "whatever" to "Execute", and then nest a set of <command></command> with a value set to false and it will set the key's mapping to false. I guess there must be a set of default values that are used to override improper changes to the lxde-rc.xml files, and that's why things kept working after removing the entries.

Resources