Views:
1,314β
Votes: 2β
Tags:
unity
launcher
unity-dash
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1196247
Title:
Where are error messages of failed application starts?
ID:
/2019/12/15/Where-are-error-messages-of-failed-application-starts_
Created:
December 15, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
This question is probably a duplicate of:
There are two answers there:
- Check the contents of
~/.xsession-errors
log and, - Redirect output when calling command:
command >~/log/command.out.log 2>~/log/command.err.log
Also if the process ID is known look at itβs file descriptor 1
for stdout and 2
for stderr. This is described in detail in Unix & Linux:
To briefly summarize the top-voted answer:
lsof -p1234 | awk '$4 ~ /^[12][^0-9]/'
ls -l /proc/1234/fd/[12]
Of course the most common method is to simply call the GUI from the command line and your terminal window will show warning and error messages:
$ zenity --info --text "Hello World"
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.