Is there a way to make google chrome (running under ubuntu) open fullscreen by default?

24
2014-04
  • David Zureick-Brown

    Is there a way to make google chrome open fullscreen by default? Also, is there a hotkey to make it fullscreen?

  • Answers
  • Darren Hall

    From the source file itself.

    // Start the browser maximized, regardless of any previous settings.
    const char kStartMaximized[]                = "start-maximized";
    

    Try --start-maximized?

    The bug filed regarding F11 fullscreen not working with GTK is marked fixed, and checked in 5 weeks ago. Not sure how old your version of Chrome is, or whether you're using trunk builds.

  • Ivo Flipse

    I don't think it's in there yet.

    I checked the keyboard shortcuts for Google Chrome and while there is one for Windows, there isn't one for Linux...

    There is a feature request for the so called 'kiosk mode' on Google Code

  • Eric Wendelin

    I recommend using Compiz's Window Rules to make apps start Maximized. I haven't done with Chrome specifically, but I'd say it's very likely to work.

  • Andrew

    You can start chromium on Ubuntu 11.04 in kiosk mode (fullscreen) with

    chromium-browser --kiosk http://www.google.com
    

    It also has a hotkey mapped to F11


  • Related Question

    In google chrome, using ubuntu, is there any way to map a single key to close tabs?
  • Kzqai

    I use way too many tabs, and use ctrl-w to close tabs so much that it's bad for my wrists in a carpel tunnel way. Is there any way to map closing of tabs to a single key (e.g. the escape key) to avoid that?

    Using native key remapping or some google chrome extension?

    Edit: Clarification, I'm aware that a single key necessarily will overlap some functionality, but I don't see a way around it because using the dynamic multi-key combinations causes twisted hand positions that exacerbate carpel tunnel. I explicitly don't need the "stop this tab from loading" functionality, at least not in the form of the key, since I can click the icon.

    I'm looking for a solution simple enough that it will replace my muscle memory impulse to use ctrl-w, since that has turned out to be so bad on my hands, preferably without leaving home row, since that is when I habitually try to use ctrl-w.

    When I'm actually using a full fledged mouse, the "middle-click-tab-to-close" works well enough, but on a trackpad, using the keyboard for this continually necessary task is preferable.

    Update: Tried the keyboard shortcuts extension here: https://chrome.google.com/extensions/detail/mgjjeipcdnnjhgodgjpfkffcejoljijf but I couldn't find any single keys results that worked.


  • Related Answers
  • 8088

    I'd suggest using Mouse Gestures (via an extension) instead

    In example you could use the following gesture to close tabs:

    alt text

    And you even get to add your own gestures if you want:

    alt text

  • Josh K

    I wouldn't recommend it. Single key commands would work if you also weren't required to type also. For example, in Photoshop single key commands are only disabled while in text mode, but that's it.

    I think you'd find it hard to use or difficult to implement correctly. For example, what happens when you hit the Esc key to escape out of a dialog? Should it close the tab, close the dialog, both?

    My recommendation is find a mouse or other peripheral that allows you to map key strokes to a key, and use a middle click to issue the Ctrl+W command. I'm not sure what options are available on Ubuntu, but most Logitech mice have options for Windows and OS X.

  • davr

    How about use "Sticky Keys" or whatever Ubuntu calls its equivalent? Should be under your "control panel", look for something that mentions "Accessibility". Basically it lets you press "ctrl+w" as two different keystrokes. So press & release "ctrl", then press & release "w", and it sends "ctrl+w" to the application.

  • Bruce Connor

    With the app Autokey you can map any frase or key combination to other key strokes. That way you could map the C key to ctrl-W, so every time you press C, you'll get Ctrl-W instead. You can also set a condition so that it only works while chrome is the active window, so it won't affect the berravior of other applications. The app's interface is pretty intuitive, you should take a look.