On Mar 16, 2018 2:33 AM, Janne Johansson <icepic...@gmail.com> wrote: > > 2018-03-16 6:04 GMT+01:00 Z Ero <zerotetrat...@gmail.com>: > > > Hello, > > > > Two quick questions that may be basic but I never learned to solve yet > > since they are not necessary for my work. Solving them would just make > > my user experience a little better. > > > > 1. Is there a way to eliminate core dumps from crashed applications. I > > don't want firefox to make a 1 GB core dump in my home directory if it > > crashes. > > > > > ulimit can be used to allow 0 bytes of core dumps, that means you won't get > any. > > > > 2. Is there a way to supress or redirect console messages & > > application error messages so they do not clutter my xterm. For > > example I would rather > > > > cat console.txt > > > > than see a message on my xterm every time I plug in a USB device, etc. > > Also I don't care about seeing every single little GTK error or > > warning firefox has. In fact I would like to see none of them on my > > xterm but would not necessarily mind storing them in a log file or > > /dev/null. > >
Look into dmenu from ports. It's a convenient way to start x apps without using a terminal. Thus no error messages to clutter your work space. > > > Many graphical environments start xconsole that is a specific "xterm" that > just > consumes (and shows) the kernel messages. > As for starting FF or other applications, you either pointy-click on them > and have > the environment eat all (mostly useless) gtk spam, or make wrapper scripts > that > redirect to logger or /dev/null. > > GTK has chosen to have its applications vomit insane amounts of whine on > the text output if there is one, so if you start from a terminal, you will > have to > redirect it somewhere. > > -- > May the most significant bit of your life be positive.