A while ago I installed a bunch of lib32-* packages as optional dependencies for something. I ended up not needing them for whatever reason (don't remember anymore), so I decided to remove them. The problem was that I also wanted to keep the lib32-* packages that I was actually using. Now, I had my pacman install logs, so I could easily get a list of the specific packages I wanted to remove. If I wanted to be a bit fancier, I could have python parse a section of the logs to generate a remove command to use. This wasn't good enough, though. I decided that I wanted to use a bash one-liner.
After a few hours, I changed my mind. Instead, I have this 7-liner:
TMP1=`mktemp` TMP2=`mktemp` yaourt --textonly -Ss lib32-* | grep installed | cut -d "/" -f 2 | cut -d " " -f 1 > $TMP1 yaourt --textonly -Q -t | cut -d "/" -f 2 | cut -d " " -f 1 > $TMP2 comm -12 $TMP1 $TMP2 | xargs yaourt -R rm $TMP1 rm $TMP2 |
There might be an easier way, but if you have yaourt installed (this is for Arch Linux users) you can use this little script to remove all the packages matching some search (lib32-* in my case) that aren't required as dependencies for anything (including each other. Run multiple times to get those too.)
Next.
A while ago we received our conductive fabric, and we got nicer output from the accelerometer. It will still need to be "calibrated" at startup to some extent, but this will only require the user to have it not tilted more than 180 degrees from the desired neutral position when the calibration routine is run (which just deals with the first set of outputs from the accelerometer differently from all the others).
And finally:
I have uploaded a working implementation of the application launcher code I wrote a while ago. It doesn't use the panel applet GUI (my end goal), but it does work. Missing features include:
- "Learning" from previous searches
- Autodetection of environment (you need to set a few configuration variables manually)
- Scrolling through results (you can only run the first result at the moment)
All this will be added in time.
Post a Comment