LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-11-2013, 07:05 PM   #1
slaka
Member
 
Registered: Oct 2012
Distribution: Slackware 14.0 86x
Posts: 43

Rep: Reputation: Disabled
Slackware64 --current - Echoing X window title into a text file


Hey,

I need simply to echo specific process X window title into a text file.
This process is music player and it displays current song in title and I want to echo that data into a specific text files EOF.

Googled but found only methods which required clicking X window, but I want to make a script so I can just run it...
 
Old 07-12-2013, 02:27 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,696

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261
I'm not sure which windows you are referring to, but you can always get the window tree (xwininfo -root -tree), and then search for what you want.
 
  


Reply

Tags
echo, slackware


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
[SOLVED] How can you create aliases with echoing text into the variable? BMan8577 Linux - Newbie 4 04-29-2011 01:00 PM
slackware64-13.1 : xfce terminal unable to set title pokipoki08 Slackware 2 06-30-2010 09:23 PM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
JAVA: echoing current user indienick Programming 17 05-05-2006 12:49 AM
Bash: set Konsole window title to current command bforbes Programming 5 04-19-2006 11:44 AM


All times are GMT -5. The time now is 12:32 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