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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

No changes have been made to this item

Back to the top

Powered by Savane 3.16.
Corresponding source code