Search for packages with whisker menu
- spidermouse
- Posts: 34
- Joined: Sat Mar 17, 2018 10:19 pm
Search for packages with whisker menu
Interesting trick with the Whisker Menu:
If the search is set as the second option in this post:
https://askubuntu.com/questions/1035247 ... 76#1035276
The searching can be done with "!s pkgname".
Open Whisker and type "!s synaptic" (without the quotes) then press Return and zenity dialog pops up displaying a list.
If the search is set as the second option in this post:
https://askubuntu.com/questions/1035247 ... 76#1035276
The searching can be done with "!s pkgname".
Open Whisker and type "!s synaptic" (without the quotes) then press Return and zenity dialog pops up displaying a list.
Re: Search for packages with whisker menu
Umm. I get an Error: Failed to execute child. on MX-17.1_x64
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
Re: Search for packages with whisker menu
Ahh, no. Only yad.
I'll get it.
I'll get it.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
Re: Search for packages with whisker menu
with zenity-3.22.0-1+b1, I get the same error.
Must be something else that the stock MX-17.1 is missing?You do not have the required permissions to view the files attached to this post.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
Re: Search for packages with whisker menu
Nice! Wonder what's the way to link it up to MXPI or synaptic or something to get an option to install from there... similar to newer gnome shell features... cool trick!
I was able to get it going on stock mx 17.1 with just installing zenity and dctrl-tools per the Ask Ubuntu post... maybe double check the entry in whisker menu settings? That error comes up if the script path is incorrect or possibly if the script is not executable. I know it took me like three tries to get it in right
- spidermouse
- Posts: 34
- Joined: Sat Mar 17, 2018 10:19 pm
Re: Search for packages with whisker menu
Richard maybe it will work with yad
Don't forget to install dctrl-tools
Or with a different pattern:
Name: Enter package name(s) to searh for
Pattern: +s
Command: /bin/bash -c "/home/richard/Desktop/pkginfo %s"
Don't forget to install dctrl-tools
Code: Select all
#!/bin/bash
PKG="$@"
PKGNAME="$(grep-available -sPackage -sVersion -sDescription . /var/lib/apt/lists/*_Packages |
grep -A 2 -E "^Package\: .*${PKG}" |
awk '{$1="";print $0}' |
yad --list --width=900 --height=700 --column="Package" --column="Version avail" --print-column=1 \
--column="Description" --column="" --hide-column=4 --title="package info" --text="pkg info" --center)"
PKGNAME="${PKGNAME//|/''}"
[[ ! -z ${PKGNAME} ]] && apt-cache show ${PKGNAME} | yad --text-info --title="apt-cache show $PKGNAME" --width=900 --height=700 --center
Name: Enter package name(s) to searh for
Pattern: +s
Command: /bin/bash -c "/home/richard/Desktop/pkginfo %s"
- spidermouse
- Posts: 34
- Joined: Sat Mar 17, 2018 10:19 pm
Re: Search for packages with whisker menu
No idea how to link it to synaptic or MXPI. I've tried to to use the xdotool to type the package name and enter into the synaptic's search bar but that didn't work.
Re: Search for packages with whisker menu
I checked, and I already had dctrl-tools-2.24-2+b1 and yad-0.38.2-1 installed.
Then installed zenity-3.22.0-1+b1,
but when I try "!s" in whisker menu,
I get the same error as in the image above?
I'm running xfce4-whiskermenu-plugin-2.1.5-0mx17, just in case there's a newer one.
Then installed zenity-3.22.0-1+b1,
but when I try "!s" in whisker menu,
I get the same error as in the image above?
I'm running xfce4-whiskermenu-plugin-2.1.5-0mx17, just in case there's a newer one.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
Re: Search for packages with whisker menu
The error message means whisker menu doesn't know your command. What that probably means is the Search Actions command for !s is not pointing to the script, or something like that. I would just double check your name, pattern, and command entries.