LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-14-2024, 08:41 PM   #1
MarjaE
Member
 
Registered: Aug 2023
Posts: 33

Rep: Reputation: 0
Can't set "LD_PRELOAD" in Cinnamon Menu Editor


I am using Cinnamon on Fedora 39. I'm also tried Gnome, Gnome Classic, and Mate, but they don't allow as many of my accessibility needs. Cinnamon has accessibility settings to block blinking cursors and block other animation, but qt apps ignore these.

qt5noblink appears to be the only reliable way for users to block blinking cursors in qt apps: https://github.com/igogo/qt5noblink

I've tried other ways from here, but can't get them to work: https://jurta.org/en/prog/noblink

Running from the Terminal with LD_PRELOAD=[path to]/QtNoBlink/qt5noblink.so calibre --detach %U works, but

Opening the Menu Editor, and adding a launcher with LD_PRELOAD=[path to]/QtNoBlink/qt5noblink.so calibre --detach %U does not work. I get a "Cancel" button, and a grayed out quote "OK" unquote (sic) button.

I'm not sure if the Menu Editor requires different syntax, or if it requires more permissions, and what to do in either case.
 
Old 01-15-2024, 12:42 AM   #2
lvm_
Member
 
Registered: Jul 2020
Posts: 926

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
I never used Cinnamon but it probably uses .desktop format for its menu items, and .desktop exec key expects executable as the first verb, not a random bash command. As usual, this limitation can be circumvented with a wrapper script but in this particular case using env may be simpler (env LD_PRELOAD=...)
 
2 members found this post helpful.
Old 01-15-2024, 10:12 PM   #3
MarjaE
Member
 
Registered: Aug 2023
Posts: 33

Original Poster
Rep: Reputation: 0
Thank you, that worked!
 
  


Reply

Tags
menu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can I solve Proxychains error "LD_PRELOAD cannot be preloaded" ? hack3rcon Debian 5 04-21-2020 06:19 AM
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Where is the KDE "menu editor" or the actual menu located in KDE 3.1? GoSTaRnE Linux - General 3 05-23-2004 08:37 AM
How do I make my shared loader (ld-linux.so.1/ld.so) understand LD_PRELOAD? ic3 Slackware 1 11-02-2003 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration