Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by eikenberry on Wednesday December 18, 2024 @05:39PM
(#42456256)
All of those should be state changes in the mouse.. IE. the software should run to make the settings then exit. There should be no reason for it to keep running.
[ Parent
| on HN ]
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by jsheard on Wednesday December 18, 2024 @05:45PM
(#42456326)
Logitech's best kept secret is they do make a lightweight version of their software for exactly that, it edits the settings saved on the mouse and does absolutely nothing else. It's only available for Windows though.
https://support.logi.com/hc/en-ca/articles/360059641133-Onbo...
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by pxc on Wednesday December 18, 2024 @06:17PM
(#42456575)
Logitech's mice can't do basic things like output a key chord upon a button press using only what's available onboard, sadly. The onboard capabilities are more limited than they have to be, probably to drive people to G-Hub.
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by bdavbdav on Thursday December 19, 2024 @02:25AM
(#42459239)
They also allow you to manage the pairing of the unifying receiver from web which is neat.
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by adzm on Thursday December 19, 2024 @08:09AM
(#42461078)
Wow, this is amazing!
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by RonaldDump on Wednesday December 18, 2024 @06:19PM
(#42456599)
Their best feature - and the one thing that I have most missed for years after moving to Linux - is automatically changing the active mouse profile based on the focused application.
It's so powerful. Any custom buttons for any program, without ever having to think about it. On Linux, without it, I'm stuck manually cycling through the 3 on-board profiles.
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by brokenmachine on Wednesday December 18, 2024 @09:34PM
(#42457821)
I use Autohotkey in Windows to achieve that, because I got sick of Logitech fairly regularly misdetecting the current application (when it does that, you have to focus a different app and then try again).
I just get the mouse to always use the same onboard profile and send the higher F-keys that aren't on the keyboard (F13-F24), and ahk detects those and does whatever crazy stuff I can think up. I even have long-press/short-press for some buttons set up. Works great.
There must be a way to do something similar in Linux.
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by ajolly on Friday December 27, 2024 @04:43PM
(#42526316)
Do you have a specific script you like?
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by brokenmachine on Wednesday January 01, 2025 @12:48AM
(#42564220)
Here's a skeleton of what I use:
#Requires AutoHotkey v2.0
#SingleInstance force
MsgBox(A_ScriptName " started",, "T0.5")
SendLevel 1 ; allows triggering of hotkeys and hotstrings of another script, which normally would not be the case
LongPress := 0.2 ; 200ms
F18::{ ; first pointer button
Switch WinGetProcessName("A") {
Case "firefox.exe" :
Send "+{F3}" ; Shift-F3 - Find previous
Case "vlc.exe" :
Send "PgUp"
Default:
NoFunctionDefined(A_ThisHotkey)
}
return
}
F20::{ ; third pointer button
activeapp := WinGetProcessName("A")
Switch activeapp {
Case "vlc.exe" :
Send "s"
Default:
}
if (activeapp = "firefox.exe") {
waitvar := (KeyWait(A_ThisHotkey, "T" LongPress)) ; waits LongPress seconds maximally for F20 to be released
if waitvar {
; Short press action
Send "{F24}"
}
else {
; Long press action
Send "{F5}" ; F5 - reload tab
}
KeyWait A_ThisHotkey ; waits for F20 to be released (avoids key repeat from retriggering)
} else {
Send "{F24}"
}
return
}
NoFunctionDefined(hotkey)
{
Tooltip("No function defined for " . hotkey "`nActive app is " WinGetProcessName("A"))
SetTimer () => ToolTip(), -2000
return
}
; --- Shift-Media_Play_Pause will Reload this script ---
~+Media_Play_Pause::{
MsgBox(A_ScriptName " Reloading...",, "T0.5")
Reload
Sleep 1000 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached.
if MsgBox("The script could not be reloaded. Would you like to open it for editing?","Reload", "YesNo") = "Yes"
Edit
return
}
Re:Solaar is a Linux manager for many Logitech keyboards, mi...
by MindSpunk on Wednesday December 18, 2024 @06:00PM
(#42456467)
You don't need to keep it open, it just puts itself in the auto run list on install and you can disable it from launching. The configuration is just state changes on the mouse