Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-11-2013, 08:05 PM   #1
Registered: Oct 2012
Distribution: Slackware 14.0 86x
Posts: 43

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


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, 03:27 PM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,713

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


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 02:00 PM
slackware64-13.1 : xfce terminal unable to set title pokipoki08 Slackware 2 06-30-2010 10:23 PM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 07:50 PM
JAVA: echoing current user indienick Programming 17 05-05-2006 01:49 AM
Bash: set Konsole window title to current command bforbes Programming 5 04-19-2006 12:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:32 PM.

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