When preparing these KDE presentation we usually need some artwork from the KDE icons and sometimes I’m too lazy to find them. That won’t happen anymore since I created this really small tool that solves part of this problem .
Works like that:
This generates a 128px kalgebra.png file with the KAlgebra icon:
kde-devel@tatilx:~$ kicons kalgebra 128
This generates a 128px kalgebra128.png file with the KAlgebra icon:
kde-devel@tatilx:~$ kicons kalgebra 128 kalgebra128.png
And of course, the real reason to post
Just a quick technical note.
I was recently seeing how one of the tutors on the project I’m working on behaved with MacOS X and the console, I realised that he was using a lot the command open [filename] to open any document and decided I wanted that (I figured out that KDE had that but I couldn’t find the command open was not there).
Just after that, I realised at some other moment that we indeed have some kde-open command which does exactly that.
Since I didn’t like that it’s a little too long to write it all the time and that I don’t like to have my console polluted with doubtfully useful debug information I created this simple alias:
alias open="kde-open 2> /dev/null > /dev/null"
Maybe it can be useful for somebody.