bugxbindkeys - Bugs: bug #60108, Better Messages

 
 

bug #60108: Better Messages

Submitter:  None
Submitted:  Wed 24 Feb 2021 09:43:35 AM UTC
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Wed 24 Feb 2021 09:43:35 AM UTC, original submission:  

I got a bit annoyed with xbindkeys silently failing to process an entire RC file due to a single mis-typed keyname, so I finally decided to download the source and add a patch. Super simple - thanks for making the software not overly complicated. This turned out to be almost a one-liner.

I'm not even going to submit a patch, as that would be more work than necessary. Simpyl change the "break;" line at options.c:792 to a healthy error message and call it a day. Here's what I used:

fprintf (stderr, "Could not add a key for the following combo in rc file:\n\"%s\"\n", line );

and now, provided you run xbindkeys from a termianl with -v, you'll no longer scratch your head about which line in the rc file was problematic.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.9