You are not logged in.
I have a script that patches a bunch of xml files with sed in "/usr/share/plasma/plasmoids". This part is OK.
The last 2 lines of the Bash script, restart the Plasma shell and exit the script :
kquitapp5 plasmashell && kstart plasmashell && kstart kwin --replace &
exit
The issues are :
that after running the script, I have to hit Ctrl+C to get back to the command prompt
messages keep on being logged to the terminal window where I ran the script
I get various error/warning message which worry me
In the script, I commented the line that restarts the Plasma Shell for now. I now run the script to patch the files and then execute the Plasma restart from Krunner. But I prefer to run the script and restart the shell in a fire-and-forget manner. Or possibly call Krunner from the script to restart the shell, but this doesn't seem possible.
[twiki@ranger3 5.0.2 ~]# chg-systray
[sudo] password for twiki:
[twiki@ranger3 5.0.2 ~]# kstart(6670) main: Omitting both --window and --windowclass arguments is not recommended
[twiki@ranger3 5.0.2 ~]# kstart(6675) main: Omitting both --window and --windowclass arguments is not recommended
org.kde.plasmaquick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:62:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:53:5: Unable to assign [undefined] to int
trying to show an empty dialog
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Failed to register unity service
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
trying to show an empty dialog
trying to show an empty dialog
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
libkcups: CUPS-Get-Printers last error: 1282 Bad file descriptor
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
libkcups: Get-Jobs last error: 1282 Bad file descriptor
libkcups: Get-Jobs last error: 1282 Bad file descriptor
couldn't load "/usr/lib/qt/plugins/discover-notifier/DiscoverPackageKitNotifier.so" because "Cannot load library /usr/lib/qt/plugins/discover-notifier/DiscoverPackageKitNotifier.so: (libpackagekitqt5.so.1: cannot open shared object file: No such file or directory)"
couldn't load "/usr/lib/qt/plugins/discover-notifier/FlatpakNotifier.so" because "Cannot load library /usr/lib/qt/plugins/discover-notifier/FlatpakNotifier.so: (libflatpak.so.0: cannot open shared object file: No such file or directory)"
couldn't find any notifier backend ("/usr/lib/qt/plugins")
Plasma Shell startup completed
org.kde.plasmaquick: New Applet "Application Launcher" with a weight of 92
org.kde.plasmaquick: New Applet "Digital Clock" with a weight of 0
Both point size and pixel size set. Using pixel size.
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int
org.kde.plasmaquick: New Applet "Audio Volume" with a weight of 0
org.kde.plasmaquick: New Applet "Clipboard" with a weight of 0
org.kde.plasmaquick: New Applet "Device Notifier" with a weight of 0
org.kde.plasmaquick: New Applet "Keyboard Indicator" with a weight of 0
org.kde.plasmaquick: New Applet "Notifications" with a weight of 0
org.kde.plasmaquick: New Applet "Printers" with a weight of 0
org.kde.plasmaquick: New Applet "Updates" with a weight of 0
org.kde.plasmaquick: New Applet "Battery and Brightness" with a weight of 0
org.kde.plasmaquick: New Applet "Networks" with a weight of 0
[twiki@ranger3 5.0.2 ~]# org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor"
org.kde.plasmaquick: Delayed preload of "Application Launcher" after 0.524 seconds
KAStatsFavoritesModel::setFavorites is ignored
KActivities: Database connection: "kactivities_db_resources_139933331605632_readonly"
query_only: QVariant(qlonglong, 1)
journal_mode: QVariant(QString, "wal")
wal_autocheckpoint: QVariant(qlonglong, 100)
synchronous: QVariant(qlonglong, 0)
Closing SQL connection: "kactivities_db_resources_139933331605632_readonly"
trying to show an empty dialog
org.kde.plasmaquick: Applet "Application Launcher" loaded after 86 msec
^C
[twiki@ranger3 5.0.2 ~]#
After hitting Ctrl+C, I still see messages logged to the same terminal window.
[twiki@ranger3 5.0.2 ~]# QObject::startTimer: Timers cannot be started from another thread
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2754, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2779, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2953, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3021, resource id: 79691779, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3044, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3776, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3788, resource id: 79691779, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4397, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4556, resource id: 79691779, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 5976, resource id: 65011718, major code: 142 (Unknown), minor code: 3
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 6473, resource id: 79691779, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 6490, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 7064, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7355, resource id: 79691779, major code: 142 (Unknown), minor code: 3
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
trying to show an empty dialog
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 25645, resource id: 71303169, major code: 142 (Unknown), minor code: 3
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 31169, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 31237, resource id: 81788934, major code: 142 (Unknown), minor code: 3
qml: applet destroyed
qml: applet destroyed
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 31884, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 31956, resource id: 65011718, major code: 142 (Unknown), minor code: 3
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 33921, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 34959, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 35081, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 35205, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 35261, resource id: 71303169, major code: 142 (Unknown), minor code: 3
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 35581, resource id: 65011718, major code: 142 (Unknown), minor code: 3
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 37245, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 40960, resource id: 65011718, major code: 142 (Unknown), minor code: 3
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 41427, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 42563, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 42624, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43519, resource id: 71303232, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 152 (Unknown), sequence: 43520, resource id: 37749020, major code: 143 (Unknown), minor code: 2
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
KActivities: Database connection: "kactivities_db_resources_139933331605632_readonly"
query_only: QVariant(qlonglong, 1)
journal_mode: QVariant(QString, "wal")
wal_autocheckpoint: QVariant(qlonglong, 100)
synchronous: QVariant(qlonglong, 0)
Closing SQL connection: "kactivities_db_resources_139933331605632_readonly"
KActivities: Database connection: "kactivities_db_resources_139933331605632_readonly"
query_only: QVariant(qlonglong, 1)
journal_mode: QVariant(QString, "wal")
wal_autocheckpoint: QVariant(qlonglong, 100)
synchronous: QVariant(qlonglong, 0)
Closing SQL connection: "kactivities_db_resources_139933331605632_readonly"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
org.kde.plasmaquick: Applet "Application Launcher" loaded after 0 msec
org.kde.plasmaquick: Increasing score for "Application Launcher" to 97
(.:14993): Gtk-WARNING **: 20:03:50.917: Unable to locate theme engine in module_path: "adwaita",
(.:14993): Gtk-WARNING **: 20:03:50.931: Unable to locate theme engine in module_path: "adwaita",
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/Alicia-Vikander/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/twiki/Pictures/Wallpapers/BMW-Z4-E89-sDrive35is/Studio Photos - Deep Sea Blue/"
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 57088, resource id: 81788934, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 57097, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 57588, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 57603, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 57695, resource id: 81788934, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 57698, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 58299, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 58439, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 58468, resource id: 81788934, major code: 142 (Unknown), minor code: 3
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 58778, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 58840, resource id: 65011718, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 58908, resource id: 71303169, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 59151, resource id: 81788934, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 59223, resource id: 65011718, major code: 142 (Unknown), minor code: 3
"0 instead of 1 arguments to message {On %1} supplied before conversion."
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 64416, resource id: 81788934, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 152 (Unknown), sequence: 64417, resource id: 37749145, major code: 143 (Unknown), minor code: 2
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_270(0x556ddac24520, parent=0x556dd97302d0, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_270(0x556dda078ec0), which must be a sibling
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
networkmanager-qt: void NetworkManager::ConnectionPrivate::onPropertiesChanged(const QVariantMap&) Unhandled property "Filename"
networkmanager-qt: void NetworkManager::ConnectionPrivate::onPropertiesChanged(const QVariantMap&) Unhandled property "Flags"
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
trying to show an empty dialog
QQmlExpression: Attempted to evaluate an expression in an invalid context
QQmlExpression: Attempted to evaluate an expression in an invalid context
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo"
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor"
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo"
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor"
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo"
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor"
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
Last edited by Twiki (2019-04-04 03:11:38)
Bidi-bidi-bidi-bidi.
Offline
1. I doubt you need to hit Ctrl-C, I suspect hitting Enter would work just as well - or you could even just type a command. You are at a functional shell prompt, but excess information has simply been echoed to the screen which is just your second issue.
2. These messages are echoed to the screen as you haven't directed them anywhere else. Do so by redirecting stdout and stderr.
3. I'm not familiar with plasma, but these could all be normal warnings that you just wouldn't otherwise see because you don't normally launch plasma from an interactive shell. Check your xorg logs or display manager logs, or wherever this output is normally sent to compare.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I have a script that patches a bunch of xml files with sed in "/usr/share/plasma/plasmoids". This part is OK.
The last 2 lines of the Bash script, restart the Plasma shell and exit the script :kquitapp5 plasmashell && kstart plasmashell && kstart kwin --replace & exit
Hi,
/usr/bin/ kstart5
instead of kstart which doesn't exist ?
Offline
1. I doubt you need to hit Ctrl-C, I suspect hitting Enter would work just as well - or you could even just type a command. You are at a functional shell prompt, but excess information has simply been echoed to the screen which is just your second issue.
2. These messages are echoed to the screen as you haven't directed them anywhere else. Do so by redirecting stdout and stderr.
3. I'm not familiar with plasma, but these could all be normal warnings that you just wouldn't otherwise see because you don't normally launch plasma from an interactive shell. Check your xorg logs or display manager logs, or wherever this output is normally sent to compare.
1. Yes you are right. Looks like any key will do. Thanks!
2. Redirecting seems to work. For now the script now ends with the 4 lines below. Thanks!
kquitapp5 plasmashell > ~/kquitapp5_plasmashell.log 2>&1 &
kstart plasmashell > ~/kstart_plasmashell.log 2>&1 &
kstart kwin --replace > ~/kstart_kwin.log 2>&1 &
exit
3. I'll have to look into this. I'll pick a moment when I have some time to kill for that. Because I have no idea where that output would usually go. I meant the following messages, so it is easy to lookup I guess. Output is now saved in 3 log files, with the log file produced for kquitapp5 always being zero length. journalctl -xb --since="2019-04-04 11:28:00" only resulted in me recognising the sed commands (from the script) being executed as root. Possibly because of the redirection.
kstart(4776) main: Omitting both --window and --windowclass arguments is not recommended by the kstart plasmashell command, and kstart(4777) main: Omitting both --window and --windowclass arguments is not recommended by the kstart kwin command. And QObject::startTimer: Timers cannot be started from another thread which was displayed a few times long after the script had finished running (before the change).
Twiki wrote:I have a script that patches a bunch of xml files with sed in "/usr/share/plasma/plasmoids". This part is OK.
The last 2 lines of the Bash script, restart the Plasma shell and exit the script :kquitapp5 plasmashell && kstart plasmashell && kstart kwin --replace & exit
Hi,
/usr/bin/ kstart5
instead of kstart which doesn't exist ?
kstart does exist for me, on all of my boxes. See below what sort of output I get on my box.
This script was started a few years back, and I bumped into it yesterday while cleaning out a backup folder on an unused external drive. I don't know why both are/were installed, and maybe I should use kstart5 going forward. I'll read into it, because I don't know the differences, nor down and upsides between usage of the two (yet). Thanks for pointing this out though.
[bobbybabes@ladyluck 5.0.2 ~]# whereis kstart kstart5
kstart: /usr/bin/kstart
kstart5: /usr/bin/kstart5
[bobbybabes@ladyluck 5.0.2 ~]# ls -lah --time-style=full-iso /usr/bin/kstart /usr/bin/kstart5
-rwxr-xr-x 1 root root 42K 2018-09-07 20:17:41.000000000 +0200 /usr/bin/kstart
-rwxr-xr-x 1 root root 46K 2019-04-02 14:02:02.000000000 +0200 /usr/bin/kstart5
[bobbybabes@ladyluck 5.0.2 ~]#
Mod note: removed image of above text
Last edited by WorMzy (2019-04-04 13:54:48)
Bidi-bidi-bidi-bidi.
Offline
OK, aur/kstart
Offline
OK, aur/kstart
No, not installed from the AUR. I had already checked that before my previous post, that's why I wrote : "I don't know why both are/were installed, .....". Check the screenshot. Also, the kstart package from the AUR is at version 4.2 and was last updated 2017-10-26.
And obviously I can't display reverse dependencies with pacman -Sii kstart and pacman -Qii kstart (or kstart5) because kstart and kstart5 are not packages.
https://i.postimg.cc/QtNCyZW8/kstart-st … aur-20.png
Mod note: replaced image with link
Last edited by WorMzy (2019-04-04 13:54:04)
Bidi-bidi-bidi-bidi.
Offline
Why are you posting images of text? Please don't.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
And obviously I can't display reverse dependencies with pacman -Sii kstart and pacman -Qii kstart (or kstart5) because kstart and kstart5 are not packages.
Correction, obviously you can:
pacman -Qqo /usr/bin/kstart* | pacman -Qi -
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Why are you posting images of text? Please don't.
It proves that the output of the commands (so not code at all) is valid. With text I could have mocked up the output of the commands. But if SEO is more important, so be it. To avoid future issues, I will not post images in this forum anymore at all, of everything. It is what it is, that's the rules here. If this thread had not gone off-topic with "instead of kstart which doesn't exist ?", I wouldn't have been asked about posting images of code and having to justify the reason. But derailing a thread by going off-topic with an untruth is apparently OK, because it is not questioned. Remember, kstart does exist, and in the OP I even wrote that it is causing output to the terminal. Which I want to get rid of. Surely an error message would have been thrown had kstart not existed, or wasn't soft linked to kstart5.
Twiki wrote:And obviously I can't display reverse dependencies with pacman -Sii kstart and pacman -Qii kstart (or kstart5) because kstart and kstart5 are not packages.
Correction, obviously you can:
pacman -Qqo /usr/bin/kstart* | pacman -Qi -
@Trilby thanks for your last post. But I'm leaving this thread for what it is. It has been derailed already and I'm getting burned for posting images because of the derailment.
Rosetta lists just Display packages which require X to be installed, aka show reverse dependencies. pacman -Sii and List all packages which are required for the given package, aka show dependencies. pacman -[S|Q]i. I had to lookup -o, --owns <file>.
Output for your exact command :
[twiki@ranger3 5.0.2 ~]# pacman -Qqo /usr/bin/kstart* | pacman -Qi -
Name : kdebase-runtime
Version : 17.08.3-4
Description : Plugins and applications necessary for the running of KDE applications
Architecture : x86_64
URL : https://www.kde.org/
Licenses : GPL LGPL
Groups : None
Provides : notification-daemon
Depends On : kdelibs smbclient libssh libcanberra oxygen-icons xorg-xauth libwebp exiv2 gpgme
Optional Deps : drkonqi: crash report tool [installed]
khelpcenter: to display applications documentation [installed]
Required By : kdemultimedia-kscd kdewebdev-kfilereplace
Optional For : None
Conflicts With : kdesu4
Replaces : kdesu4
Installed Size : 17,62 MiB
Packager : Unknown Packager
Build Date : vr 07 sep 2018 20:17:41 CEST
Install Date : vr 07 sep 2018 20:22:51 CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : None
Name : kde-cli-tools
Version : 5.15.4-1
Description : Tools based on KDE Frameworks 5 to better interact with the system
Architecture : x86_64
URL : https://www.kde.org/workspaces/plasmadesktop/
Licenses : LGPL
Groups : plasma
Provides : None
Depends On : kdesu kcmutils kinit kactivities
Optional Deps : plasma-workspace: for kcmshell5 [installed]
Required By : partitionmanager plasma-workspace
Optional For : dolphin xdg-utils
Conflicts With : None
Replaces : None
Installed Size : 4,16 MiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : di 02 apr 2019 14:02:02 CEST
Install Date : wo 03 apr 2019 13:07:35 CEST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Name : plasma-workspace
Version : 5.15.4-1
Description : KDE Plasma Workspace
Architecture : x86_64
URL : https://www.kde.org/workspaces/plasmadesktop/
Licenses : LGPL
Groups : plasma
Provides : kuiserver notification-daemon
Depends On : kjsembed knotifyconfig libksysguard ktexteditor libqalculate qt5-tools kde-cli-tools bc xorg-xrdb xorg-xsetroot kactivitymanagerd kholidays xorg-xmessage xorg-xprop milou prison kwin plasma-integration kdelibs4support
Optional Deps : plasma-workspace-wallpapers: additional wallpapers [installed]
gpsd: GPS based geolocation
networkmanager-qt: IP based geolocation [installed]
kdepim-addons: displaying PIM events in the calendar
appmenu-qt4: global menu support for Qt4 applications
appmenu-gtk-module: global menu support for GTK2 and some GTK3 applications
qt5-virtualkeyboard: virtual keyboard support in lock screen
baloo: Baloo search runner [installed]
appstream-qt: package search runner [installed]
Required By : kdeplasma-addons kdeplasma-wallpaperswitch kget khotkeys plasma-nm plasma-pa powerdevil systemsettings
Optional For : kde-cli-tools kde-development-environment-meta
Conflicts With : kuiserver
Replaces : kuiserver
Installed Size : 26,55 MiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : di 02 apr 2019 13:58:47 CEST
Install Date : wo 03 apr 2019 13:07:38 CEST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Output for your command foir kstart only. It looks like it was installed by kdebase-runtime, which in turn was installed as a dependency of another package. : So in fact this whole kstart vs kstart5 that was brought into this thread is just noise. For trying to prove this, I get burned and have to explain myself.
[twiki@ranger3 5.0.2 ~]# pacman -Qqo /usr/bin/kstart | pacman -Qi -
Name : kdebase-runtime
Version : 17.08.3-4
Description : Plugins and applications necessary for the running of KDE applications
Architecture : x86_64
URL : https://www.kde.org/
Licenses : GPL LGPL
Groups : None
Provides : notification-daemon
Depends On : kdelibs smbclient libssh libcanberra oxygen-icons xorg-xauth libwebp exiv2 gpgme
Optional Deps : drkonqi: crash report tool [installed]
khelpcenter: to display applications documentation [installed]
Required By : kdemultimedia-kscd kdewebdev-kfilereplace
Optional For : None
Conflicts With : kdesu4
Replaces : kdesu4
Installed Size : 17,62 MiB
Packager : Unknown Packager
Build Date : vr 07 sep 2018 20:17:41 CEST
Install Date : vr 07 sep 2018 20:22:51 CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : None
Output for your command for kstart5. :
[twiki@ranger3 5.0.2 ~]# pacman -Qqo /usr/bin/kstart5 | pacman -Qi -
Name : kde-cli-tools
Version : 5.15.4-1
Description : Tools based on KDE Frameworks 5 to better interact with the system
Architecture : x86_64
URL : https://www.kde.org/workspaces/plasmadesktop/
Licenses : LGPL
Groups : plasma
Provides : None
Depends On : kdesu kcmutils kinit kactivities
Optional Deps : plasma-workspace: for kcmshell5 [installed]
Required By : partitionmanager plasma-workspace
Optional For : dolphin xdg-utils
Conflicts With : None
Replaces : None
Installed Size : 4,16 MiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : di 02 apr 2019 14:02:02 CEST
Install Date : wo 03 apr 2019 13:07:35 CEST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
[twiki@ranger3 5.0.2 ~]#
Last edited by Twiki (2019-04-04 16:23:11)
Bidi-bidi-bidi-bidi.
Offline
Well it's an old kde4 package that was moved to AUR, if you have a known reason to need it you probably can keep it installed, otherwise you might want to remove it and in general use kstart5 so that you are using the updated version.
However to get this back on track, do you still have an issue with regards to your original question? If the original issue is solved, please mark your topic as such as such: https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline