20
submitted 9 months ago by kgrnd@lemmy.world to c/kde@lemmy.kde.social

I'm a newbie and am using kubuntu. I've installed a widget called plasma fancy clock. I rotated the widget on the screen to fit with the wallpaper (brick lines of a tilted wall) but realized that the angle I wanted was between non-rotated and the smallest angle I could rotate. Could someone please give me some advice? Maybe a certain file that I can input the accurate angle into (have been searching but can't find anywhere)?

you are viewing a single comment's thread
view the rest of the comments
[-] spector@lemmy.ca 2 points 9 months ago* (last edited 9 months ago)

The config file in ~/.config/plasma-org.kde.plasma.desktop-appletsrc.

Search for the widget name. I will use org.kde.plasma.analogclock.

On my system this widget has a config section.

[Containments][53][Applets][186]
immutability=1
plugin=org.kde.plasma.analogclock

It is applet 186. Search the string Applet-186 for a section that has entries containing ItemGeometries.

[Containments][53]
ItemGeometries-0x0=Applet-112:1712,48,144,256,0;
ItemGeometries-1280x720=
ItemGeometries-1920x1080=Applet-186:1504,96,304,304,231;
ItemGeometries-1920x1200=
ItemGeometries-3840x2160=
ItemGeometriesHorizontal=Applet-186:1504,96,304,304,231;

The ItemGeometries are the layout of the widget on the desktop. I believe the last five semicolon separated numbers are:

  • x position
  • y position
  • width
  • height
  • rotation in degrees
[-] kgrnd@lemmy.world 1 points 9 months ago

Wow, thanks, I checked and the last number does change when I rotate it with my mouse. But now how can I apply it? I tried changing the number and saving the file but it doesn't work like that.

[-] leopold@lemmy.kde.social 2 points 9 months ago

try restarting your plasma session

[-] kgrnd@lemmy.world 1 points 9 months ago

Tysm! It worked

this post was submitted on 24 Feb 2024
20 points (100.0% liked)

KDE

5391 readers
31 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS