Comments (2)
I was lacking this functionality as well so I dug through the code and found a quick and dirty solution. I don't think, this is very well suited for an actual release (even though I didn't experience any issues with it so far) but it works for now.
In the main applet.js file (under .local/share/cinnamon/applets/Cinnamenu@json) I edited the unused "case statement" in line 1669 and added the function call "resetSearch();" which closes the Menu regardless whether something has already been typed in or not. I guess one could tweak that to remove the search term on the first key press and close the menu on the second one but I used this setting on the original Cinnamon menu and that worked fine for me.
Hope that helps :)
from cinnamenu.
Ah, that case statement is just additive to the list in that condition, so Clutter.KEY_Escape and Clutter.Escape will both trigger that block of logic. Its being used there to allow closing open context menus with escape. I'll fix this issue in the next release.
from cinnamenu.
Related Issues (20)
- Allow to set special positions for Cinnamenu specific category items HOT 24
- Allow to set position of sidemenu HOT 1
- Stay in searched item list when using arrow keys HOT 2
- Custom menu button icon name cannot be blank
- Favorites position HOT 1
- Question - Theming the app right click menu box HOT 5
- Feature request - Cinnamenu specific customStyleClass HOT 1
- Setting min-height: in .menu-application-button causes Cinnamenu rendering error HOT 4
- Cinnamenu search entry box doesn't expand to allow for theme set padding. HOT 1
- List view pane does not expand horizontally to match search entry width. HOT 1
- Cinnamenu doesn't work on Linux Mint 19 and cinnamon 3.8.9 HOT 1
- List view right click menu rendering outside of menu view.
- Cinnamon 4.0.1 + Cinnamenu 4.0.1 - custom menu icon fails to load on restart. HOT 1
- App list highlight padding needs adjustment HOT 1
- Cinnamenu doesn't always show content of categories HOT 1
- improve grid HOT 3
- Category box gets cropped on lower resolutions
- Cinnamenu empty HOT 2
- Create up to date default PO file for translations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cinnamenu.