[konsole] [Bug 480083] New: Cannot script konsole using dbus

FirstAirBender bugzilla_noreply at kde.org
Sat Jan 20 04:10:57 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=480083

            Bug ID: 480083
           Summary: Cannot script konsole using dbus
    Classification: Applications
           Product: konsole
           Version: 23.08.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: noblechuk5 at web.de
  Target Milestone: ---

SUMMARY
***
According to https://docs.kde.org/stable5/en/konsole/konsole/scripting.html, we
should be able to manage some aspects of konsole from the commandline. One
thing I've been trying to accomplish is profile switching. Say I have a profile
named Foobar.profile, I can't switch the current session profile using:

```
qdbus $KONSOLE_DBUS_SERVICE $KONSOLE_DBUS_SESSION
org.kde.konsole.Session.setProfile Foobar
```

The only thing the above does is to changes the profile for yakuake.
***

STEPS TO REPRODUCE
1. Create a profile in konsole called Foobar
2. Type the command qdbus $KONSOLE_DBUS_SERVICE $KONSOLE_DBUS_SESSION
org.kde.konsole.Session.setProfile Foobar
3. 

OBSERVED RESULT
No changes in the current konsole session

EXPECTED RESULT
Konsole session should switch to the new profile

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list