<div>Gwenview's errors can probably be safely ignored. Many applications are distributed in a way to meet everyone's use case, hence many features go unused - and generally unnoticed, until ran from a terminal :-) If output needs to be quieted, definitely use redirects to /dev/null.</div>
<div> </div>
<div>Gwenview has been around since 2006, back in the KDE3 days. Who knows how much code is left over and dangling, unused and no longer needed?</div>
<div> </div>
<div>Also, Joe, check out some general stuff on process management - nohup, fg, bg, etc. - it's useful stuff.</div>
<div> </div>
<div>sean<br><br></div>
<div class="gmail_quote">On Tue, Jan 29, 2013 at 2:57 PM, der.hans <span dir="ltr"><<a href="mailto:PLUGd@lufthans.com" target="_blank">PLUGd@lufthans.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Am 29. Jan, 2013 schwätzte <a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a> so:<br><br>
moin moin,
<div class="im"><br><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Recently, Brian explained that I could add 2>/dev/null after a<br>command to eliminate the display of errors that occurs when I just<br>
type gwenview filename.jpg.<br><br>gwenview filename.jpg 2>/dev/null<br><br>Thanks Brian. That is very helpful.<br><br>But I would still like to know what might be done to stop all the<br>error messages that the system generates when I just type gwenview<br>
filename.jpg (as shown below).<br></blockquote><br></div>I just ran a test with gwenview. It just spits out junk :(.<br><br>I didn't get the nepomuk errors, but I did get some debug notices.<br><br>gwenview(29917)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with<br>
KXMLGUIFactory! gwenview(29917)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with<br>KXMLGUIFactory! gwenview(29917) Gwenview::ViewMainPagePrivate:<u></u>:setCurrentView: No index<br>found for current view<br>
<br>It would be nice if it ran more cleanly.
<div class="im"><br><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Also, is there some additional option I could add to the example<br>script above that would cause the terminal window to close and leave<br>
gwenview open? As it is now, the terminal remains open and if I<br>close it, gwenview also closes.<br></blockquote><br></div>Put an '&' at the end to run the command in the background, then you can<br>close the terminal.<br>
<br>gwenview filename.jpg 2>/dev/null &<br><br>This will also work for within a script if you want the script to move on<br>directly after launching gwenview.<br><br>Alternatively, you can use <alt>-<F2> to bring up a launcher and put your<br>
command in that.<br><br>gwenview *png<br><br>That will run gwenview disassociated from a terminal, so there is no<br>terminal to close and there is no terminal to recieve the debug messages.<br><br>ciao,<br><br>der.hans
<div class="HOEnZb">
<div class="h5"><br><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Of course, I can open gwenview from the menu to avoid the terminal<br>window, but it would be helpful to be able to execute commands in<br>
terminal (and create scripts for certain tasks) that I could execute<br>without leaving a terminal open.<br><br><br>-------------------<br>$ gwenview test.jpg<br>"/usr/bin/gwenview(24601)" Soprano:<br>"org.freedesktop.DBus.Error.<u></u>ServiceUnknown - The name<br>
org.kde.nepomuk.services.<u></u>nepomukstorage was not provided by any<br>.service files"<br>"/usr/bin/gwenview(24601)" Soprano: "QLocalSocket::<u></u>connectToServer:<br>Invalid name"<br>"/usr/bin/gwenview(24601)" Soprano:<br>
"org.freedesktop.DBus.Error.<u></u>ServiceUnknown - The name<br>org.kde.nepomuk.services.<u></u>nepomukstorage was not provided by any<br>.service files"<br>"/usr/bin/gwenview(24601)" Soprano: "QLocalSocket::<u></u>connectToServer:<br>
Invalid name"<br>"/usr/bin/gwenview(24601)" Soprano:<br>"org.freedesktop.DBus.Error.<u></u>ServiceUnknown - The name<br>org.kde.nepomuk.services.<u></u>nepomukstorage was not provided by any<br>.service files"<br>
"/usr/bin/gwenview(24601)" Soprano: "QLocalSocket::<u></u>connectToServer:<br>Invalid name"<br>"/usr/bin/gwenview(24601)" Soprano:<br>"org.freedesktop.DBus.Error.<u></u>ServiceUnknown - The name<br>
org.kde.nepomuk.services.<u></u>nepomukstorage was not provided by any<br>.service files"<br>"/usr/bin/gwenview(24601)" Soprano: "QLocalSocket::<u></u>connectToServer:<br>Invalid name"<br>QInotifyFileSystemWatcherEngin<u></u>e::addPaths: inotify_add_watch failed:<br>
No such file or directory<br>QFileSystemWatcher: failed to add paths: /home/joe/.config/ibus/bus<br>"/usr/bin/gwenview(24601)" Soprano:<br>"org.freedesktop.DBus.Error.<u></u>ServiceUnknown - The name<br>org.kde.nepomuk.services.<u></u>nepomukstorage was not provided by any<br>
.service files"<br>"/usr/bin/gwenview(24601)" Soprano: "QLocalSocket::<u></u>connectToServer:<br>Invalid name"<br>gwenview(24601)/kdeui (kdelibs): Attempt to use QAction "edit_redo"<br>with KXMLGUIFactory!<br>
gwenview(24601)/kdeui (kdelibs): Attempt to use QAction "edit_undo"<br>with KXMLGUIFactory!<br>gwenview(24601) Gwenview::ViewMainPagePrivate:<u></u>:setCurrentView: No<br>index found for current view<br>gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not within<br>
range (0 - 19<br>gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not within<br>range (0 - 19<br>gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not within<br>range (0 - 19<br>gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not within<br>
range (0 - 19<br><br><br><br>------------------------------<u></u>---------------------<br>PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br><a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br><br></blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">-- <br># <a href="http://www.lufthans.com/" target="_blank">http://www.LuftHans.com/</a> <a href="http://www.lufthans.com/Classes/" target="_blank">http://www.LuftHans.com/<u></u>Classes/</a><br>
# When in doubt, choose the interesting. -- der.hans</font></span><br>---------------------------------------------------<br>PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br><a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote>
</div><br>