[Solved] From User to system

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
flesh-drive
Level 1
Level 1
Posts: 20
Joined: Tue Jun 11, 2019 3:09 am

[Solved] From User to system

Post by flesh-drive » Tue Jun 11, 2019 10:00 am

How can I see what command has been written when I click on a program and How can I see directly what command was sent from me to linux mint OS system .
Last edited by flesh-drive on Tue Jun 11, 2019 1:00 pm, edited 1 time in total.

User avatar
karlchen
Level 20
Level 20
Posts: 11219
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: From User to system

Post by karlchen » Tue Jun 11, 2019 10:28 am

Hello, flesh-drive.

There is e.g. gnome-system-monitor (Cinnamon desktop), mate-system-monitor (Mate desktop), xfce4-taskmanager (xfce desktop).
They all offer a Process View. Inside this process view you can inspect the commandlines, which are being executed.

Image
(Gnome System Monitor. Click screenshot to enlarge. Press <Alt><Cursor Left> to return here.)

HTH,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

User avatar
secureIT
Level 3
Level 3
Posts: 150
Joined: Wed Dec 05, 2018 1:26 pm

Re: From User to system

Post by secureIT » Tue Jun 11, 2019 11:51 am

Also look here :

https://unix.stackexchange.com/question ... ing-in-gui

and the answer of akid (extension of artistoex's answer) in this thread :

https://superuser.com/questions/143602/ ... e-ui-click
In der Ruhe liegt die Kraft ! .......... The strenght is to be found in serenity !

User avatar
Flemur
Level 17
Level 17
Posts: 7069
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: From User to system

Post by Flemur » Tue Jun 11, 2019 12:05 pm

flesh-drive wrote:
Tue Jun 11, 2019 10:00 am
How can I see what command has been written when I click on a program and How can I see directly what command was sent from me to linux mint OS system .
Great question. In addition to gnome-system-monitor "lxtask" is simple, lightweight; sort the processes by PID and your recent commands/menu-choices will be at the top.

Similar also in a terminal:

Code: Select all

ps aux | grep username
Also

Code: Select all

grep "Part of Menu Prompt" /usr/share/applications/*.desktop | grep Name
then look for "Exec" in those files:

Code: Select all

$ grep erminal *.desktop | grep Name
exo-terminal-emulator.desktop:Name=Terminal Emulator
gksu.desktop:Name=gksu x-terminal-emulator
..snip some names...
xfce4-terminal.desktop:GenericName=xfce4-terminal
$
$ grep Exec xfce4-terminal.desktop
Exec=xfce4-terminal
$ grep Exec gksu.desktop
Exec=gksu /usr/bin/x-terminal-emulator
Exec=the stuff you'd type in the terminal to run the program.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

Post Reply

Return to “Cinnamon”