This forum has been archived. All content is frozen. Please use KDE Discuss instead.

editing widget sizes and positions by coordinates

Tags: None
(comma "," separated)
User avatar
nitrofurano
Registered Member
Posts
8
Karma
0
OS
Hi!

Is there some way to resize and position plasma widgets by coordinates instead to do it by hand?

at http://img4.imageshack.us/img4/609/plas ... izefy0.jpg i tried to adjust launcher icons by hand unsuccessfully

I also tried to edit '~/.kde/share/config/plasma-appletsrc' unsuccessfully (i indeed found the applet values and coordinates)

[Containments][1][Applets][17]
geometry=0,774,24,24
immutability=1
plugin=simplelauncher
zvalue=39

[Containments][1][Applets][20]
geometry=32,774,24,24
immutability=1
plugin=launcher
zvalue=36

as well, i'm not very fan of the default Plasma panel widget, since it's too large and too unconfigurable... (it's seen on the screenshot i'm not using it)

about this issue of widget sizes and positions, would be great if, by right click, we can edit these values, as well by option, being possible to align them or having the snapped to a grid

thanks in advance
User avatar
sebas
KDE Developer
Posts
88
Karma
2
OS
Why would you want to do this?

Honestly, I cannot imagine any other reason than "cannot sleep when the panel is 41 pixels high instead of 40" -- and I doubt that that is a use case we want to support.

Also, when you edit the coordinates by hand, they're quite likely to be changed by Plasma as the panel has a layout managing the positions of the individual applets.

My advice: don't edit the config files by hand.

What alignment are you talking about? If at all, it should probably be done automatically. We don't want the users to have to do that by hand. As to the sizing, the panel is fully configurable (in KDE 4.2 at least), so try that first, please.

The screenshot you're linking looks totally broken, by the way. That might explain why you want to change things. Try to get your setup fixed instead.

Last edited by sebas on Sun Feb 08, 2009 9:14 pm, edited 1 time in total.


-- sebas
User avatar
nitrofurano
Registered Member
Posts
8
Karma
0
OS
i think maybe i'm a special situation of 'power user' - i used to enjoy stuff like widgets aligned with each other (just like when you align shapes on inkscape), or having them snapped into a grid (maybe easier to implement, since even MacOS-classic 7.1 at early 90's had it)

I'm even missing some way to position and resize a widget by a command line, this would be really cool, and maybe not that hard to implement - for me it's very comfortable having this kind of access to there, beyond doing that by hand

my suggestion would be, doing right-click on the widget, we being able to set them on the Application Launcher Menu Settings or somewhere else alike

and after edited the config file by hand, i did a 'killall plasma' before, expecting these values edited by hand would be assumed on the next running time, and it didn't, since now these values i edited remains as i set there, and nothing changed at all, which in my humble coding knowledge, i saw it somehow weird...

about the screenshot, i'm not having it plenty of widgets, only these two were there (i'm assuming the broken you mean the screenshot itself, and not its url?)

Yes, as well, i'm still using KDE 4.1 (i'm ubuntu 8.10 (updated) user, which used to delay largelly the last KDE version, and installing .deb from 9.04 beta is a bit risky because dependencies and other unstability issues)

thank you! =)
User avatar
sebas
KDE Developer
Posts
88
Karma
2
OS
Just use the packages for Intrepid then, they're on kubuntu.org

As to your other issues, I'd suggest you try the current version first and then reassess. Judging from your post, your knowledge and findings are probably largely outdated.

The kind of usecase you're talking about sounds like you want to write a custom containment yourself. That makes it possible to determine everything as "broken" as you want ;-)


-- sebas
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS
sebas wrote:My advice: don't edit the config files by hand.


Add to that: unless absolutely necessary. Sometimes because you need/want an undocumented feature (i.e. map activity to virtual desktop). And sometimes to fix something (i.e. removing a widget that absolutely refuses to be removed, or rather stay removed, the normal way. Has happened to me a few times all the way from 4.0.0 up to 4.2.0. A lot less frequent the higher the version number is though).

Apart from that, I too would like the "snap the widgets into a grid". By the GUI preferably...and if there is such an option somewhere already, where is it hidden?


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar
nitrofurano
Registered Member
Posts
8
Karma
0
OS
@sebas: installed... and how can i tell which version i have installed now? (like from a command line '-v' issue?) - anyway, i think kwin is not running anymore, and from that kubuntu.com i had difficulty on adding that signature string - from 'sudo apt-get update' i got:
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 60487016493B3065

@Kryten2X4B: anyway, good would be if we can edit this grid size as well, and being easy to enable/disable it
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Code: Select all
plasma --version


Regarding the GPG Error: probably a temporary outage of the server(s) that Apt checks. Should be fixed by now.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
nitrofurano
Registered Member
Posts
8
Karma
0
OS
@bcooksley:
Qt: 4.4.3
KDE: 4.2.00 (KDE 4.2.0)
Plasma Workspace: 0.3
guest@macbook:~/Documents$
thanks! =)

@sebas: finallly i could fix some conflicting packages which lacked me on installing 4.2 from kubuntu.org correctly - finally it's done, and working as expected! thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]