2022-07-27
Search And Switch To Window By Title

windows

yal

access and search windows

access files, programs, bookmarks, search engines

macos

finda

find windows, browser tabs, code editor buffers, browser history, apps, files

linux

kupfer plugin window list

use xdotool and wmctrl

Window List command (wmctrl):

1
2
3
4
5
$ wmctrl -lx
0x0540043e 0 google-chrome.Google-chrome ubunzeus Search for window title? - Ask Ubuntu - Google Chrome
0x050000ec 0 Mail.Thunderbird ubunzeus Inbox - Mozilla Thunderbird
0x04e1068d 0 gnome-terminal-server.Gnome-terminal ubunzeus ljames@ubunzeus: ~

Command to switch to specific window (xdotool)

1
2
$ xdotool windowactivate 0x0540043e

The above command will switch to the Windows with the ID 0x0540043e, which is specific from the list for this Askubuntu message entry.

They are both in the repository:

1
2
$ sudo apt install wmctrl xdotool

Read More

2022-07-27
Linux Restore Window Sessions

to relaunch app in given workspace

tools:

wmctrl

devilspie

launch_on_workspace

references:

https://unix.stackexchange.com/questions/27050/how-to-start-an-application-on-a-different-workspace

https://askubuntu.com/questions/89946/open-application-in-specific-workspace

npm install -g linux-window-session-manager

restore session manually

dconf-editor

org.gnome.gnome-session

auto-save-session -> on

Read More