LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-21-2002, 06:34 PM   #1
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Rep: Reputation: 30
Sys Tray


Im used to windows, is there a way to get progs to run in the systray in linux?

Im trying to get gkrellm to run in the sys tray in linux mandrake 8.2
 
Old 12-21-2002, 06:45 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yes, I think it's ksystray BUT, there is a better way to do this for Gkrellm.

Which wm do you use? Let's assume KDE, you can run it using this:
kstart --window gkrellm --alldesktops --ontop --skiptaskbar /usr/bin/gkrellm

Which I grabbed from here:
http://web.wt.net/~billw/gkrellm/FAQ.html

Cool
 
Old 12-21-2002, 06:50 PM   #3
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Original Poster
Rep: Reputation: 30
where is kstart?
 
Old 12-21-2002, 06:54 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
So I am assuming you are using KDE then? Open up a terminal and type that into it.

kstart is probably going to be in /bin or /usr/bin but you could find out with:
whereis kstart

Cool
 
Old 12-21-2002, 07:09 PM   #5
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Original Poster
Rep: Reputation: 30
I typed in

kstart --window gkrellm --alldesktops --ontop --skiptaskbar /usr/bin/gkrellm


and it gave me a cursor.


I pressed ctrl-c

and back to command

is that all????
 
Old 12-21-2002, 07:15 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Where are you when you type this? You want to be in your environment, and you want to (usually) execute this from a console. In kde it's konsole, so open up konsole and type:
kstart --window gkrellm --alldesktops --ontop --skiptaskbar /usr/bin/gkrellm &

This assumes gkrellm is in /usr/bin you can usually get away with not using absolute path on most recent distros.

Cool
 
Old 12-21-2002, 07:19 PM   #7
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Original Poster
Rep: Reputation: 30
I type that in KDE with the Konsole but this time when I added the --'s

I got a [4] 4322
 
Old 12-21-2002, 07:23 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
So I am completely lost... You have gkrellm installed right? You opened up konsole and typed:
Code:
kstart --window gkrellm --alldesktops --ontop --skiptaskbar gkrellm &
?

And it returned to you ONLY this:
[4] 4322

And did not popup gkrellm? Are you running this as a normal user or root, more specifically, are you running this as the user in which you are logged in as, and booted into gui as?

Cool
 
Old 12-21-2002, 07:25 PM   #9
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Original Poster
Rep: Reputation: 30
I have gkrellm already opened, should it be closed?

Excuse me as I am new to linux
 
Old 12-21-2002, 07:29 PM   #10
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Original Poster
Rep: Reputation: 30
ok I got it to come up now

now how do I get it to load into startup?
 
Old 12-21-2002, 07:35 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64


No worries as this is a site for newbies to linux

As for loading gkrellm at startup, that's not kstart at all That's an entry into your ~/.xinitrc file, which is the file to start your window manager.

How do you login, is it via "startx" or do you come to a GUI, type in your username and pass, have a drop down menu for choosing a wm, an then click Go or something like that?

If you use this "gui login" then it's actually .xsession that gets started, which means we will have a bit more luck modifying a different file.

Cool
 
Old 12-21-2002, 07:37 PM   #12
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Original Poster
Rep: Reputation: 30
I come to a gui and enter user and pass and have the drop menu for choosing the wm
 
Old 12-21-2002, 07:43 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Ok, then we'll be editing your ~/.xsession file. From this thread:
http://www.linuxquestions.org/questi...threadid=22472

I found this page:
http://david.us-lot.org/linux-config.php

Which Shows this:
http://david.us-lot.org/files/config/user/dot-xinitrc

Which at the very bottom shows how to execute gkrellm and kde.

Basically, you'll need this:
gkrellm &
exec startkde

I am NOT completely sure on this as I start X from a command prompt, accessing my xinitrc file which is EXTREMELY basic compared to the link up there.

So having said that, backup your .xsession file first:
cp .xsession .xsession.old

That way you have a backup copy in case something goes TERRIBLY wrong

Cool
 
Old 12-21-2002, 07:47 PM   #14
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Original Poster
Rep: Reputation: 30
hmmm, sounds risky
 
Old 12-21-2002, 07:57 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
ha ha ha, everything does at first. I personally wouldn't do it, but that's because I wouldn't login via gui. startx is just fine for me, especially with my love of command line, I don't always go into my gui.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sys tray in fc4 lostdata Linux - Newbie 3 08-14-2005 04:31 AM
network monitor for kde sys tray dukeinlondon Linux - Software 3 05-25-2005 01:33 PM
Is a Linux sys w/o any passwd's as secure as a microsoft windows sys w/no passwd? t3gah Linux - Security 4 04-22-2005 08:01 PM
Wine sys tray bratch Linux - Software 0 04-08-2005 04:49 AM
sys tray dujonn Linux - Newbie 2 12-19-2002 08:38 PM


All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration