Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting in fullscreen mode #856

Closed
promisedlandt opened this issue Sep 4, 2018 · 14 comments
Closed

Starting in fullscreen mode #856

promisedlandt opened this issue Sep 4, 2018 · 14 comments

Comments

@promisedlandt
Copy link

Hello,

is there a configuration option to start kitty in fullscreen mode? remember_window_size yes starts in the fullscreen size, but the window is not in fullscreen state.

Also, remember_window_size yes is not great for when you change resolutions (e.g. notebook built-in display and external display), since what is fullscreen size for one resolution isn't for another.

@promisedlandt
Copy link
Author

Thank you very much. I thought it was only missing documentation :)

@kovidgoyal
Copy link
Owner

Note that the name of the command line option is changing to --start-as to allow for starting kitty maximized/minimized as well

@mateuszwieloch
Copy link

Is there a way to have kitty start in fullscreen mode right away when I run the application on macOS?
Context: my current workflow is terrible. I start kitty, and then run kitty --start-as=fullscreen to enter fullscreen mode (or use a keyboard shortcut). It would be much better if it could start in fullscreen right away.

@kovidgoyal
Copy link
Owner

https://sw.kovidgoyal.net/kitty/faq.html#how-do-i-specify-command-line-options-for-kitty-on-macos

@mateuszwieloch
Copy link

Thank you! I sent you a few bucks to support building the best terminal emulator yet. Keep up the good job!

@kovidgoyal
Copy link
Owner

Thanks :)

@quantenzitrone
Copy link

how about renaming it to --fullscreeen?
--fullscreen is a rather common option for terminal emulators, as all these terminal emulators implement this interface:
cool-retro-term sakura roxterm foot konsole terminology terminator xfce4-terminal
which is 8/30 terminal emulators for linux i tested

@kovidgoyal
Copy link
Owner

--start-as is far more general than just --fullscreen. Having multiple options that do the same thing is both redundant and confusing for users. Doing that just because some other terminal emulators have the option is not convincing.

@quantenzitrone
Copy link

i understand

@thisismygitrepo
Copy link

What about Linux users? how can they automate --start-as=fullscreen launch command?

@PhilippFeO
Copy link

What about Linux users? how can they automate --start-as=fullscreen launch command?

You can try modifying the .desktop file of kitty. Here is an example for gnome-terminal. A workaround, if this fails, is triggering fullscreen with man wmctrl (it contains examples).

@LinuxIsCool
Copy link

Is there a way to set this in the config file?

@PhilippFeO
Copy link

Is there a way to set this in the config file?

I don't know, but you can search the config file. Binding kitty --start-as=fullscreen to any key might also work.

@ryuheechul
Copy link

Hopefully in the future, there can be a setting like how Alacritty does (as that's is the easier knob than having to add a flag for a GUI app).

# from alacritty.toml
[window]
startup_mode = "Fullscreen"

But in the meantime I fixed my kitty.desktop with Nix (via home-manager) ryuheechul/dotfiles@882945f.

The diff from the link above should give you an idea on how to fix the kitty.desktop directly even if you don't use nix and hopefully this is helpful for people who are not super familiar with modifying .desktop files yet.

Basically just change Exec like below.

# at [your/path/to/]kitty.desktop
- Exec=kitty
+ Exec=kitty --start-as=fullscreen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants