Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-09-15 00:17:33

thinkpadx
Member
Registered: 2020-09-06
Posts: 16

is there a way to remember the position & size of the various windows

in an 'e'based distro there is a way to right click on the top bar of each window and there is a remember area and in that area/menu for the remeber aspect you can save various aspects for each window - i.e. position,size, and other aspects.  is it possible on xfce?

or could a developer possibly add that feature?for my needs it would be great and it would complete xfce for my needs, likes and aeshetical dynamic.  thank you.

Offline

#2 2020-09-15 00:24:09

thinkpadx
Member
Registered: 2020-09-06
Posts: 16

Re: is there a way to remember the position & size of the various windows

p.s. i have used that feature for like 6 years or more and t is so useful.  i like my stuf where i want them and not where they seem to popup all over the place and there are a few windows that i like a certain size too.

Offline

#3 2020-09-15 00:30:11

MrEen
Member
Registered: 2019-04-19
Posts: 244

Re: is there a way to remember the position & size of the various windows

Xfce itself doesn't have this functionality to my knowledge, but a program such as devilspie can do exactly what you want.

Offline

#4 2020-09-15 00:34:40

thinkpadx
Member
Registered: 2020-09-06
Posts: 16

Re: is there a way to remember the position & size of the various windows

thanks will have a look see.

Offline

#5 2020-09-15 00:49:24

thinkpadx
Member
Registered: 2020-09-06
Posts: 16

Re: is there a way to remember the position & size of the various windows

i may be wrong but from what i see and read t is too complicated to setup and use.  hmmmm...

Last edited by thinkpadx (2020-09-16 20:35:57)

Offline

#6 2020-09-15 00:59:50

MrEen
Member
Registered: 2019-04-19
Posts: 244

Re: is there a way to remember the position & size of the various windows

I've never used it myself, so can't help there. But I've seen it successfully recommended several times for issues just like yours.

Offline

#7 2020-09-15 01:16:05

thinkpadx
Member
Registered: 2020-09-06
Posts: 16

Re: is there a way to remember the position & size of the various windows

:-)

Offline

#8 2020-09-15 01:41:05

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,111

Re: is there a way to remember the position & size of the various windows

You can search these forums for "devilspie" and there will be a number of threads that come up talking about it. As an example, I use the following ds file for xfce4-appfinder:

(if (is (application_name) "xfce4-appfinder")
        (begin
		(skip_tasklist)
		(skip_pager)
		(geometry "626x495+38+23")
	)
)

- skip_tasklist = don't show up on windows buttons
- skip_pager = don't show up on the workspace switcher
- geometry... = set the window size to 626x495 and position the top left corner at +38+23

Note that there is now a devilspie2 that uses slightly different syntax (lua) and there is also a gdevilspie application that provides a graphical front-end.

Online

#9 2020-09-15 19:58:19

Magnus B
Member
From: Stockholm, Sweden
Registered: 2019-06-13
Posts: 11
Website

Re: is there a way to remember the position & size of the various windows

Here is my Devilpie2 config file if it can be a start up for you.
It put different apps at different desktops (skrivbord) and maximize all ;-) windows vertically.

debug_print("Application: " .. get_application_name())
debug_print("Window: " .. get_window_name())
debug_print("Window: " .. get_window_geometry());



-- FIREFOX - SKRIVBORD 1
if (get_application_name() == "Firefox") then
  set_window_workspace(1);
--  set_window_geometry(100, 20, 1270, 748);
  maximize_vertically();
end

-- THUNDERBIRD - SKRIVBORD 1
if (get_application_name() == "Thunderbird") then
  set_window_workspace(1);
--  set_window_geometry(0, 20, 650, 748);
  maximize_vertically();
end

-- DELUGE - SKRIVBORD 1
if (get_application_name() == "Deluge") then
  set_window_workspace(1);
  set_window_position(0, 20);
end




-- THUNAR - SKRIVBORD 2
if string.match(get_application_name(), "Thunar") then
  set_window_workspace(2);
  maximize_vertically();
end



-- EMACS - SKRIVBORD 3
if (get_application_name() == "emacs") then
  set_window_workspace(3);
  set_window_position(310, 20);
  maximize_vertically();
end



-- ROOT TERMINAL - SKRIVBORD 4
if (get_window_name() == "Root Terminal -") then
  set_window_workspace(4);
  set_window_position(0, 20);
  maximize_vertically();
end



-- GEEQIE - SKRIVBORD 5
if (get_application_name() == "geeqie") then
  set_window_workspace(5);
  maximize();
end


-- DARKTABLE - SKRIVBORD 5
if (get_application_name() == "darktable") then
  set_window_workspace(5);
  maximize();
end

-- XnCONVERT - SKRIVBORD 5
if (get_application_name() == "XnConvert") then
  set_window_workspace(5);
end

Offline

#10 2020-09-16 10:15:42

Jerry3904
Member
Registered: 2013-11-09
Posts: 811

Re: is there a way to remember the position & size of the various windows

I'm not sure whether gdevilspie is still broken, for Debian Stable at least, which made devilspie very usable. We have a Wiki entry on it that may still be useful if it is working.


MX-19 (based on Debian Stable) with Xfce 4.14.
My little collection: Xfce Tidbits

Offline

#11 2020-09-16 20:37:43

thinkpadx
Member
Registered: 2020-09-06
Posts: 16

Re: is there a way to remember the position & size of the various windows

Thanks everyone.  sorry for the typos.  crippling arthritis makes it tough to type.

Offline

Board footer

Powered by FluxBB