LinuxQuestions.org
Register a domain and help support LQ
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, 06: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, 07: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, 07:28 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

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, 11:25 AM   #4
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Posts: 220

Rep: Reputation: 50
Another example, I'd like to see the apt-get commands that correspond to actions done in Synaptic...
 
Old 01-07-2013, 10:16 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
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, 11:02 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:25 PM
Running terminal commands automatically on logon tenmiles Linux - Newbie 4 12-09-2007 11:28 AM
GUI terminal commands Red Squirrel Linux - Software 8 08-14-2005 07:06 AM
show all terminal typed commands joulupukki Linux - Newbie 6 05-10-2004 05:42 AM
seeing GUI commands echoed in terminal ? hildog Linux - Newbie 3 10-01-2003 01:21 PM


All times are GMT -5. The time now is 01:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration