Announcement

Collapse
No announcement yet.

Activities through terminal - required components

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Activities through terminal - required components

    Hi, I'm looking for what components I need to install in order to create, manage and configure activities through terminal. Apparently everything is there already if I wanted to do it through GUI, but I need to do it through terminal specifically and some components are missing.
    My goal is to create a script that:
    - at the beginning has a table of variables
    - allows me to create X amount of activities with their names, in the order they are written in table of variables
    - set activity-specific wallpapers on them as specified by paths to image files written in table of variables
    - create activity-specific folders in directory specified in table of variables
    - link desktops in the activities to those folders so each activity has separate files on desktop

    What components do I need to install to be able to manage activities this way with terminal? I tried qdbus-qt5 but it didn't work

    #2
    you can start with `qdbus org.kde.ActivityManager /ActivityManager`

    to see what options are available to you

    for instance to list the current activities you can use

    `qdbus org.kde.ActivityManager /ActivityManager/Activities ListActivities​`

    and to set the current activity

    `qdbus org.kde.ActivityManager /ActivityManager/Activities SetCurrentActivity $GUID​`

    you can also use `kactivities-cli --list-activities​`

    kactivities-cli --help

    seems to have a lot options

    Comment

    Users Viewing This Topic

    Collapse

    There are 0 users viewing this topic.

    Working...
    X