Posted On May 2, 2019

Linux: A Quick Sequence of Starting and Stopping an App

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Linux: A Quick Sequence of Starting and Stopping an App

Check to see if SeaHorse is broken

kimconnect@nuc:# seahorse
Gtk-Message: 08:52:44.606: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:52:44.608: Failed to load module "canberra-gtk-module"

Resolve dependency

sudo apt install libcanberra-gtk-module

Run an instance in a disjointed session

nohup seahorse </dev/null >/dev/null 2>&1 &

Explain:

nohup :no hangup
seahorse :some program
</dev/null :direct file descriptors (fd0,fd1,fd2) to the left
>/dev/null 2>&1 :Send standard output to /dev/null and then send standard errors to wherever standard output is going (which is also /dev/null). In short, throw away whatever this command writes to either file descriptor.
& :trigger Ctrl+C equivalent

Kill all sessions with its name to release memory

pkill seahorse

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to configure Ubiquiti EdgeRouter to send logs to a Syslog Server

Method 1: using text editor # Edit the syslog config sudo vi /etc/rsyslog.d/vyatta-log.conf # Change…

How to Install NoVNC with x11vnc on Linux Mint 21

Objectives: Install x11vnc as the service that would allow connections to screen 0, console session…

Adding Repositories in Centos 5.3

yum install yum-priorities vim /etc/yum/pluginconf.d/priorities.conf ---- [main] enabled=1 ----   Install RPMForge: cd /home wget…