Assign keyboard layout switch hotkey not listed in the keyboard applet
I found some old tutorial to assign left alt+shift to 1st layout and right alt+shift to 2nd layout. How to adapt it to the modern hal way?
Here it is:
create $XKBROOT/mysym :
partial modifier_keys xkb_symbols "shift_ctrl_1" {
key <LFSH> {
type="PC_BREAK",
symbols[Group1]= [ Shift_L, ISO_First_Group ]
key <RTSH> {
type ="PC_BREAK",
symbols[Group1]= [ Shift_R, ISO_Last_Group ]
key <LCTL> { [ Control_L, ISO_First_Group ] };
key <RCTL> { [ Control_R, ISO_Last_Group ] };
add 1 line to $XKBROOT/rules/xorg (after "! option = symbols"):
! option = symbols
myshiftctrl1 = +mysym(shift_ctrl_1)
add option to xorg.conf :
! option = symbols
Section "InputDevice"
Option "XkbOptions" "myshiftctrl1"
EndSection
Found a temporary solution. Unfortunately It resets other options set in the corresponding gnome applet;
Instead of alt+shift it sets shift+alt to change layout. I tried to swap the key names in 'mysym' file, but it has no effect.
#!/bin/sh
xkbdir="`mktemp -d`" || exit $?
mkdir "$xkbdir/symbols"
cat>"$xkbdir/symbols/mysym" <<EOF
partial modifier_keys xkb_symbols "alt_shift_1" {
key <LALT> {
type="PC_BREAK",
symbols[Group1]= [ Alt_L, ISO_First_Group ]
key <RALT> {
type ="PC_BREAK",
symbols[Group1]= [ Alt_R, ISO_Last_Group ]
key <LFSH> { [ Shift_L, ISO_First_Group ] };
key <RTSH> { [ Shift_R, ISO_Last_Group ] };
EOF
setxkbmap -symbols "pc+us+ru:2+inet(evdev)+mysym(alt_shift_1)" -print | xkbcomp -w0 -I -I"$xkbdir" -I/usr/share/X11/xkb - $DISPLAY && rm -rf "$xkbdir"
Similar Messages
-
Keyboard layout switching does not work if I connect a second keyboard
When I connect an external keyboard (a very ordinary Dell keyboard, no extra keys or something unusual) to my laptop, XFCE keyboard layout switcher disappears from a the and keyboard shortkut meant to switch also does not work. Rebooting with the keyboard initially attached does not help. Any ideas how to fix?
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
Keyboard layout switching does not work properly when set to switch per document
Hello,
I have two input languages (U.S. / Bulgarian - Phonetic) and I am having problems when using the "Automatically switch to a document's input source" option (available in the Input Sources prefs pane).
The problem is that when I switch applications (using CMD + Tab) the input is not changed to the correct one, until an input field in the new application is selected. If I don't manually select an input field, the language will remain whatever it was with the previous application I used. As a consequence, none of my shortcuts work, as they are defined in the U.S language, and not in Bulgarian.Hi,
does this problem appear immediately after buying the machine? Maybe its a good idea to recover the machine, perhaps it could be a software issue.
On the other side it sounds a little bit like a hardware related problem so if the recovery doesnt brought you joy then you should contact a local service partner for help.
Here you can find the nearest ASP in your country (just click on the link and you will find some):
http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=ASP_SUPPORT
Nice weekend
Cheers -
can anyone pls help me with this. plus anbody explain me how this very basic feature that millions of people are using billions of times every day can be that hard to find on a mac?? there is hundreds of posts about this, but nothing for the swiss german keyboard. and apple: can you please make this just that simple and great as all the rest. thank you so much.
Hi Kappy,
well what you are saying is obvious to me. This is not the point for me and not what I wanted to know. But I think you answered my question anyway: OS X is unable to switch between windows of the same application as I mentioned in my example.
WHY NOT???
Every other OS is able to differentiate between windows and not just applications.
Another example: The Mail application and an Email editor window. When you are writing an Email and you want to switch to the main window of the Mail application to read something you must again use the mouse!
I mean Apple seems to be "somehow" using FreeBSD in the background and even in FreeBSD's window manager it is possible to switch between windows of the same application.
Well, in the Apple world it is always the pour user who is not intelligent enough to understand Apple's philosophy ;-(
To me this is not modern, it is simply a weakness of the OS.
Cheers
Quartz84 -
How to disable shortcut keys not listed in the keyboard shortcuts system
Hi all
As a Graphic Designer I find the shortcut Shift+F12 amazingly irritating when using QuarkXpress, as this is the key command for editing the colours list. For those of you who don't know this shortcut works exactly the same as F12 (Hide/Show dashboard but in slow motion.
You may be supprised that I find this of somewhat limited usefulness.
Can anybody help?
TaHi supertottenham
The Shift key is slo-mo for several functions so I doubt if it can be disabled.
However if Dashboard is not one of your priorities there is an app called TinkerTool which enables alterations to several of the built in apps including Dashboard which it stops appearing completely including Shift+F12
It is a freeware download from http://www.bresink.de/
Hope this is of some use
Chris -
Keyboard layout switching not working
i use xfce4 and i created /etc/X11/xorg.conf
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "us, ar"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
but it's not working.
xfce4 has a program called Keyboard in settings menu, i used it it gives the ability to add another language but it doesnt has a switching capability.I don't use keyboard layout switch through xorg.conf because it stops to work sometimes(if i use setxkbmap for example).
So i am using setxkbmap in .xinitrc.
setxkbmap -model pc105 \
-layout "de,ru" \
-variant "basic,phonetic" \
-option -option "grp:sclk_toggle, grp_led:scroll, terminate:ctrl_alt_bksp, caps:none"
and "kbdd" for remembering layout for each window.
Change it to your needs or check the arch wiki about xorg.conf.d . -
[SOLVED] Keyboard layout switching
Hello,
I have a problem with keyboard layout switching key.
Just notice it not working anymore...
here is my key setting in xorg.conf
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "XkbLayout" "us,th"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSectionp
Last edited by xcession (2008-11-05 13:23:57)bender02 wrote:
xcession wrote:EndSectionp
extra p?
Seriously though, it looks fine to me. There's a wiki article http://wiki.archlinux.org/index.php/Con … youts_in_X
I'd try adding
Option "XkbRules" "xorg"
although that could be automatic.
Oops! it's my typo when posting that post...
Added Option "XkbRules" "xorg"
but still doesn't work...:( -
Why are the iPhotos not listed in the finder?
why are the iPhotos not listed in the finder?
There are many, many ways to access your files in iPhoto: You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
(Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
You can access the Library from the New Message Window in Mail:
There's a similar option in Outlook and many, many other apps. If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
If you want to access the files with iPhoto not running:
For users of 10.6 and later: You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu.
Using the Services Preference Pane you can even create a keyboard shortcut for it.
For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
Other options include:
Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
Show File: a. On iPhoto 09 and earlier: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected. 3.b.
b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected. -
A message saying "ethernet has a self assigned IP address and will not connect to the internet" comes up whenever I plug the cable in. Everyone's computers work except for mine work in the house and I have tried different cords and connecting sites.
Please helpOpen System Preferences/Network
Select the Location you use at home
You may need to click the Padlock bottom left at this point if it's locked, enter the admin password to unlock
In the left hand column drag the Ethernet connection to the top of the list and remove any you don't use
Click the Advanced button bottom right
Click the TCP/IP Tab
Set Configure IPv4 to Using DHCP
Click OK bottom right and you should see the Router IP number appear and a unique but similar one for your Mac
Click Ok then click Apply and close the Panel -
Media Encoder CC not listed in the list of app in CC
I'm running Windows 7 Ultimate and I am a Adobe Creative Cloud for Teams member. I'm trying to install the new version of Media Encoder, but when i open Creative Cloud app it is not listed in the long list of apps. I have CS6 and CC installed on my computer.
Can you offer some suggestion how i can download and install this program?
I am trying to convert a mov file to webm and i am hoping Media Encoder CC can do that since I did not see a webM choice in media encoder cs6.
Thanks.Brenadan Bolles (fnordware) has recently posted some beta versions of WebM exporters for Adobe Media Encoder. Details are here:
http://forums.adobe.com/message/5463405#5463405 -
My ipad recognizes my home network but will not connect to the internet. When I click on AirPort/preferences at the top of the imac screen it says..."AirPort has a self-assigned ip address and may not connect to the internet". If this is the root of the problem,how can I change ip address?
Ipad will connect no problem to other networks.First thing you need I think is to get your iMac connected to the Internet.
Shut down your iMac and you iPad. Then power off your router. Wait 30 seconds and power up the router.
After the router indicates that it is connected to the Internet then start up your iMac and see if it connects. If the iMac connects to the Internet then your iPad should too.
If this power up sequence doesn't work you'll have to dig into the router setup to make sure it is working properly. -
I synced several photo albums to my iPad 3 from my computer through iTunes. Now, I would like to remove them and have discovered that they cannot be removed except through using iTunes. Instructions that I've read say that once the device is connected to and selected from the list in iTunes, select the Photo Tab and then the folder that contains the photos etc. I never get that far because I do not have a Photo Tab to select in iTunes. How do I find this illusive tab so that I can delete these albums that are merely duplications of other pictures and are just occupying space. I need to get rid of them. Can anyone help me find the photo tab. I cannot move past that step until I do. Also, my device is not listed on the left side as stated in the instructions. It's in the bar on the upper right area of my screen and is automatically selected when connected. I am using the current version 11.1 for iTunes and IOS 7 on my iPad 3, if that helps.
I have the same problem on the latest iTunes software and Windows 7. My window is maximzed and I do not see any tab for photos. Seems related to a recent update (IOS7?) as this was there - at least before the very big change to the interface.
-
My country is not listed in the Mac app store and iTunes?
My country is not listed in the Mac app store or iTunes. and yes ive tried putting in false information like 'I live in the USA, NY' but whenever i try buying something it says "Your credit card information does not match your banks records, Please enter a US billing card.. and such. Because of this i have no choice but to use what you call 'pirated' applications. Any help fellow mac users?
Sorry, but it's Apple's policy...
"Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
The Complete Guide to Using the iTunes Store | iLounge Article -
I recently downloaded my digital copy of titanic and from the itunes extras screen I push play and nothing happens. The movie is not listed, only the itunes extra is listed in the list. How do I repair?
I have the same problem on the latest iTunes software and Windows 7. My window is maximzed and I do not see any tab for photos. Seems related to a recent update (IOS7?) as this was there - at least before the very big change to the interface.
-
Provider Hosted App not listed in the App Part or Web Part
What I have done:
I have created developer site collection
in office 365
I have created a provider app in visual
studio, modified appmanifest.xml with the client id, client issue (from developer site) and provided targeted domain
I have deployed web application from the
visual studio into Azure it can be accessible default page
I have published App project into Azure
What I tried:
I have confiured app catalog in the SP 2013
office 365 developer site Central Admin where I can register my apps
I have registered my appfile in the catalog
site collection
I have created another site collection with
team site template and added the app there
I created a web part page and wanted to
insert this app as a web pat in the page it is not appearing/coming in the app part to insert
What I wanted now:
I wanted to insert this app in the site
web part page of any SharePoint 2013 site collection
App
part listed in the Site Content but it is not listed in the web part page " Web part or App Part" containers to insert...
Am I missing something? any one encountered same issue? Any help appreciated.
Regs,
MadhuHi Madhu,
Once you deploy your App, The App will get deployed to the App web rather host web. That is reason you will not be able to find the app either in App part or webpart section of host web.
http://msdn.microsoft.com/en-us/library/fp179925.aspx#IsolatedDomain
My Blog- http://www.sharepoint-journey.com| Twitter
If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful
Maybe you are looking for
-
How can I delete files that are waiting to be downloaded? I no longer want them and they won't all fit.
-
[SOLVED] Can't figure out why 403 forbidden on local machine
OK so this is bound to be something very simple, but I have come to the stage whereby I cannot see the forest for the trees as they say. I have just installed a fresh LAMP setup on my local machine for development. - Browsing to localhost/test.php an
-
Create a Loolup field with PowerShell but Change the Default Display field
Hi I am creating the a load of site columns with PowerShell. In the case of a Lookup Column I want to ensure that a the the industry column is checked programmatically. $myField.LookupList = $spLookupList.ID $myField.LookupField = $LookUpmyField.Int
-
Can't buy after effects after I bought Creative Cloud Photography plan Student and Teacher Edition
Why I can't buy After Effects after I bought Creative Cloud Photography plan Student and Teacher Edition?
-
Weird swap space problem??
what does this mean? Mar 12 11:02:20 sol10vmware tmpfs: [ID 518458 kern.warning] WARNING: /etc/svc/volatile: File system full, swap space limit exceeded df -k reveals that swap is only 1% full # df -k* Filesystem kbytes used avail capacity Mounted on