The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Open a program in floating mode, just once.

asked Oct 21 '13

npostavs gravatar image

Sometimes when I'm trouble shooting some program it's better to have it in floating mode because that's the more "standard" environment. Is there a simple way to execute a program in floating mode just for a single execution?

Comments

Sorry, I put my answer here originally, by mistake,

KJ44 gravatar imageKJ44 (Oct 23 '13)edit

2 answers

Sort by » oldest newest most voted
0

answered Oct 21 '13

npostavs gravatar image

The application I had in mind happens to be Emacs; I found a solution that works for this case at least.

In ~/.config/i3/config:

for_window [title="^floatme$"] floating enable

Then to get a floating Emacs, run:

emacs -Q -T floatme

It would be nice to have a solution that didn't rely on the application being able to set its title though.

Comments

You can use [Class="Emacs"] instead; use the cli tool xprops to find out information about your open applications' windows.

msx gravatar imagemsx (May 8 '15)edit
0

answered Oct 23 '13

KJ44 gravatar image

There's a keybinding to toggle a window between tiling and floating modes and one to move focus between tiling and floating windows,

Comments

What is the keybinding?

qed gravatar imageqed (Nov 10 '13)edit

Mod1 + Shift + Space I believe is the default

jrichter gravatar imagejrichter (Dec 7 '13)edit

Question Tools

Stats

Asked: Oct 21 '13

Seen: 2,016 times

Last updated: Oct 23 '13