Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th September 2007, 01:56 PM
ssb Offline
Registered User
 
Join Date: Jun 2007
Posts: 100
gnome giplet for kde ?

Hello,

I am finding the kde version about gnome giplet

anyone knows if it exists? about name ?

i am using to get the public ip from my adsl connection (using adsl router)

giplet is very useful because i can select eth0 or public ip throw free dns resolve webs

i got under gnome, but i use kde at home .. i like to use it at home ..

thank you

Last edited by ssb; 6th September 2007 at 03:38 PM.
Reply With Quote
  #2  
Old 6th September 2007, 04:21 PM
tho.mei's Avatar
tho.mei Offline
Registered User
 
Join Date: Jun 2005
Location: St. Gallen Switzerland or Christchurch, New Zealand
Age: 28
Posts: 708
Hallo ssb

you can start and use Gnome applications in KDE.

Tray to start in the console. May you can figure out
the command in Gnome. If you know the command,
you can ceate a icon in the KDE panel or dektop.

If it is not installed (like on my mashine) you will hat to
install it. But I've no idea wich package you need to install.

I'm a KDE only user.
__________________
tho.mei
I use KDE!
Many workstions and few servers running on Fedora or Scientific Linux professionally.
Using LINUX to do some scientific 3D-stuff.
I'm RHCT
Reply With Quote
  #3  
Old 6th September 2007, 09:05 PM
ssb Offline
Registered User
 
Join Date: Jun 2007
Posts: 100
giplet into kde

Hello,

If i run it like a python executable :

admin@darkstar giplet]$ ./giplet.py
Traceback (most recent call last):
File "./giplet.py", line 19, in <module>
import gnomeapplet
ImportError: No module named gnomeapplet

And it doesnt appear in any list of availables applets

how can i get my public ip into an applet ?
Reply With Quote
  #4  
Old 7th September 2007, 09:53 AM
tho.mei's Avatar
tho.mei Offline
Registered User
 
Join Date: Jun 2005
Location: St. Gallen Switzerland or Christchurch, New Zealand
Age: 28
Posts: 708
Hallo ssb

I'm not a Gnome user. But i can tell you how to do it in the console.

first of all: becomme root

ifconfig will show your IP the net-mask and mutch more:

Quote:
[root@fedora002 ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:16:EE:B3:21:F5
inet addr:192.168.2.35 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::234:d3ff:ffff:27f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2009 errors:0 dropped:0 overruns:0 frame:0
TX packets:2139 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1078844 (1.0 MiB) TX bytes:358992 (350.5 KiB)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1891 errors:0 dropped:0 overruns:0 frame:0
TX packets:1891 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7812544 (7.4 MiB) TX bytes:7812544 (7.4 MiB)
route will show you the geatwey: (if it is set)

Quote:
[root@fedora002 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth1

cat /etc/resolv.conf will show the DNS-Server:

Quote:
[root@fedora002 ~]# cat /etc/resolv.conf
# generated by NetworkManager, do not edit!

nameserver 192.168.2.1
To edit the networksettings I use normaly the Fedora-Network-Tool. You can find it in the panel menu of KDE.
Or use the command "system-config-network" in the console.

I hope I colud help you. I'm not sure if it is wath you are looking for.
__________________
tho.mei
I use KDE!
Many workstions and few servers running on Fedora or Scientific Linux professionally.
Using LINUX to do some scientific 3D-stuff.
I'm RHCT
Reply With Quote
  #5  
Old 7th September 2007, 11:27 AM
ssb Offline
Registered User
 
Join Date: Jun 2007
Posts: 100
Hello,

Thank your for you responding ...

But, i am look for an gui version that it executes something similar to

curl -s http://www.whatismyip.org/

and it repeted between 30 minutes, for example
Reply With Quote
  #6  
Old 11th September 2007, 08:07 PM
ssb Offline
Registered User
 
Join Date: Jun 2007
Posts: 100
resolved: copied from supermonitor kde theme

Hello,

I am searching into kde-apps and i've found a theme very useful, -supermonitor-

It is very simple to learn to make themes into kde .

Only a few changes i can get public ip and lan ip.

p.theme for example:
--------------------------cut & paste -------------------------------------------------
# SMonitor
# Author: santos
# Licence: GPL

#karamba x=0 y=0 w=150 h=30 interval=10000
karamba x=0 y=0 w=150 h=30
defaultfont font="DejaVu Sans Condensed" fontsize=10 color=255,255,255 shadow=0

text x=5 y=5 value="IP Publica:" fontsize=10 style=bold
text x=60 y=5 sensor=program program="rm -rf .temp ; mkdir .temp ; cd .temp ; wget http://checkip.dyndns.org/index.html && cat index.html | cut -d ' ' -f 6 | cut -d '<' -f 1 ; cd .. ; rm -rf .temp" interval=1800000 style=bold fontsize=12
text x=5 y=18 value="IP LAN:" fontsize=10 style=bold
text x=60 y=18 sensor=program program="/sbin/ip addr s
--------------------------cut & paste -------------------------------------------------
file
mandriva.png: PNG image data, 40 x 60, 8-bit/color RGB, non-interlaced
-----------------------------------------------------------------------------------------

maindata.xml :
--------------------- cut & paste ------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE superkaramba_theme>
<superkaramba_theme>
<themefile>IPPublica.theme</themefile>
<name>Muestra IP Publica</name>
<icon>mandriva.png</icon>
<description>Muestra ip publica (adsl) e interna eth0</description>
<author>SANTOS</author>
<author_email></author_email>
<version>0.5</version>
<license>GPL</license>
--------------------- cut & paste ------------------------------------

and from bash :

superkaramba, load p.theme and test it ...

it you want to launch from kde statupt,

into .kde/Autostart , a file publicip.desktop for example
--------------------- cut & paste ------------------------------------
[Desktop Entry]
Exec=superkaramba <directory>/supermonitor/p.theme
Name=publicip
Type=Application
X-KDE-StartupNotify=false
--------------------- cut & paste ------------------------------------

and i got my adsl-internet router ip ( public ip ) and my lan ip (eth0)
into a theme.

And, can anyone help me to create an applet kde ?

thank you
Reply With Quote
Reply

Tags
giplet, gnome, kde

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded 9>10>11: A) No audio in Gnome" B) can't log into Gnome on GUI boot fashionhat Installation and Live Media 1 5th October 2009 05:21 AM
gnome-panel doesn't start with gnome MadVillain Using Fedora 1 4th March 2009 03:42 AM
Gnome-Art Next Gen rpm for F9 ( Gnome theme and wallpaper downloader ) leigh123linux Fedora Focus 25 31st December 2008 07:58 PM
eggcups and gnome volume manager cancelled at starting gnome in fc3 copter Using Fedora 9 28th November 2004 08:59 AM


Current GMT-time: 11:29 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat