
Detect My IP
Source (link to git-repo or to original if based on someone elses unmodified work):
I added some features which I use and put some options which someone might like.
Since I had trouble with packaging files into .plasmoid file I have made my own Bash installer. If you dont want to use bash, then please manually copy files in proper .kde/ subdirs.
If there are some feature requests, be free to post, I might add them.
Comments are welcome.
If you need for any reason to download older version of plasmoid, please visit website.
-----------------------------------
After reading post, I decided to send and source code for skeptic people.
I have been spending my time on installer just to make as easier as possible to new people, and now it seems that is pointless.
1.2
-Added: you can choose on which mouse button to update ip when clicked
-Added: copy to clipboard option (with button choosing)
-Modified: detectmyip plasmoid icon showup in configuration tabs
1.1
-Fixed: crash if internet connection is lost and everything (in settings) left on default
-Fixed: not showing last ip in red if internet connection lost (when that option is selected)
-Fixed: minor timer problem
-Modified: installer now asks to user press Enter to restart KDE or CTRL+C to skip restart
1.0
-Initial version
Ratings & Comments
7 Comments
Tried the installer. Unzips to an installer folder, please choose better name :-). Ran the script. After plasma restarts, still cannot access the plugin. One can run kbuildsycoca4 rather than the very disturbing but OK restart. Tried building from source. Now I can access the plugin but when I try to use it, get error cannot find component detectmyip. Also, please use a folder (you did on the installer).
Thanks for feedback. Can you tell me what KDE version do you run and what operating system? I am asking because I run this with KDE 4.6 on Debian 64bit. Using installer all was setup (as well uninstall works).
I am using kde from Debian Sid, probably 4.6. I have a 32-bit distribution (have not had the ... to change everything over to 64 bit my cpu supports). As Aaron Seigo suggests, these things need be compiled on on for target systems. Your .so is 64-bit, I assume? What CPU? Get the picture. However, I DID compile it and it did not work as I described.
I am new to C++/QT, and I thought that once I compile something that will be able to work on any Linux-based system. Yeah, .so file is compiled in 64bit environment, but I thought that linux32/linux64 do that stuff regardless is OS 32bit or 64bit. I never made .deb or .rpm package, but as I said above, I will give a try when I get more time. Thanks.
.plasmoid packages are only available for scripted plasmoids. compiled C++ plasmoids such as this one need to be built for each target system. you can use OBS (http://openbuildservice.org/) to build packages for you though and kde-apps.org handles the integration. cheers... :)
I was wondering why there is no information about packing C++ binaries. Also I didn't knew about that. Will play with that service when I get some time. Thanks.
Downloaded the zip file and there was an .so file, no source. A bit dangerous even trying it as the object file could have anything in it.