This allows both these lines to work:
konsole -e man ls
konsole -e "man ls"
Thanks to Mark Raymond markr raymonds org uk for patch/testing.
CCBUG: 295648
REVIEW: 120001
FIXED-IN: 4.14.2
(cherry picked from commit bd56dba1a9)
This fixes multiple monitor issues - dnd window will be moved to where
user dropped the window.
BUG: 324760
FIXED-IN: 2.13
(cherry picked from commit e6dcc8d6b8)
For now restore this option that was removed for 2.11. This option
is somewhat a hack and abnormal feature. However, it seems a number
of people use it and I can see how it would be useful. So instead of
spending a lot of time right now trying to correct the issues, just
restore the previous code.
Ideally for KDE 5, this portion of the code can be better handled.
35bb9cf9e7
BUG: 320783
FIXED-IN: 2.13#
(cherry picked from commit cfbfb0fd8c)
Conflicts:
src/Application.cpp
If an user had only one profile and accidently puts a non-interactive
program (eg pwd) in the Command section it will start, run command and
then close.
The FALLBACK/ profile is the internal basic profile.
REVIEW: 109558
FIXED-IN: 4.11
Although that looks like a nice feature, it makes the code more
complicated and causes problems when that command is an absolute path
containing spaces.
So for now the only supported way is:
konsole -e command arguments
CCBUG: 295648
This reverts commit aa75fc8fee
Since the menubar and tarbar settings are now global instead of per
profile , those cmdline options are useful to allow users to override
the defautl behavior.
The --hide-menubar and --hide-tabbar options can be used together
to simulate the miminal interface of xterm. I'm not sure whether
--show-menubar and --show-tabbar will be widely used , but add them at
the moment for the sake of completeness.
This avoids the explicit assignment in Application and Part. The result
might look a little strange, but that is basicaly what the old code does
and what that variable intends to be (all capitalized letter)
That reduces the number of calling, and also make the code easier to
debug if something goes wrong with the command
TODO: there is code duplication between class Application and class
SessionController on how to compose and send ssh command based upon a
KUrl using the ssh:// protocol.
Its naming scheme is "/Windows/N", similar to "/Sessions/N" for
sessions. That is not the final decision and might change before next
major release.
The old "/Konsole" dbus object is still available at this moment, but
it might disappear or be used for something different in the future, so
it is better to use "/Windows/N" from now on.
For convenience, $KONSOLE_DBUS_WINDOW can be used to refer to the dbus
object corresponding to the Konsole window containing current session.
Note, that environment variable does not work well with detaching and
draging. Maybe it should not be added at all.
CCBUG:276912
CCBUG:281513
CCBUG:292309
REVIEW:103790