LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-12-2010, 02:44 AM   #1
thamawij
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
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 ?
 
Old 05-12-2010, 03:31 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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.
 
Old 05-12-2010, 02:57 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by thamawij View Post
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 best way to understand is to learn to utilize the 'cli'.

Just a few links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
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!
 
Old 05-12-2010, 04:27 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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.
 
  


Reply

Tags
cli, equivalent, gui, probe, tool



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CLI or GUI? [Desktop/Workstation] introuble General 12 10-29-2006 09:55 PM
boot CLI vs GUI weazy Linux - Software 2 08-04-2006 09:15 PM
How do i get the ubutnu Gui up, i seem to be stuck in CLI :o rawplug89 Ubuntu 40 05-12-2006 01:53 PM
CLI and GUI Question desmondlewissmith Linux - Software 1 01-20-2006 03:46 PM
changing gui from cli twistedrhymes Linux - Newbie 3 06-14-2005 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration