LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 12-27-2007, 02:40 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,392

Rep: Reputation: Disabled
"kill window" versus "close window"


Looking through keyboard shortcuts in the control center, I noticed that Alt+Ctrl+Esc is "kill window." What's the functional difference between that and "closing" the window? I tried it (on an open Firefox window set to a blank page), and nothing obvious happened except that the cursor became a skull.
 
Old 12-27-2007, 08:18 PM   #2
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
If you use that, you will lose all data - it's equivalent to 'end task' in windows ... only it actually works - it's a merciless kill, as opposed to a polite request to finish up and close.

Edit:
It is a toggle switch (press again or use to switch off) - while the cursor is a skull, the first window you click will die.

Last edited by fuzzyworm; 12-27-2007 at 08:19 PM. Reason: how to use
 
Old 12-29-2007, 08:22 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Are you using the "KDE Default for 3 Modifier Keys"?

I always start from "KDE Default for 4 Modifier Keys" & for me this function is Ctrl-Win-Del. It does not toggle, but a secondary (i.e. right for most people) click deactivates the skull.
 
Old 12-29-2007, 01:13 PM   #4
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,392

Original Poster
Rep: Reputation: Disabled
Ehh...I don't recall changing the default settings, so I should be using that.
 
Old 12-30-2007, 01:58 PM   #5
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
Where's that setting? It's not one I've heard of before. I'm quite happy with the ones I've got, though, it's just it would be useful to know where it is in case it gets changed at some point.
 
Old 12-30-2007, 02:10 PM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
The term "Default" in the phrases:
"KDE Default for 3 Modifier Keys"
"KDE Default for 4 Modifier Keys"
may be confusing, especially since KDE appears to default to the 3 Modifier Key "Default".

This leads to the "uniquely unique " idea of a default default.

It's especially bad because I have yet to see a Linux installer that chooses your default for you based on your keyboard.

Anyway, if you didn't change anything, you are probably using the "KDE Default for 3 Modifier Keys" option & can change it as I outlined above.
 
Old 12-30-2007, 02:49 PM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Sorry again, I thought I had already posted that.

KControl, Alt-F2 kcontrol, or System Configuration (Settings)
>> Regional & Accessibility >> Keyboard Shortcuts --- Shortcut Schemes (tab)
The drop down menu will probably be showing "Current Scheme" but will display the ones I mentioned & several others.
There are 3 sub tabs on "Shortcut Schemes":
  • Global Shortcuts
  • Shortcut Sequences
  • Application Shortcuts
The 1st 2 will show many changes as you play w/ the default setting.

BTW & FWIW, entering "settings:/Accessibility/" in the Konqueror Location bar will take you directly to "Regional & Accessibility"
 
Old 12-30-2007, 03:48 PM   #8
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
To add some information to the original question about the difference between "kill" and "close", the difference is the same as between the commands (in command-line) to "kill" and "kill -9". First one, plain "kill", sends a termination signal which means, that the chosen process (in the case of a graphical "point-and-click" method, a window) is signaled to 'please save your work and then exit', which the program may or may not obey - it depends. "Good" programs obey the thing, exit cleanly and be nice. Some programs don't listen to that, or can't listen to that ("jammed"). The second one (infamous "kill -9", same as the skull cursor) sends an immediate kill signal, which the program must obey. That means: if the program would normally "save it's work" and then exit (when given a termination signal), now it isn't given time to "save it's work", but it must exit immediately - perhaps uncleanly.

Read more:
Code:
man kill
The click-method does the same, but the process to be killed is selected based on which window you click, so you're not asked a process ID or anything like that.
 
Old 01-02-2008, 11:04 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
While we're on the subject of "weapons" (i.e. tools to kill with ), don't forget killall & htop.

killall uses the same "kill"/"close" option codes as kill, but its argument(s) are command name(s), not PID's.

htop has recently become a favorite of mine -- I keep instance running in a root xterm &/or tty at all times. Like top it provides a continuously updated (text) screen of your running processes. Unlike top, it is also interactive & allows you to send the various SIGnals, e.g. "kill", "close", etc., to a single process or to a group of them. I find it especially useful when my GUI slows to the speed of cold molasses & the mouse is useless. If I can get to the tty where it is running, then I have a chance to fix things w/o having to power cycle the machine.

In both cases RTM.
 
  


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
"signal_connect" via package "Gtk2::Window" Rick Hunter Mandriva 5 03-13-2009 07:23 AM
"NIM thread blocked" & "Deadman Switch (DMS) close to trigger" errors sosborne Linux - Networking 1 06-28-2006 02:07 PM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 08:38 AM
Removing "shutdown" and "reboot" in logout window nearfar Red Hat 1 10-07-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 11:27 AM.

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