question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module's left-click not working for some commands

See original GitHub issue

Bug Report

Description

Affected module: weather Version used: latest on git (main branch)

I’m trying to override left-click action on some modules and I can’t make it work.

How to reproduce

I’ve tried the following:

weather.left-click="/usr/bin/firefox --new-tab 'www.google.com/search?q=weather'"

I experienced this with a other modules as well but thought it was something to do with i3 (I’m trying to execute i3 commands when clicking on the widgets and cannot make it work either). Things like pavucontrol work just fine.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

4reactions
cristianmirandacommented, Sep 10, 2020

Alright. I got it working!! I just removed double quotes from the command:

weather.left-click=/usr/bin/firefox --new-tab 'www.google.com/search?q=weather'

I don’t know why I didn’t try that before. Is this an expected way of setting a cli command? Maybe it DOES have to do with single/double quotes inside the command, right?


Anyway, thanks for the help debugging this problem. You folks rock!. @tobi-wan-kenobi feel free to close this issue if you think the single/double quotes thing is not a bug.

1reaction
tobi-wan-kenobicommented, Sep 10, 2020

@cristianmiranda I am suprised it works without the quotes 😛

But glad it works now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modules with click-left not ending with `&` makes system tray ...
Any custom clickable script module not ending with an '&' causes the system tray icons to become unresponsive after restart. Expected behavior:
Read more >
How to Fix the Left Click Mouse Button Not Working on ...
Here are some ways to get moving again when your mouse left click is not working properly. 1. Fix a Corrupted User Profile....
Read more >
Fix: Left Click Not Working Windows 10 - Appuals.com
Select the primary button as “Left”. Now check the response when you click the left mouse button. Solution 1: Disabling your Antivirus Software....
Read more >
Top 7 Ways to Fix the Left Click Mouse Button Not Working on ...
1. Check for Hardware Issues · 2. Change a Corrupted User Profile · 3. Run the SFC and DISM Commands · 4. Disable...
Read more >
python - Mouse click command does not work on certain GUIs
Mouse click command does not work on certain GUIs ... The script below works perfectly when I want to click, for example, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found