Trace CLI from a GUI action
Hi, I just started learning the Linux system for a while. I have tried most of debian-based Linux, mostly I experience is GUI, as an intermediate user.
I wanna ask that if there a tool or command to gather the CLI that generated by a GUI action. For example, something like a probe for CLI equivalent input that the user can specific a window or process, hover on a specific button and get information, or just a log file that contains every CLI generated at a time is good enough. This would be a big help for learning and modifying purpose.
The reason that I want to find out CLI equivalent is because a problem like Ubuntu's NetworkManager. Many functions in Ubuntu operate on gnome-panel, such as connecting/disconnecting LAN, WLAN and VPN. I don't like gnome-panel so I killed it. As a result, I can no longer control the NetworkManager other than on and off. I cannot find the CLI that can produce the same result. There are many problems just like this one so if there was a probe, everything can be fixed easily.
Any idea ?
The GUI tools need not (and probably don't) use command lines to do their stuff. For example, rewriting a config file could be done in the one executable using system calls.
A better way to find out the commands necessary to do what NetworkManager does would be to ask here.
Just a few links to aid you;
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
Getting Started with Linux
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
Most GUI apps do not use the CLI as their back end, so your goal is pretty pointless.
The best way to learn is to use the CLI yourself! Start by reading the tutorials linked to in my sig.
|All times are GMT -5. The time now is 07:45 AM.|