<div dir="ltr">gwenview filename.jpg > /dev/null 2>&1 &</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 3:02 PM, <span dir="ltr"><<a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Thanks James, but that didn't work for me (or I didn't do it right).<br>
The terminal still stayed open.<br>
<div class="HOEnZb"><div class="h5"><br>
>> /dev/null 2>&1<br>
><br>
> Probably<br>
><br>
><br>
> On Tue, Jan 29, 2013 at 2:56 PM, <<a href="mailto:joe@actionline.com">joe@actionline.com</a>> wrote:<br>
><br>
>><br>
>> 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>
>><br>
>> Also, is there some additional option I could add to the example<br>
>> script above that would cause the terminal window to close and<br>
>> leave<br>
>> gwenview open? As it is now, the terminal remains open and if I<br>
>> close it, gwenview also closes.<br>
>><br>
>> 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<br>
>> 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.ServiceUnknown - The name<br>
>> org.kde.nepomuk.services.nepomukstorage was not provided by any<br>
>> .service files"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "QLocalSocket::connectToServer:<br>
>> Invalid name"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name<br>
>> org.kde.nepomuk.services.nepomukstorage was not provided by any<br>
>> .service files"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "QLocalSocket::connectToServer:<br>
>> Invalid name"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name<br>
>> org.kde.nepomuk.services.nepomukstorage was not provided by any<br>
>> .service files"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "QLocalSocket::connectToServer:<br>
>> Invalid name"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name<br>
>> org.kde.nepomuk.services.nepomukstorage was not provided by any<br>
>> .service files"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "QLocalSocket::connectToServer:<br>
>> Invalid name"<br>
>> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch<br>
>> failed:<br>
>> No such file or directory<br>
>> QFileSystemWatcher: failed to add paths:<br>
>> /home/joe/.config/ibus/bus<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name<br>
>> org.kde.nepomuk.services.nepomukstorage was not provided by any<br>
>> .service files"<br>
>> "/usr/bin/gwenview(24601)" Soprano:<br>
>> "QLocalSocket::connectToServer:<br>
>> Invalid name"<br>
>> gwenview(24601)/kdeui (kdelibs): Attempt to use QAction<br>
>> "edit_redo"<br>
>> with KXMLGUIFactory!<br>
>> gwenview(24601)/kdeui (kdelibs): Attempt to use QAction<br>
>> "edit_undo"<br>
>> with KXMLGUIFactory!<br>
>> gwenview(24601) Gwenview::ViewMainPagePrivate::setCurrentView: No<br>
>> index found for current view<br>
>> gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not<br>
>> within<br>
>> range (0 - 19<br>
>> gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not<br>
>> within<br>
>> range (0 - 19<br>
>> gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not<br>
>> within<br>
>> range (0 - 19<br>
>> gwenview(24601) KXMLGUI::ActionList::plug: Index 20 is not<br>
>> within<br>
>> range (0 - 19<br>
>><br>
>><br>
>><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>
>><br>
><br>
><br>
><br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>James McPhee<br><a href="mailto:jmcphe@gmail.com">jmcphe@gmail.com</a>
</div>