How to block the key combination Ctrl+Q in SeaMonkey?

Using applications, configuring, problems
Post Reply
Message
Author
slackfan
Posts: 208
Joined: Sun 29 Mar 2009, 09:31

How to block the key combination Ctrl+Q in SeaMonkey?

#1 Post by slackfan »

how to do that (some web applications use browser as real office platform where you are working hours! and only a wrong hitting on Ctrl Q close without warning the browser! The developers of Mozilla are really crazy...

and how to recover written in the last opened web app if that happens?

can the puppy window manager (for ex. for tahr puppy64) filter the keyboard entries to avoid such inconvenient?

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

Get this add-on:

Disable Ctrl-Q Shortcut

It is available in the Seamonkey Add-ons manager->Get add-ons
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#3 Post by MochiMoppel »

It's a known issue. WarnOnQuit is already set to true, but doesn't work.

I don't like the idea of using add-ons - too many firefoxes and seamonkeys in my arsenal. That would be a hassle to fix them all with add-ons.

The Puppy window manager (JWM) can filter such potentially dangerous key combinations, but this means that they won't work anymore on an application level...but this would be good since Ctrl+Q is seldom used for anything else than quitting and it is never the only way to quit an application, so yes, blocking Ctrl+Q for all application is not a bad idea.

Using JWM for the blocking is good, but using ROX would be better and easier. Just create a desktop icon and assign shortcut Ctrl+Q. This shortcut will have precedence over other applications' shortcuts. The icon could be linked to a popup message or a beep or anything harmless. Use your imagination.
Attachments
ROX_keyboard_shortcut.png
Using ROX to hijack a key combination and prevent other applications from using this combination as shortcut
(28.45 KiB) Downloaded 277 times

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#4 Post by gychang »

MochiMoppel wrote:It's a known issue. WarnOnQuit is already set to true, but doesn't work.

Using JWM for the blocking is good, but using ROX would be better and easier. Just create a desktop icon and assign shortcut Ctrl+Q. This shortcut will have precedence over other applications' shortcuts. The icon could be linked to a popup message or a beep or anything harmless. Use your imagination.
very useful.

1. anyway to make the desktop icon "invisible" and still work?
2. how do I make it beep?, what argument is needed.
---
trying to learn puppylinux... :D
---

User avatar
d4rkn1ght
Posts: 55
Joined: Wed 20 Jan 2010, 00:47
Contact:

#5 Post by d4rkn1ght »

SeaMonkey > Edit > Preferences > Browser > Tabbed Browsing > Warn me when closing a window with multiple tabs

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#6 Post by gychang »

d4rkn1ght wrote:SeaMonkey > Edit > Preferences > Browser > Tabbed Browsing > Warn me when closing a window with multiple tabs
I use firefox...
---
trying to learn puppylinux... :D
---

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#7 Post by MochiMoppel »

gychang wrote:1. anyway to make the desktop icon "invisible" and still work?
Create a text file with content

Code: Select all

<svg width="1" height="1"/>
Give it a name like invisible.svg, place it into your icons directory (or whereever you like) and use this (almost) invisible 1px icon for your desktop shortcut.
gychang wrote:2. how do I make it beep?, what argument is needed.
Depends on your installation, but this should work in most cases:
Clicking on icon opens: /bin/busybox
Arguments: beep

This is a nasty beep. You can add arguments to the beep command to make it more pleasant.

Code: Select all

BusyBox v1.21.0 (2013-02-18 15:57:06 WST) multi-call binary.

Usage: beep -f FREQ -l LEN -d DELAY -r COUNT -n

	-f	Frequency in Hz
	-l	Length in ms
	-d	Delay in ms
	-r	Repetitions
	-n	Start new tone
If it doesn't beep make sure that beep is enabled in your retrovol dialog.

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#8 Post by gychang »

MochiMoppel wrote:
gychang wrote:1. anyway to make the desktop icon "invisible" and still work?
Create a text file with content

Code: Select all

<svg width="1" height="1"/>
Give it a name like invisible.svg, place it into your icons directory (or whereever you like) and use this (almost) invisible 1px icon for your desktop shortcut.
thank you, amazing, now invisible...
---
trying to learn puppylinux... :D
---

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#9 Post by Flash »

gychang wrote:
d4rkn1ght wrote:SeaMonkey > Edit > Preferences > Browser > Tabbed Browsing > Warn me when closing a window with multiple tabs
I use firefox...
I'm pretty sure you said SeaMonkey in the title of your OP. Which is it, Firefox or SeaMonkey?

Does Firefox have about:config where you can set all kinds of variables?

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#10 Post by gychang »

Flash wrote:
gychang wrote:
d4rkn1ght wrote:SeaMonkey > Edit > Preferences > Browser > Tabbed Browsing > Warn me when closing a window with multiple tabs
I use firefox...
I'm pretty sure you said SeaMonkey in the title of your OP. Which is it, Firefox or SeaMonkey?

Does Firefox have about:config where you can set all kinds of variables?
I was not the one who originally started the thread, now the problem is resolved as far as I am concerned.
---
trying to learn puppylinux... :D
---

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#11 Post by Flash »

Oops. Sorry. :oops:

Post Reply