gwenview filename.jpg > /dev/null 2>&1 &


On Tue, Jan 29, 2013 at 3:02 PM, <joe@actionline.com> wrote:

Thanks James, but that didn't work for me (or I didn't do it right).
The terminal still stayed open.

>> /dev/null 2>&1
>
> Probably
>
>
> On Tue, Jan 29, 2013 at 2:56 PM, <joe@actionline.com> wrote:
>
>>
>> Recently, Brian explained that I could add 2>/dev/null after a
>> command to eliminate the display of errors that occurs when I just
>> type gwenview filename.jpg.
>>
>> gwenview filename.jpg 2>/dev/null
>>
>> Thanks Brian. That is very helpful.
>>
>> But I would still like to know what might be done to stop all the
>> error messages that the system generates when I just type gwenview
>> filename.jpg (as shown below).
>>
>> Also, is there some additional option I could add to the example
>> script above that would cause the terminal window to close and
>> leave
>> gwenview open?  As it is now, the terminal remains open and if I
>> close it, gwenview also closes.
>>
>> Of course, I can open gwenview from the menu to avoid the terminal
>> window, but it would be helpful to be able to execute commands in
>> terminal (and create scripts for certain tasks) that I could
>> execute
>> without leaving a terminal open.
>>
>>
>> -------------------
>> $ gwenview test.jpg
>> "/usr/bin/gwenview(24601)" Soprano:
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name
>> org.kde.nepomuk.services.nepomukstorage was not provided by any
>> .service files"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "QLocalSocket::connectToServer:
>> Invalid name"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name
>> org.kde.nepomuk.services.nepomukstorage was not provided by any
>> .service files"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "QLocalSocket::connectToServer:
>> Invalid name"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name
>> org.kde.nepomuk.services.nepomukstorage was not provided by any
>> .service files"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "QLocalSocket::connectToServer:
>> Invalid name"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name
>> org.kde.nepomuk.services.nepomukstorage was not provided by any
>> .service files"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "QLocalSocket::connectToServer:
>> Invalid name"
>> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch
>> failed:
>> No such file or directory
>> QFileSystemWatcher: failed to add paths:
>> /home/joe/.config/ibus/bus
>> "/usr/bin/gwenview(24601)" Soprano:
>> "org.freedesktop.DBus.Error.ServiceUnknown - The name
>> org.kde.nepomuk.services.nepomukstorage was not provided by any
>> .service files"
>> "/usr/bin/gwenview(24601)" Soprano:
>> "QLocalSocket::connectToServer:
>> Invalid name"
>> gwenview(24601)/kdeui (kdelibs): Attempt to use QAction
>> "edit_redo"
>> with KXMLGUIFactory!
>> gwenview(24601)/kdeui (kdelibs): Attempt to use QAction
>> "edit_undo"
>> with KXMLGUIFactory!
>> gwenview(24601) Gwenview::ViewMainPagePrivate::setCurrentView: No
>> index found for current view
>> gwenview(24601) KXMLGUI::ActionList::plug: Index  20  is not
>> within
>> range (0 -  19
>> gwenview(24601) KXMLGUI::ActionList::plug: Index  20  is not
>> within
>> range (0 -  19
>> gwenview(24601) KXMLGUI::ActionList::plug: Index  20  is not
>> within
>> range (0 -  19
>> gwenview(24601) KXMLGUI::ActionList::plug: Index  20  is not
>> within
>> range (0 -  19
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
>


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
James McPhee
jmcphe@gmail.com