wvdial plasmoid
KDE Plasma 4 Extensions
Score 68%
Description:

Wvdial is a small interface for wvdial, it's just start, stop and show you the wvdial log.
This plasmoid works only with wvdial and GSM/CMDA connection.

How to install:

tar xvfa wvdial-1.1.tar.lzma
cd wvdial-1.1
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make
sudo make install
Last changelog:

5 years ago

1.3 * Don't start more then one wvdial.
* Qt4.4 compile.
* Now you can configure the wait time.


1.2 * Make wvdial plasmoid more generic, check the "don't check for gsm modems" checkbox if you don't want this plasmoid to check for gsm modems.
* Terminate wvdial when the sleep/power buttons are pressed or lid is closed/opened.
* Hope now it will compile with qt 4.4

1.1 compile with qt 4.4
add terminate command

1.0 this is my fist plasmoid and it's fist version. Please don't kill me ;)

tshering

4 years ago

tshering@Inspiron-N5050:~/Downloads$ tar xvfa 101481-wvdial-plasmoid-1.3.tar.lzma
wvdial-plasmoid-1.3/
wvdial-plasmoid-1.3/wvdialConfig.ui
wvdial-plasmoid-1.3/Messages.sh
wvdial-plasmoid-1.3/wvdial.kdev4
wvdial-plasmoid-1.3/plasma-wvdial-default.desktop
wvdial-plasmoid-1.3/wvdial.cpp
wvdial-plasmoid-1.3/debian/
wvdial-plasmoid-1.3/debian/compat
wvdial-plasmoid-1.3/debian/copyright
wvdial-plasmoid-1.3/debian/files
wvdial-plasmoid-1.3/debian/control
wvdial-plasmoid-1.3/debian/changelog
wvdial-plasmoid-1.3/debian/rules
wvdial-plasmoid-1.3/wvdialTextItem.h
wvdial-plasmoid-1.3/wvdialTextItem.cpp
wvdial-plasmoid-1.3/wvdial.h
wvdial-plasmoid-1.3/CMakeLists.txt
tshering@Inspiron-N5050:~/Downloads$ cd wvdial-plasmoid-1.3
tshering@Inspiron-N5050:~/Downloads/wvdial-plasmoid-1.3$ mkdir build
tshering@Inspiron-N5050:~/Downloads/wvdial-plasmoid-1.3$ cd build
tshering@Inspiron-N5050:~/Downloads/wvdial-plasmoid-1.3/build$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.8.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl (found version "5.14.2")
-- Found Phonon: /usr/include (Required is at least version "4.3.80")
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.10 include dir: /usr/include
-- Found KDE 4.10 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tshering/Downloads/wvdial-plasmoid-1.3/build
tshering@Inspiron-N5050:~/Downloads/wvdial-plasmoid-1.3/build$ make
Scanning dependencies of target plasma_applet_wvdial_automoc
Generating wvdial.moc
Generating moc_wvdialTextItem.cpp
[ 0%] Built target plasma_applet_wvdial_automoc
[ 25%] Generating ui_wvdialConfig.h
Scanning dependencies of target plasma_applet_wvdial
[ 50%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/plasma_applet_wvdial_automoc.o
[ 75%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/wvdial.o
/home/tshering/Downloads/wvdial-plasmoid-1.3/wvdial.cpp:30:38: fatal error: solid/control/networking.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/plasma_applet_wvdial.dir/wvdial.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wvdial.dir/all] Error 2
make: *** [all] Error 2


So another error present...

Report

cpliviu

5 years ago

powermanager.h is deleted
http://websvn.kde.org/?view=revision&revision=120178

Report

osinclair

5 years ago

Where can I find the updated source, would love to use this but can not compile

Report

pavbaranov

5 years ago

Hi,
I've tried to compile this plasmoid, but "make" command returns error. I'm using Kubuntu 12.04 with KDE 4.8.90 (KDE4.9beta), Qt4.8. I installed kde4-workspace-dev package (here is filelist of it: http://packages.ubuntu.com/precise/amd64/kde-workspace-dev/filelist )
The error with make is there:
Scanning dependencies of target plasma_applet_wvdial_automoc
Generating wvdial.moc
Generating moc_wvdialTextItem.cpp
[ 0%] Built target plasma_applet_wvdial_automoc
[ 25%] Generating ui_wvdialConfig.h
Scanning dependencies of target plasma_applet_wvdial
[ 50%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/plasma_applet_wvdial_automoc.o
[ 75%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/wvdial.o
/home/pawel/Pobrane/tmp/wvdial-plasmoid-1.3/wvdial.cpp:34:40: fatal error: solid/control/powermanager.h: No such file or directory compilation terminated.
make[2]: *** [CMakeFiles/plasma_applet_wvdial.dir/wvdial.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wvdial.dir/all] Error 2
make: *** [all] Error 2

Report

anderslund

8 years ago

Hi, I tried to download the source but failed. Is it still available?

Report

sil0x0000

8 years ago

To easily build this on Gentoo-linux use this ebuild file, put it in your local portage tree (eg./usr/local/portage/kde-misc/wvdial-plasmoid/)

preform:
# ebuild /usr/local/portage/kde-misc/wvdial-plasmoid/wvdial-plasmoid-1.3.ebuild digest

# emerge wvdial-plasmoid

good luck

greetz xander

---- file: wvdial-plasmoid-1.3.ebuild ----
DESCRIPTION="Plasmoid for getting status information from wvdial"
SRC_URI="http://licentia.eu/plasma/${P}.tar.lzma"
HOMEPAGE="http://www.kde-look.org/content/show.php/wvdial+plasmoid?content=101481"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-3"
IUSE=""

DEPEND=">=x11-libs/qt-core-4.5.0
>=dev-util/cmake-2.6.4"

RDEPEND="${DEPEND}"

src_unpack() {
unpack ${A}
mv ${P}/* .
rm -rf ${P}
}

src_compile() {
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
}

src_install() {
cd build
make install DESTDIR=${D}
}
------------------------- EOF

Report

smihael

8 years ago

Not downloadable :(

Report

C

taipan

8 years ago

Sorry, fixed !

Report

smihael

8 years ago

Thanks :)

Report

skyshado21

8 years ago

This is now the most useful plasmoid on my desktop. Your new version works flawlessly! Kudos to you. Keep up the great work! Thanks again for revising your version to not check for modems.

Report

C

taipan

8 years ago

Thanks

Report

shadab55

8 years ago

Thanks for your reply ....

I again downloaded the source

I still get the following error

[shadab@IBM-THINKPAD wvdial-1.1]$ cd
build/
[shadab@IBM-THINKPAD build]$ make
[ 25%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/wvdial.o
/home/shadab/Plasmoids/wvdial-1.1/wvdial.cpp: In member function ‘void Wvdial::readFromStderr()’:
/home/shadab/Plasmoids/wvdial-1.1/wvdial.cpp:227: error: no matching function for call to ‘QStringList::append(QStringList)’
/usr/include/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QString]
make[2]: *** [CMakeFiles/plasma_applet_wvdial.dir/wvdial.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wvdial.dir/all] Error 2
make: *** [all] Error 2
[shadab@IBM-THINKPAD build]$ rpm -q qt
qt-4.4.3-2.fc10.i386

Report

C

taipan

8 years ago

Hi,
Please try again with 1.2

Report

shadab55

8 years ago

Hi,

Thanks for releasing 1.2.

But now I receive the following last error at 100 %

[shadab@IBM-THINKPAD build]$ make
[ 25%] Generating ui_wvdialConfig.h
Generating wvdial.moc
Generating moc_wvdialTextItem.cpp
Scanning dependencies of target plasma_applet_wvdial
[ 50%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/plasma_applet_wvdial_automoc.o
[ 75%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/wvdial.o
/home/shadab/Download/wvdial-plasmoid-1.2/wvdial.cpp:122: warning: unused parameter ‘button’
[100%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/wvdialTextItem.o
/home/shadab/Download/wvdial-plasmoid-1.2/wvdialTextItem.cpp: In member function ‘virtual void WvdialTextItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)’:
/home/shadab/Download/wvdial-plasmoid-1.2/wvdialTextItem.cpp:48: error: ‘class QStringList’ has no member named ‘length’
/home/shadab/Download/wvdial-plasmoid-1.2/wvdialTextItem.cpp:48: error: ‘class QStringList’ has no member named ‘length’
/home/shadab/Download/wvdial-plasmoid-1.2/wvdialTextItem.cpp:50: error: ‘class QStringList’ has no member named ‘length’
make[2]: *** [CMakeFiles/plasma_applet_wvdial.dir/wvdialTextItem.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wvdial.dir/all] Error 2
make: *** [all] Error 2
[shadab@IBM-THINKPAD build]$

Kindly assist

Report

skyshado21

8 years ago

I'm having all kinds of problems installing this. This is my first time to install a plasmoid binary. I am pretty far in the process but this last problem has me puzzled. When i attempt to make i get the following:

roger@roger-laptop:~/Documents/wvdial-1.0/build$ make
[ 25%] Generating ui_wvdialConfig.h
Generating wvdial.moc
Generating moc_wvdialTextItem.cpp
[ 50%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/plasma_applet_wvdial_automoc.o
[ 75%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/wvdial.o
/home/roger/Documents/wvdial-1.0/wvdial.cpp:30:38: error: solid/control/networking.h: No such file or directory
/home/roger/Documents/wvdial-1.0/wvdial.cpp:31:44: error: solid/control/networkinterface.h: No such file or directory
/home/roger/Documents/wvdial-1.0/wvdial.cpp:32:42: error: solid/control/networkmanager.h: No such file or directory
/home/roger/Documents/wvdial-1.0/wvdial.cpp: In member function ‘virtual void Wvdial::init()’:
/home/roger/Documents/wvdial-1.0/wvdial.cpp:98: error: ‘Solid::Control’ has not been declared
/home/roger/Documents/wvdial-1.0/wvdial.cpp:100: error: ‘Solid::Control’ has not been declared
/home/roger/Documents/wvdial-1.0/wvdial.cpp: In member function ‘void Wvdial::updateInterfaces()’:
/home/roger/Documents/wvdial-1.0/wvdial.cpp:108: error: ‘Solid::Control’ has not been declared
/home/roger/Documents/wvdial-1.0/wvdial.cpp:108: error: expected `;' before ‘m_interfaces’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: ‘m_interfaces’ was not declared in this scope
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: template argument 1 is invalid
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: invalid type in declaration before ‘(’ token
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: request for member ‘e’ in ‘_container_’, which is of non-class type ‘int’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: ‘Solid::Control’ has not been declared
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: ‘interface’ was not declared in this scope
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:109: error: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
/home/roger/Documents/wvdial-1.0/wvdial.cpp:110: error: ‘Solid::Control’ has not been declared
/home/roger/Documents/wvdial-1.0/wvdial.cpp:110: error: ‘Solid::Control’ has not been declared
/home/roger/Documents/wvdial-1.0/wvdial.cpp: In member function ‘void Wvdial::readFromStdout()’:
/home/roger/Documents/wvdial-1.0/wvdial.cpp:212: error: no matching function for call to ‘QStringList::append(QStringList)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QString]
/home/roger/Documents/wvdial-1.0/wvdial.cpp: In member function ‘void Wvdial::readFromStderr()’:
/home/roger/Documents/wvdial-1.0/wvdial.cpp:219: error: no matching function for call to ‘QStringList::append(QStringList)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QString]
make[2]: *** [CMakeFiles/plasma_applet_wvdial.dir/wvdial.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wvdial.dir/all] Error 2
make: *** [all] Error 2

Any ideas on what im missing? I'm guessing im missing some dev package but can't figure out which one. Any help is greatly appriceated.

Report

Znurre

8 years ago

What version of KDE4 are you using?

Report

skyshado21

8 years ago

Kubuntu 8.10 running Kde 4.2.0. I've make some progress though. Found some qt devs i was missing. Now when running make i get this:

roger@roger-laptop:~/Documents/wvdial-1.0/build$ make
[ 25%] Generating ui_wvdialConfig.h
Generating wvdial.moc
Generating moc_wvdialTextItem.cpp
Scanning dependencies of target plasma_applet_wvdial
[ 50%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/plasma_applet_wvdial_automoc.o
[ 75%] Building CXX object CMakeFiles/plasma_applet_wvdial.dir/wvdial.o
/home/roger/Documents/wvdial-1.0/wvdial.cpp: In member function ‘void Wvdial::readFromStdout()’:
/home/roger/Documents/wvdial-1.0/wvdial.cpp:212: error: no matching function for call to ‘QStringList::append(QStringList)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QString]
/home/roger/Documents/wvdial-1.0/wvdial.cpp: In member function ‘void Wvdial::readFromStderr()’:
/home/roger/Documents/wvdial-1.0/wvdial.cpp:219: error: no matching function for call to ‘QStringList::append(QStringList)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QString]
make[2]: *** [CMakeFiles/plasma_applet_wvdial.dir/wvdial.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wvdial.dir/all] Error 2
make: *** [all] Error 2

I'm thinking its a qt dev package i'm missing but maybe not i'm not sure. Thanks for the response. Let me know what you think. i"ve installed at least 114 dev packages per info from other sites so i can't tell you what i have. But i can tell you if i have it if you think of something i might be missing.

Report

franzf

8 years ago

It's not a dev-package you are missing. You are using <qt-4.5. This version did not provide the function
QList::append(QList<T>)
This came with qt-4.5.0.

The easiest thing would be to replace append() with operator<<, as this also provides appending a "QList<T>" instead of only a "T".

Report

skyshado21

8 years ago

Thank you for your help! Ran into one more issue but found the answer myself this time. So i got it installed and it shows up on the desktop perfectly. And it just says "Please plug your device to your computer". I am using wvdial to connect to my blackberry via bluetooth to dial out. Using wvdial from the command line works perfectly. But the plasmoid doesn't recognize that the device is connected. I'm sure this is by design but if it's not and im missing something please let me know. Other than that great job on the plasmoid. Im sure it will be useful to many users.

Report

C

taipan

8 years ago

This plasmoid works only with wvdial and GSM/CMDA modems (like huawei e220 and e160).

Here is another plasmoid for GSM modems http://kde-look.org/content/show.php?content=101482

Report

shadab55

8 years ago

Hi,

Its a nice plasmoid and I need it badly.

I am using qt < 4.5

Can u specify, which files I should modify and which lines in them..

I would be extremely thankful to you.

Looking forward to hear from you

Report

C

taipan

8 years ago

Hi,

Quote:
Hi,
Its a nice plasmoid and I need it badly.


Thanks !

Quote:
I am using qt < 4.5

Can u specify, which files I should modify and which lines in them..

I would be extremely thankful to you.

Looking forward to hear from you


With 1.1 it should compile fine with qt 4.4 too, please download the source again and try to compile it (see the "How to install" above section). If is not compiling please give me the output and I'll fix it.

Report

5 years ago

1.3 * Don't start more then one wvdial.
* Qt4.4 compile.
* Now you can configure the wait time.


1.2 * Make wvdial plasmoid more generic, check the "don't check for gsm modems" checkbox if you don't want this plasmoid to check for gsm modems.
* Terminate wvdial when the sleep/power buttons are pressed or lid is closed/opened.
* Hope now it will compile with qt 4.4

1.1 compile with qt 4.4
add terminate command

1.0 this is my fist plasmoid and it's fist version. Please don't kill me ;)

product-maker vitoubien Jul 11 2012

product-maker 6 19

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.3
updated Jul 11 2012
added Mar 22 2009
downloads today
0
page views today 0