LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2008, 01:38 PM   #1
Freestone
Member
 
Registered: Jan 2003
Location: Brighton, Michigan
Distribution: FC5
Posts: 114

Rep: Reputation: 15
CLI command for Terminal, Konsole, etc.


Greetings everyone!

I have a quick one for all of you out there. I'm stumped on one command possibility.

If I am in a terminal, what ever form it may be in and I am in a desktop environment, is there a command I can issue from the CLI to minimize the actual terminal window instead of clicking on the 'minimize' button in the upper corner? I'm just curious on this and wonder if it is possible.
I'll laugh myself silly when someone explains how and it is more than obvious.

Thanks for the thoughts, ideas and taking the time to read this thread.
 
Old 11-24-2008, 02:56 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Well, there are probably commands available through dcop, dbus, or x you could issue, but it probably wouldn't be trivial. At the very least you'd have to determine exactly which window you need to control first, because the shell inside doesn't have any direct relationship with the window containing it. You'd be better off just using a hotkey combination, as set through your window manager, for that.
 
Old 11-24-2008, 04:21 PM   #3
Freestone
Member
 
Registered: Jan 2003
Location: Brighton, Michigan
Distribution: FC5
Posts: 114

Original Poster
Rep: Reputation: 15
David the H,

Thanks for your response! You are probably correct in the fact that it wouldn't be a trivial thing. Probably very complicated. I'll just stick to clicking the minimize button!

Thanks again.
 
Old 11-24-2008, 06:45 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
If you are with your hands on your keyboard, what's wrong with using a keybinding as David the H. very well said? It will be a tad faster than both using a command and clicking a button on your title bar.

There are ways to control *some* wm's via the command line. kwin 3.x can be controlled via dcop. I have no experience with kwin 4.x, but it should be possible to control it using dbus. Fvwm has a command line proxy that can be used to control the wm from any regular shell. But it's not a normal way to do the things. A keybinding is just shorter, faster and easier to type.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Konsole terminal ngogketrao2 Linux - Newbie 2 04-28-2007 05:11 AM
Terminal (CLI)? carlosinfl Ubuntu 2 12-27-2005 12:08 AM
konsole terminal -need help! Jorine Programming 0 12-22-2004 08:46 PM
Alternative terminal to konsole & gnome-terminal Adony Linux - Software 3 10-08-2004 03:59 AM
The Konsole Terminal and FreeBSD ganninu *BSD 1 02-03-2004 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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