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 2013-10-21 23:40:28 +0000

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?

edit retag flag offensive close merge delete

Comments

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

KJ44 gravatar imageKJ44 ( 2013-10-23 21:45:27 +0000 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-10-21 23:59:49 +0000

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.

edit flag offensive delete link more

Comments

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

msx gravatar imagemsx ( 2015-05-08 12:19:39 +0000 )edit
0

answered 2013-10-23 21:46:59 +0000

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,

edit flag offensive delete link more

Comments

What is the keybinding?

qed gravatar imageqed ( 2013-11-10 14:26:14 +0000 )edit

Mod1 + Shift + Space I believe is the default

jrichter gravatar imagejrichter ( 2013-12-07 23:44:09 +0000 )edit

Question Tools

Stats

Asked: 2013-10-21 23:40:28 +0000

Seen: 2,016 times

Last updated: Oct 23 '13