LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-29-2003, 12:08 AM   #1
matthewD
LQ Newbie
 
Registered: Jan 2003
Posts: 8

Rep: Reputation: 0
Question view KDE calls


Hi all,

I'm a pretty new at Linux, but I got myself a book and have figured out quite a bit. I am getting fairly comfortable at the command line.

Which brings me to my question: Is it possible to see commands that a UI (KDE is what I'm using) makes to the underlying OS? Or am I completely off base with this question?

For example, if I launch an app (say, Mozilla) by clicking an icon, can I see the call to execute that program somewhere? If I delete a directory in Nautilus, can I see the "rm my_directory" call?

Can you compile "logs" of all commands that have been issued?

Thanks,
Matt
 
Old 01-29-2003, 12:35 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,751
Blog Entries: 4

Rep: Reputation: 76
If I understand what you're asking, you can open a terminal (konsole, if you like kde) then start the app from there. So type 'kate' or 'konqueror' and it will print all sorts of messages to the console. I don't know if they are what you're looking for but have a look...
 
Old 01-29-2003, 05:10 PM   #3
chedder
LQ Newbie
 
Registered: Jan 2003
Distribution: OpenLinux 2.3
Posts: 6

Rep: Reputation: 0
matthew. I am also new to linux and would like exactally the same thing, if you have found this type of logging would you let me know.
 
Old 01-29-2003, 06:27 PM   #4
matthewD
LQ Newbie
 
Registered: Jan 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy More help needed...

While I am in KDE, I open up Konsole and then open up Konqueror by typing the app name. I get the Konquerer app up in its own window. However in the Konsole, I have a message:

KDirWatch: /etc/securtiy/fileshare.conf is a file. Use addFile!

and then I don't see any commands reflected in Konsole as I use Konquerer.

Any suggestions?
Thanks,
Matthew.
 
Old 01-29-2003, 06:42 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,751
Blog Entries: 4

Rep: Reputation: 76
It works for me. I just tried it and I got:
Code:
kio (KTrader): KServiceTypeProfile::offers( Browser/View, )
kio (KTrader): Returning 24 offers
libkonq: ## loaded: 500 entries.
konqueror: KonqMainWindow::enableAllActions false
kparts: MainWindow::createGUI, part=(nil)
konqueror: KonqMainWindow::openURL : url = 'file:/home/bulliver'  serviceType='' view=(nil)
konqueror: KonqMainWindow::setLocationBarURL: url = file:/home/bulliver
konqueror: trying openView for file:/home/bulliver (servicetype inode/directory)
konqueror: serviceName=konq_detailedlistview m_sViewModeForDirectory=konq_detailedlistview
konqueror: KonqViewManager::createView
konqueror: Trying to create view for "inode/directory"
kio (KTrader): KServiceTypeProfile::offers( inode/directory,Application )
kio (KTrader): Returning 2 offers
kio (KTrader): KServiceTypeProfile::offers( inode/directory,KParts/ReadOnlyPart )
kio (KTrader): Returning 9 offers
konqueror: Found requested service konq_detailedlistview
konqueror: Trying to open lib for requested service konq_detailedlistview
konqueror: KonqView::switchView
etc..etc..and it prints more when I use any buttons in konq....

This is what you're looking for right?
Try again I guess
 
Old 01-30-2003, 12:00 PM   #6
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
man strace - beware, strace will produce a LARGE log file. it doesn't just log kde calls, it logs all calls.
 
Old 01-31-2003, 12:39 PM   #7
chedder
LQ Newbie
 
Registered: Jan 2003
Distribution: OpenLinux 2.3
Posts: 6

Rep: Reputation: 0
This still looks like greek to me. What I am looking for is more of a Echo window this will show me what was typed on to the command line to execute the command. I am real new and still trying to figure out the difference between what is a directory, file, executable file, program and everything else Konqueror looks to me to be more of a log file.

.
 
Old 01-31-2003, 12:52 PM   #8
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
try:

ps aux

that'll show what command lines were used to launch each process
 
Old 02-03-2003, 09:56 AM   #9
chedder
LQ Newbie
 
Registered: Jan 2003
Distribution: OpenLinux 2.3
Posts: 6

Rep: Reputation: 0
Thanx alot, this was just what I was looking for.
 
Old 02-03-2003, 12:07 PM   #10
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
As for an echo type command look into tail. man tail
common syntax: tail -f /var/log/firewall.log (hypothetical file)
You will then have a window/console open that is printing all info that is being sent to that file by the program... It can be used for many things, try er out.
 
Old 04-08-2003, 04:48 AM   #11
linuxfond
Member
 
Registered: Jan 2003
Location: Belgium
Distribution: Mandrake 9.2
Posts: 475

Rep: Reputation: 30
so what do you do with "Use addFile?"
it looks like no human on this earth want to share THIS secret.
 
  


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
cannot view CHM files, in KDE 3.4.1 irfanhab Slackware 2 08-03-2005 12:29 PM
W2K cannot view samba share but can view NT FiveFlat Linux - Software 3 06-10-2005 02:54 PM
kde konqueror thumbnails view dave37 Linux - Software 1 06-22-2004 10:49 AM
way to view disk space in kde 3.2? sross Linux - Newbie 5 06-07-2004 09:22 AM
Preview , MP3s, Icon View and KDE 3.1 Jongi Linux - Newbie 4 02-27-2004 01:51 PM


All times are GMT -5. The time now is 03:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration