kb

View the Project on GitHub smcnally/kb

devilspie2 - Overview

Overview

“Always on Visible Workspace” (#AoVW) is a desktop environment feature that’s handy for organizing workspaces by task, topic, context. Not all applications adhere to this AoVW. AoVW doesn’t always persist across Suspend/Resume and never persists across logouts and re-starts. #devilspie2 (dp2) addresses these AoVW issues and creates other useful possibilities.

Approach

vanadium’s answer recommending dp2.

The devilspie2 repo on gh.

dp2 config directives / functions

stick_window(); addresses the AoVW issues I set out to solve.

These made other useful possibilities straightforward

What I got

e.g.

-- brain.fm and Pomodoro Logger AoVW at set window size even if off-screen 

if (string.match(get_window_name(), "brain.fm")) then
    stick_window(); // **AoVW**
    set_window_size (400, 400);
end

if (string.match(get_window_name(), "Pomodoro Logger")) then
    stick_window();
    set_window_size (850, 600);
end

-- Terminal, Okular AoVW - by application or window name  

if (get_application_name() == "Terminal") then
    stick_window();
end

if (string.match(get_window_name(), "Okular")) then
    stick_window();
end

Lessons Learned

#dePrio #rePrio #reallocate

TODO: [[devilspie2 - II]]