LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2012, 05:12 AM   #1
emdiesse
LQ Newbie
 
Registered: Jan 2012
Posts: 13

Rep: Reputation: Disabled
Show terminal commands for running GUI application


Hi,

If I open a gui application via the menu is it possible to subsequently display a terminal window for this application?

i.e. I have just opened unison-gtk from the menu and I am scanning 2 directories. I'd really like to now open up a terminal to see the messages being output. It'd be very cool if I could even see the commands being executed (such as pressing the left to right button would show what terminal command would achieve the same).

I figure it'll be a helpful learning tool for myself, for any application have the option to display a terminal window, somehow, to see what's going on behind the prettiful GUI

Cheers,
Matt
 
Old 10-21-2012, 06:05 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Matt, as far as I know there's no application available which show you the excution process of an application in terminal, at the same time when appln. is running in GUI.
On terminal you can see the corressponding process running for that appln., but not the execution process.
For your learning, instead of launching the application from GUI, you can run that same appln. on command line in verbose or interactive mode to see the processing, but this is limited and practically not so uesful.
 
Old 10-21-2012, 06:28 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Matt, I understand where you're coming from; I've played with the idea of writing some applications for system maintenance that will display which files are actually modified when you save a configuration; e.g. for networking.

It never materialized.
 
Old 01-07-2013, 10:25 AM   #4
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
Another example, I'd like to see the apt-get commands that correspond to actions done in Synaptic...
 
Old 01-07-2013, 09:16 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
man apt will tell you all you want to know about apt and some things you probably don't.

A much friendlier presentation of the information is here:

http://www.cyberciti.biz/tips/linux-...eat-sheet.html

They explain it far better than I can.

---------- Post added 2013-01-07 at 22:16 ----------

man apt will tell you all you want to know about apt and some things you probably don't.

A much friendlier presentation of the information is here:

http://www.cyberciti.biz/tips/linux-...eat-sheet.html

They explain it far better than I can.
 
Old 01-07-2013, 10:02 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by m.a.l.'s pa View Post
Another example, I'd like to see the apt-get commands that correspond to actions done in Synaptic...
The problem here would be that Synaptic does not launch apt-get at all, it is directly corresponding with the package management system, using libapt for this purpose.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal commands running behind the GUI Suhail Sherif Linux - Newbie 1 01-10-2010 01:25 PM
Running terminal commands automatically on logon tenmiles Linux - Newbie 4 12-09-2007 10:28 AM
GUI terminal commands Red Squirrel Linux - Software 8 08-14-2005 06:06 AM
show all terminal typed commands joulupukki Linux - Newbie 6 05-10-2004 04:42 AM
seeing GUI commands echoed in terminal ? hildog Linux - Newbie 3 10-01-2003 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 PM.

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