How do I prevent bluetooth from reconnecting the keyboard?

A strange question I admit, but here's the deal: 
I need to disable my keyboard overnight (no, don't ask why  ), and the power button doesn't seem to work.  It does turn the keyboard off, but after a bit, pressing any key will turn it back on again.
So I next thought of disconnecting bluetooth for the keyboard using the menu command. Just like the power switch, bluetooth reconnects itself after a few seconds.  I can't turn off bluetooth altogether of course, as then I'd lose all control of my Mac.
As things are now, I have to shut down my iMac completely overnight, and I hate that.  Isn't there a way to get bluetooth disconnected for the keyboard (and remain connected to the mouse), until I use the menu command again in the morning?
If not, is there another way to disable the keyboard?  Why did Apple design the power switch to work only temporarily?
Thanks for your help!

So simple and yet so non-obvious, that I should have to hold a button for some time!
Thanks so much!

Similar Messages

  • How do I prevent Mail from Zipping the attachment?

    When I send a .pages file by e-mail, Mail zips the file to .pages.zip.
    The network software at this University blocks .zip. How do I prevent Mail from zipping the file? I tried turning off the "send windows-friendly", but but still zips.

    Assuming this is iWork '08 or earlier, the "documents" are actually packages. A package is really a folder hierarchy. A folder cannot be emailed unless it is archived somehow. Mail does this automatically; most other email programs would be incapable of sending a bare Pages document at all.
    You could use some other non-blocked archive format, like tar or StuffIt. Or maybe you could rename it so that the mail servers don't recognize it as zip. You would have to instruct your recipient to rename it back. I understand that iWork '09 archives documents by default, although they are not named .zip, so that should be no longer an issue.

  • How do I prevent Firefox from "cycling" the tabs?

    How can I prevent Firefox from cycling the tabs?
    I like my tabs where they are. I have a good memory. If a tab is at the left, I want it to stay at the left. I do not want firefox to move the activated tab around, under any circumstance. Where there's code in the Chrome to make a tab move without the user dragging it, I want an option to prevent this from ever ocurring. Movement of tabs is very disorienting. I am not talking about scrolling. I am talking about when there are 6 tabs open and the rightmost 5 keep changing places without user interaction.

    You can check the home page setting.
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    If you do not keep changes the you can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved

  • How do I prevent Premiere from placing the scratch disk onto the 'same as project" folder

    I start a project by resetting the default scratch disc settings from “same as project” (which is on my “G” drive) to another hard drive where I have always stored defaults on CS3 (the “D” drive). I never had to redo my scratch disks when I created a new project in CS3. Now I need to redo them every time. If I open an older project in CS5 it automatically places all scratch disk files onto the G drive. How do I prevent Premiere from placing all scratch disk information onto the G drive before I open an older file? By the time I get around to changing the location, Premiere has already begun saving scratch disk information on the wrong disk.
    However I have another related problem. When I import an older project to nest it in a new project, the scratch discs mysteriously change back from the D drive where I set it up to the “G” drive. I finally discovered this when I reopen the project and all previews disappeared and it had defaulted back to the G drive.

    Thanks. Now I know that anytime I import a CS3 project file into a CS5 project, that it will change the whole project scratch disk settings to the default without warning. 
    One wouldn’t think that just one imported file would change the whole overall project file (out of many imported files…not project files that do not); it is odd that Premiere changes the setting of the new overall Cs5 project without warning.

  • How can i prevent mail from downloading the same messages over and over again?

    is there any way to prevent Mail from downloading the same messages over and over again? Mail has a minimum of "50 recent messages" to download, but i hate having to delete them every time i check for new mail! why doesn't the program remember if you have already downloaded a message, and suppress any subsequent downloads???

    Same issue since Mavericks.

  • How can I prevent Firefox from opening the file I create when I print a page with PDF Create! 5

    After I print a web page using PDF Create! 5, Firefox opens the file so i can view it. Before I print, I select print properties and disable "view resulting pdf". However, the file is always opened in Adobe Acrobat, although I believe I have Adobe Reader set as default. I do not want any file to open. This happens on my non-privileged accounts. On my privileged account, the file is not opened. I have removed Firefox profiles, re-installed Firefox, Reset Firefox in Help-Troubleshooting. PDF Create!5 print screen can only be viewed in a host program such as Firefox, Libre-office Writer, or any other program that prints. They do not open the file either.

    Thanks for your help. This is the Scansoft (Nuance) program. What I do not understand is why when I tell the print driver not to open the file with a privileged account, it obeys me. I am not sure where in the registry I would look for the information. I do not want to, but perhaps I should remove the Adobe Acrobat program (temporarily?) - then what would it do? Again, when I print from other programs - browsers, wordprocessors, etc - the file is not opened after printing, just with FireFox. I guess I can live with it, I have spent too much time already.

  • How can I prevent iTunes from downloading the last podcast when I subscribe?

    When I subscribe to a podcast RSS feed iTunes instantly begins to downoad the last podcast in the feed. This is in spite of the Podcast Settings default being set to Do Nothing. I have installed many versions of iTunes and they all did it so the answer cannot be to reinstall.

    Same issue since Mavericks.

  • How do I stop flash from hijacking the keyboard?

    It's pretty annoying that I can't navigate the page while watching an embedded YouTube video, there must be an add-on or a setting to change.

    When the Flash plug-in is running, it steals focus from Firefox. To return focus to Firefox, click an empty area of the web page. At that point, the usual keyboard shortcuts should work again.
    The developers are aware of this issue.
    * https://wiki.mozilla.org/Firefox/Features/Plugin_keyboard_focus

  • How to Stop Firefox 18 From Restoring the Previous Session After a Crash

    Firefox 18.0.1 running on Windows 7
    When Firefox crashes, the next time it opens it tries to restore the previous session. I do not want Firefox to restore the previous session after a crash. How do I prevent Firefox from restoring the previous session after a crash?
    Please note:
    1- My home page is set to "blank page"
    2- I have configured Firefox to NOT remember my browsing history, download history, form fields and passwords.
    3- Even in Safe Mode (i.e., with all add-ons disabled), Firefox STILL restores the previous session after a crash.

    hello Bulldogger, please try the following in order to switch off sessionrestore completely: enter '''about:config''' into the firefox location bar (confirm the info message in case it shows up) & search for the preferences named '''browser.sessionstore.max_tabs_undo''' and '''browser.sessionstore.max_windows_undo'''. double-click on those entries and change both of their values to '''0'''.
    http://kb.mozillazine.org/Browser.sessionstore.max_tabs_undo
    http://kb.mozillazine.org/Browser.sessionstore.max_windows_undo

  • I am sharing a apple id acount with my family but when i synced my phone to the computer it erased all of my imformation and put the other phone's imformation on it. I was wondering how I can prevent this from happening?

    I am sharing a apple id acount with my family but when I synced my iphone to the computer it erased all of my imformation and put the other phone's imformation on it. I was wondering how I can prevent this from happening?

    If the ringtones are on the old device just plug it in and do a transfer of purchases then they will be on the computer to sync to the new device.

  • My child accidentally rented a movie on Apple TV.  Is there a way to refund the rental if we don't watch it?  How can I prevent this from happening?  Is there a way to password protect future purchases?

    My child accidentally rented a movie on Apple TV.  Is there a way to refund the rental if we don't watch it? 
    How can I prevent this from happening?  Is there a way to password protect future purchases?

    Did you try Parental Controls?
    Apple TV: Understanding Restrictions (parental controls) - Apple Support
    See if that does the trick: I think there's a way for you to request a password for purchases, but still be logged in.

  • Firefox connects to google-analytics for some sites, and then gets stuck, and I can never get onto the site. How do I prevent Firefox from connecting to google-analytics? I use XP with service pak 3 in English

    Firefox connects to google-analytics for some sites,when i click on links in websites or emails and then gets stuck, and I can never get onto the site. Or opens a new bower behind the one i'm usind that's blank i don't even know it's there untill i close the one i'm using. How do I prevent Firefox from connecting to google-analytics? Or opening a blank bowser behind the one i'm using. I use XP with service pak 3 in English
    == This happened ==
    A few times a week
    == a couple months ago

    I got the same issue.
    I go on a website and all the sudden another window pops up with "results.google-analytics.com" or "search.google-analytics.com". It has often ads for other sites for example. black single dating site
    how can I can I stop that from happening again?
    I didn't download or do anything, just visit websites, that I visit on a regular basis.
    OS: Windows XP
    Firefox Version: 3.6.6

  • How can i prevent iphoto from opening when i plug in my iphone to the computer?

    Hi There,
    I have  a question, when I connect my iPhone to the computer the iPhoto automatically opens.
    how can i prevent this from happening? it always slows down my computer.
    any help will be appreciated.
    thanks

    Image Capture (in your Applications Folder) - In the preferences you can decide to 'Do Nothing' when a camera is connected.
    Some versions also have this option in the iPhoto Preferences.
    Regards
    TD

  • How can we prevent JTabbedPanes from transferring focus to components outside of the tabs during tab traversal?

    Hi,
    I noticed a strange focus traversal behavior of JTabbedPane.
    During tab traversal (when the user's intention is just to switch between tabs), the focus is transferred to a component outside of the tabs (if there is a component after/below the JTabbedPane component), if using Java 6. For example, if using the SSCCE below...
    import java.awt.BorderLayout;
    import java.awt.event.FocusAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    public class TabbedPaneTest extends JPanel {
        public TabbedPaneTest() {
            super(new BorderLayout());
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.addTab("Tab 1", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            tabbedPane.addTab("Tab 2", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.addTab("Tab 3", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(2, KeyEvent.VK_3);
            tabbedPane.addTab("Tab 4", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(3, KeyEvent.VK_4);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(tabbedPane);
            JButton button = new JButton("Dummy component that gains focus when switching tabs");
            panel.add(button, BorderLayout.SOUTH);
             * To replicate the focus traversal issue, please follow these steps -
             * 1) Run this program in Java 6; and then
             * 2) Click on a child component inside any tab; and then
             * 3) Click on any other tab (or use the mnemonic keys ALT + 1 to ALT 4).
            button.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    System.err.println("Gained focus (not supposed to when just switching tabs).");
            add(new JScrollPane(panel));
        private JPanel buildPanelWithChildComponents() {
            JPanel panel = new JPanel();
            BoxLayout boxlayout = new BoxLayout(panel, BoxLayout.PAGE_AXIS);
            panel.setLayout(boxlayout);
            panel.add(Box.createVerticalStrut(3));
            for (int i = 0; i < 4; i++) {
                panel.add(new JTextField(10));
                panel.add(Box.createVerticalStrut(3));
            return panel;
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    JFrame frame = new JFrame("Test for Java 6");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.add(new TabbedPaneTest());
                    frame.pack();
                    frame.setVisible(true);
    ... Then we can replicate this behavior by following these steps:
    1) Run the program in Java 6; and then
    2) Click on a child component in any of the tabs; and then
    3) Click on any other tab (or use the mnemonic keys 'ALT + 1' to 'ALT + 4').
    At step 3 (upon selecting any other tab), the focus would go to the component below the JTabbedPane first (hence the printed message in the console), before actually going to the selected tab.
    This does not occur in Java 7, so I'm assuming it is a bug that is fixed. And I know that Oracle suggests that we should use Java 7 nowadays.
    The problem is: We need to stick to Java 6 for a certain application. So I'm looking for a way to fix this issue for all our JTabbedPane components while using Java 6.
    So, is there a way to prevent JTabbedPanes from passing the focus to components outside of the tabs during tab traversal (e.g. when users are just switching between tabs), in Java 6?
    Note: I've read the release notes between Java 6u45 to Java 7u15, but I was unable to find any changes related to the JTabbedPane component. So any pointers on this would be deeply appreciated.
    Regards,
    James

    Hi Kleopatra,
    Thanks for the reply.
    Please allow me to clarify first: Actually the problem is not that the child components (inside tabs) get focused before the selected tab. The problem is: the component outside of the tabs gets focused before the selected tab. For example, the JButton in the SSCCE posted above gets focused when users switch between tabs, despite the fact that the JButton is not a child component of the JTabbedPane.
    It is important for me to prevent this behavior because it causes a usability issue for forms with 'auto-scrolling' features.
    What I mean by 'auto-scrolling' here is: a feature where the form automatically scrolls down to show the current focused component (if the component is not already visible). This is a usability improvement for long forms with scroll bars (which saves the users' effort of manually scrolling down just to see the focused component).
    To see this feature in action, please run the SSCCE below, and keep pressing the 'Tab' key (the scroll pane will follow the focused component automatically):
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.event.FocusAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.JViewport;
    import javax.swing.SwingUtilities;
    public class TabbedPaneAutoScrollTest extends JPanel {
        private AutoScrollFocusHandler autoScrollFocusHandler;
        public TabbedPaneAutoScrollTest() {
            super(new BorderLayout());
            autoScrollFocusHandler = new AutoScrollFocusHandler();
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.addTab("Tab 1", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            tabbedPane.addTab("Tab 2", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.addTab("Tab 3", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(2, KeyEvent.VK_3);
            tabbedPane.addTab("Tab 4", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(3, KeyEvent.VK_4);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(tabbedPane);
            JButton button = new JButton("Dummy component that gains focus when switching tabs");
            panel.add(button, BorderLayout.SOUTH);
             * To replicate the focus traversal issue, please follow these steps -
             * 1) Run this program in Java 6; and then
             * 2) Click on a child component inside any tab; and then
             * 3) Click on any other tab (or use the mnemonic keys ALT + 1 to ALT 4).
            button.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    System.err.println("Gained focus (not supposed to when just switching tabs).");
            button.addFocusListener(autoScrollFocusHandler);
            JScrollPane scrollPane = new JScrollPane(panel);
            add(scrollPane);
            autoScrollFocusHandler.setScrollPane(scrollPane);
        private JPanel buildPanelWithChildComponents(int numberOfChildComponents) {
            final JPanel panel = new JPanel(new GridBagLayout());
            final String labelPrefix = "Dummy Field ";
            final Insets labelInsets = new Insets(5, 5, 5, 5);
            final Insets textFieldInsets = new Insets(5, 0, 5, 0);
            final GridBagConstraints gridBagConstraints = new GridBagConstraints();
            JTextField textField;
            for (int i = 0; i < numberOfChildComponents; i++) {
                gridBagConstraints.insets = labelInsets;
                gridBagConstraints.gridx = 1;
                gridBagConstraints.gridy = i;
                panel.add(new JLabel(labelPrefix + (i + 1)), gridBagConstraints);
                gridBagConstraints.insets = textFieldInsets;
                gridBagConstraints.gridx = 2;
                textField = new JTextField(22);
                panel.add(textField, gridBagConstraints);
                textField.addFocusListener(autoScrollFocusHandler);
            return panel;
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    JFrame frame = new JFrame("Test for Java 6 with auto-scrolling");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.add(new TabbedPaneAutoScrollTest());
                    frame.setSize(400, 300);
                    frame.setVisible(true);
    * Crude but simple example for auto-scrolling to focused components.
    * Note: We don't actually use FocusListeners for this feature,
    *       but this is short enough to demonstrate how it behaves.
    class AutoScrollFocusHandler extends FocusAdapter {
        private JViewport viewport;
        private JComponent view;
        public void setScrollPane(JScrollPane scrollPane) {
            viewport = scrollPane.getViewport();
            view = (JComponent) viewport.getView();
        @Override
        public void focusGained(FocusEvent event) {
            Component component = (Component) event.getSource();
            view.scrollRectToVisible(SwingUtilities.convertRectangle(component.getParent(),
                    component.getBounds(), view));
    Now, while the focus is still within the tab contents, try to switch to any other tab (e.g. by clicking on the tab headers, or by using the mnemonic keys 'ALT + 1' to 'ALT + 4')...
    ... then you'll notice the following usability issue:
    1) JRE 1.6 causes the focus to transfer to the JButton (which is outside of the tabs entirely) first; then
    2) In response to the JButton gaining focus, the 'auto-scrolling' feature scrolls down to the bottom of the form, to show the JButton. At this point, the tab headers are hidden from view since there are many child components; then
    3) JRE 1.6 transfers the focus to the tab contents; then
    4) The 'auto-scrolling' feature scrolls up to the selected tab's contents, but the tab header itself is still hidden from view (as a side effect of the behavior above); then
    5) Users are forced to manually scroll up to see the tab headers whenever they are just switching between tabs.
    In short, the tab headers will be hidden when users switch tabs, due to the Java 6 behavior posted above.
    That is why it is important for me to prevent the behavior in my first post above (so that it won't cause usability issues when we apply the 'auto-scrolling' feature to our forms).
    Best Regards,
    James

  • How do I prevent itunes from moving my music from its original place ie folders in an external drive when I play music from itunes. I have all my music in artist folders and separated by MPG3/MPG4 and FLAC folder within the artist folder.

    How do I prevent itunes from moving my music from its original place ie folders in an external drive when I play music from itunes. I have all my music in artist folders and separated by MPG3/MPG4 and FLAC folders within the artist folder and itunes moves the track/s whenever i try and load selected music to my ipod/iphone. I've tried to find some sort of preference to prevent this, but no joy? What am I missing?

    Try opening iTunes preferences. Then click on advanced tab. Then uncheck "Copy files to iTunes media folder when adding to library." By default, iTunes copies music to its own media folder when you use iTunes to play the music.

Maybe you are looking for

  • Adobe bridge cs6 unable to open picture and camera raw

    it will crash when open the file. can't use camera raw. I use window 7

  • Paragraph Format being lost

    Hi there I'm working on an FAPI client to translate text in Frame Documents. One of the first things we do is store the formatting for each paragraph, and then write it back out to the translated document. However, in one document I'm working on, whe

  • How to add -Select- as the first value in dropdownbox?

    Hi All, I am having a dropdownbox with the set of values. I need to add -SELECT- as the first and default value. Please do advise how to achieve this. Code and screenshot below. var oModel = new sap.ui.model.odata.ODataModel("../../services/admin/typ

  • Configuring user specified alerts using solution manager

    We are having SolutionManager 4.0 with sp 12. We configurred alerts for different production systems which are in the landscape.Right Now We have special requirent for our R/3 Producton system. We need to setup alert for monitoring of avg response ti

  • Transport for DB connect datasource

    Hi I have a query for DB connect datasources. I have created datasources for ORACLE quality system in SAP BI DEV. If I transported all the objects from SAP  DEV to SAP prod directly is there be any problem? Or I need to create the same datasource als