On 3/5/22 12:53, Carsten Haitzler wrote:
On Sat, 5 Mar 2022 07:18:09 +0100 Pierre Couderc via enlightenment-users
<enlightenment-users@lists.sourceforge.net> said:
Or how should it be saved ?
1- I have a gadget just installed on the desktop, I move it to its final
destination ; e is restarted : the gadget appears in its initial
position instead of its final position.
e saves this out pretty much soon after you move tyhe gadget around (the gadcon
will queue a save and a few seconds later this will get saved out). it goes
into the normal e.cfg file - you can have a look in it. e.g.
vieet ~/.e/e/config/standard/e.cfg config
then look for
group "E_Config_Gadcon" struct {
group "clients" list {
group "E_Config_Gadcon_Client" struct {
value "name" string: "clock";
value "id" string: "clock.8";
value "geom.pos" int: 1298;
value "geom.size" int: 0;
value "geom.res" int: 0;
value "geom.pos_x" double: 0.1238281249999999972244424;
value "geom.pos_y" double: 0.8631944444444444863862032;
value "geom.size_w" double: 0.0699218749999999944488849;
value "geom.size_h" double: 0.0694444444444444475283973;
value "state_info.seq" int: 0;
value "state_info.flags" int: 0;
value "style" string: "plain";
value "orient" int: 0;
value "autoscroll" uchar: 0;
value "resizable" uchar: 0;
}
}
value "name" string: "gadman";
value "id" int: 114;
value "zone" uint: 0;
}
that would be the desktop gadgets for zone 0 (screen 0 - whatever screen is
assigned to zone 0 depending on screen priority). that above is an example of a
clock gadget with a location and size. it certainly writes out the config
perfectly for me all the time (and has done so now for almost decades...)
unless you have a full filesytem or permission problems (and you should start
getting dialogs form e saying it has trouble writing out config then).
After many checks, whenever I move a gadget (pager in this case), then
exit e, I get various positions and sometimes I get :
group "E_Config_Gadcon_Client" struct {
value "name" string: "pager";
value "id" string: "pager.3";
value "geom.pos" int: 954;
value "geom.size" int: 0;
value "geom.res" int: 0;
value "geom.pos_x" double: 0.0000000000000000000000000;
value "geom.pos_y" double: 0.0000000000000000000000000;
value "geom.size_w" double: 0.0145833333333333335646298;
value "geom.size_h" double: 0.0037037037037037038450515;
value "state_info.seq" int: 0;
value "state_info.flags" int: 0;
value "style" string: "inset";
value "orient" int: 0;
value "autoscroll" uchar: 0;
value "resizable" uchar: 0;
}
In most cases, at restart of e, the gadget is not in the last position
before exit enligthenment. The problem occurs on mainly on pager.
In "most" cases, it is repetitive, and I am ready to make tests if it helps.
I use e 0.25.3 from debian team with 2 X screens.
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users