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)?

  • @spector@lemmy.ca
    link
    fedilink
    2
    edit-2
    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.worldOP
      link
      fedilink
      19 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.