I have no list of my keybinds and it scares me
Guys, one thing that has been bothering me for a long time towards the quest of the "perfect setup"...
The feeling that I do not really "know" my system.. I have no overview of all keybinds of my entire system and just the thought of trying to create a big list sounds like a big time consumer.
As you know, there are different "layers" that intercept keybinds:
- kernel: sysrq combo's and probably more
- init: ctrl-alt-del, maybe more
- xorg: ctrl-alt-backspace, maybe more
- wm: probably the one thing my mind is at ease about as the wmii's and awesomes out there only respond to the keys I tell 'em to
- apps: many different apps, reacting to many different shortcuts. some apps don't even need to have focus in X to intercept your keybinds (eg yeahconsole)
I would love to have just a long list of all keycombo's that are intercepted on my system, and at which layer, and by which app. (and what it does, of course). It would make me much more productive. And, without such a thing, how can i confidently define my own keybinds in my WM?
Am I the only one feeling like this? Not having this information seems ridiculous to me, all hackers out there use the keyboard pretty much constantly.
Wouldn't it be awesome if all software (including kernel) would ship a file (or generate it on demand, because it can differ depending on your config) in a standardized format? Then you could create a "master index" (with different views, depending on which apps are started and which have focus)
This is the only way to restore my sanity, I think.
I've spent a good chunk of time hacking on this in all sorts of different places. The layers I'm currently using are:
In /etc/rc.local, I have:
loadkeys -q /etc/keymaps/personal.map
where that file is one I created based on "man keymaps", "showkey -k" and "dumpkeys". The keybindings defined here are operative in Linux consoles. One of the keysyms bindable here is "Boot", that's by default bound to ctrl-alt-Delete I think (this format calls Delete "Remove", by the way).
My /etc/acpi/handler.sh takes care of handling the power button, lid close, and so on.
I compile my own version of xkeyboard-config, and modify some of the files to include my own X keybindings. Some of what I do there would also be doable using xmodmap, but not all of it. If xmodmap works for you, it's easier to just use that. I end up defining my own XKbOptions, so that in the same way you can say:
Option "XKbOptions" "ctrl:nocaps,compose:menu"
you can also say:
Option "XKbOptions" "my:extra_modifier_types,my:all_keys"
(EDIT: forgot to insert my ~/.awesome/rc.lua keybindings at this point.)
The next level is the terminal emulator. In the Linux console, there's nothing at this level. On the X side, I've got my set of custom keybindings for urxvt. I define these in ~/.config/app-defaults/URxvt. You could also define them in ~/.config/Xresources.
I try to arrange it so that my shell sessions see the same terminal input whether it's coming from keys I type in the Linux console->the shell, or it's coming from keys I type in X -> urxvt -> the shell.
You may want to throw a level of screen or tmux keybindings in there too.
Next there's your shell keybindings. I use bash/readline and the bindings are in ~/.inputrc. See "man readline."
For ncurses-based apps, it's useful to coordinate your terminfo definitions with what you've customized the keyboard to actually do. For instance, I've got this useless PrintScreen key on my laptop. I've bound it so that plain PrintScreen = an Undo key, and shift + PrintScreen = a Redo key. I made my own terminfo files (one an overlay on top of the linux terminfo definition for the console, the other an overlay on top of the rxvt-unicode termino definition), and have my ~/.bashrc set up to export the corresponding TERM. This makes some things easier; for some apps I can just say I want "Undo" to do such and such, instead of saying I want "escape-[#$R$$#@##@@!" to do that.
Now, finally, after all these layers, there are the app keybindings. I've got custom bindings for mutt, elinks, less, newsbeuter, vim, Firefox, and so on...
Yeah it's a lot of work. But I'm sure a lot less work than trying to get all the different dev groups to coordinate on a single standard or API.
Feel free to email me if you've got questions about any of these levels. Anyone who promises to document their efforts will get more help more quickly. :-)
Last edited by Profjim (2010-04-08 18:34:26)
Similar Messages
-
Only way I have found to fix it is to completely uninstall and then reinstall it. edit
What do you see instead (click TOOLS if needed)?
-
I have a list of page URLs - I want a report showing their SiteCatalyst Page Names
I have a list of page URLs and I want to generate their respective page names. Is this possible? I have access to SiteCatalyst 15 and Discover 3.1.
I want to end up with this table:
Page URL
Page Name
www.example.com/page1
Page 1
www.example.com/page2
Page 2You want to do this within CQ ? If yes then you can use pagemanager API to get page http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/Page.html#getName() name and JCR API to get path http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Item.html#getPath()
To get absolute URL you can also use externilizer service http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/commons/Externalizer.html#absolut eLink(org.apache.sling.api.SlingHttpServletRequest, java.lang.String, java.lang.String)
Yogesh -
I have a new Toshiba Thrive tablet and do not see it on the list of tested, supported, or unsupported devices. Will Firefox work on my tablet?
You should be able to find Firefox by searching for it in the Android market on the device.
-
My MacBook Pro was stolen last night. I need the serial number. It is not showing up on my devices list. My iPads and iPhones are. I have used it to to sync my phones and pads as well having it registered with apple. Any thoughts? Thanks
Click here: https://supportprofile.apple.com/MySupportProfile.do
SIgn in with your Apple ID, the same one you used to access this support forum.
Hopefully, you will see a list of all the devices you registered with your Apple ID, including their serial numbers. Let me know how this works out.
Edit to add: If you enabled "find my imac" on your Pro, you ought to be able to remotely lock it, or even wipe its memory. Click http://www.icloud.com/ sign in with your Apple ID and click the big green "find my iPhone" icon (nevermind the name, it will find all your devices provided they're running Lion or iOS 5).
Then file a police report and nail the b*****d. -
After updating to Mavericks, I have been unable to update iphoto, and when I attempt to, it says that These apps were already assigned to another Apple ID, and they will be available in that Apple ID's Purchases list. But no other appleID has ever been used on my computer, how could this be resolved?
Contact App Store support. There's a link on the right hand side of the App Store Window. They're the only ones who can sort out account issues.
-
how to get reading list in my all my devices and computer (window 7). i have installed ios 6 on iphone and icloud control panel on both PC's (home and office) but i dont get updated reading list on all my devices.
Hi bluegrandpanash,
Thanks for visiting Apple Support Communities.
If you backed up your iPhone to iCloud before updating the software, first try the steps under "Restore from an iCloud backup" in this article to recover your data:
iOS: Back up and restore your iOS device with iCloud or iTunes
http://support.apple.com/kb/HT1766
Best Regards,
Jeremy -
I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list. I've confirmed the mac address is included on that list and that the password is correct. Under choses netwrok I select the network and it just goes into a spin. I have tried removing the password and the access list settings and it still will not complete the connection to the router thus no internet access. The routers firmware is also up to date. This thing worked fine before this update and I've already tried to restore from backup. Any ideas or is the wifi nic bad in this thing with the new apple firmware update? Any fix?
Thanks Bob, I don't know why but it all of a sudden worked a few days later. It's a mystery but at least problem solved.
-
Ipod classic has been wiped saying 'no music'etc.
Cannot see it on the 'device list' in my itunes. I have tried restoring to factory settings and reloading...it reloads some of the music, but when I plug the Ipod back in, it wipes it again. Ocassionally Itunes freezes when I plug in the Ipod.Make sure your headphones are plugged in all the way, meaning you cannot see any of the silver still showing from the headphone's plug.
A feature of the Nano is to put it to sleep when the display goes out and it does not detect any headphones.
B-rock -
I have a Iphone 4, upgraded to ios 5 with itunes 10.5 Since doing upgarde to both Itunes and Iphone I am not able to add individual songs from my itunes library to my Iphone. I get a grey listing of the song and the sync symbo but it is not moving. Nothing appears on my phone screen. So not able to add music to my phone and its driving me nuts.....
iOS 7 requires iTunes 11.1.
-
I have just got a iPad yesterday and I'm having a problem
I have just bought a tv series in iTunes and downloaded it on to my iPad but every time I go to watch it it comes up (could not load movie) then takes me back to the episode list ? Can you tell me how to solve this problem pleaseHave a look at the following:
http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1 -
I downloaded the 30 day free trial of Photoshop on 9/11, but have not been able to open it, or even find it on my computer. I do have the Adobe Create Cloud icon, and when I click it it list PS as downloaded and lets me access tutorials, but that is all.
Please let me know how to open and use PS.
Homer GuyHi Homerguy,
If you are using Mac, please open the finder window click on go and choose applications and try to launch Photoshop from there.
If windows, please navigate to C:\Program Files\Adobe\Adobe Photoshop CC 2014 and double click on the Photoshop.exe file.
Thanks -
Is there any way to have a COMPLETE list of all samples and loops ( Logic 8
I'm sure it's been posted previously, but anyway, I'm looking to buy new Apple Loops libraries and I have faced the fact , that many of the sounds and loops produced by third parties manufacturers have been already included in Logic installation discs.
I have a list of Apple Loops DVD's that have been included with Logic somewhere, the problem is, Apple didn't post ( I believe) the credits of all 3rd party manufacturers that have produced these libraries that are included with Logic or Garage band. Is there any way to have a COMPLETE list of all samples and loops that are included with Apple DAW's so I wouldn't duplicate anything ? I'm pretty much positive that Apple had other companies to sound design and sample all libraries for them, so is there also a way to have a list of those manufacturers? Again, the objection is to start upgrading the sound library without any possible duplication?
Thanks in advance!Chris, I certainly don't mind additional questions and postings.
I believe there are many issues with Apple Loops and Logic that need to be resolved and people need to be aware of that. Unfortunately, in opposite to the old "german" version of Logic , there's no lifetime tech support, you can't even call and ask the question after 60 days , which isn't right for a professional software of this level, especially considering the fact that many things still remain vague in Logic even for developers and tech support people!( believe me, I've called and asked!)
Issues like that need to be resolved over the phone with the company, period!
One thing I also learned over the years as a Mac OSX user, if something doesn't work, don't mess with it. Delete your drive and re-install everything. This is very frustrating , I know, but unfortunately this is the only way to deal with OSX issues, if you got a problem with your system, don't try to fix it. It's never gonna be the same again. I know , it's off the topic a little bit, but if your content is missing from the system files, before installing your new Logic, back up your important files, wipe up your drive and clean install Mac OSX , run updates and then install the Logic. Most likely , everything will be in it's place, at least 90% or more. I gave up trying to make two system in my house to be compatible 100% , but it's OK if they're 90% or more identical. I spent enormous amount of time trying to find out what's missing and where, I visited most of the forums and there's no clean answer.
Message was edited by: Moderator -
When I connect my iPod touch to my computer, I have a list of Events on my iTunes-iPod-Photos. I want to erase these Events. However, the photos are NOT on my MacBook Air-iPhoto. When I check one of the Events and then hit Apply, the photos appear on my iPod. And one last thing: When I connect the iPod and open iPhoto, iPhoto tries to load New Photos (I think), but nothing happens. Any ideas?
Resolved.
-
I was pestered to death by Firefox to upgrade to 12.0. I am really sorry I did. I lost all my Security Exceptions. Tools > Options > Security > Exceptions All of my previous security exceptions disappeared when I upgraded Firefox. They are gone and I have NO list of what they were. Is there ant way to bring them back?
The security exceptions that allow other sites to install software?
Which version did you have before -- 3.6.x or Firefox 11?
I don't know whether you regularly back up your computer, but if you have a backup of your Firefox profile folder, then that data should be in there. If you can locate a backup copy of permissions.sqlite, you could use a utility to extract the list. (Or find a volunteer here to assist you with that.)
By the way, did your pop-up exceptions and image exceptions carry over? You can check those under Tools > Options > Content.
Maybe you are looking for
-
Since iTunes started to sell the delux versons of the show i can no longer find, or view, my purchased items from iCloud, or even the purchased section of iTunes. I'ts a good thing i downloaded them, thought the pilot episode is only in SD rather the
-
Skype for Business - Is it Ready for Business?
Hello Support, We are evaluating Skype as a potential main solution for all our telephony systems. We currently see many issues in the Gui Client and whole management proposal from our perspective. Not sure how others have dealt with it. With all res
-
Hello there, basically, as the title says: We have a Document Library on a Sharepoint 2013. Attached to every document are multiple columns, the type for every column is 'Single line of text'. One column is called 'billing date' and has suitable data
-
GRC 10.0 - how to upload secondary approvers
hi all, In my company we have 2 role approvers for each role. Any one of them can approve. We were able to successfully upload 1 role approver but 2nd we have to manually maintain going to each and every role, one at a time in GRC, which seems time c
-
Recently I had a report that quit refreshing, it didn't quite indicate why, so I deleted the document, re-added it and now am trying to enable it in Power BI. I've tried deleting and re-adding it several times. I've enabled other reports, and they