LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 08-10-2005, 07:10 AM   #1
dracolich
Senior Member
 
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159

Rep: Reputation: 47
klaptop in fluxbox


Greetings everyone! I just browsed the forum here and didn't find any threads for this. I've just switched from KDE to Fluxbox. It's not that I don't like KDE, I just wanted to use something that starts faster and uses fewer resources. And since FB has KDE support I can still use my kicker panel and run most KDE programs. I think my question is simple and I'm probably overlooking the answer. This is on a laptop so I'm trying to run klaptop_check when FB starts. Here is my ~/.fluxbox/apps file

[startup] {aumix -L}
[startup] {xscreensaver -no-splash &}
[startup] {kicker}
[startup] {klaptop_check}

aumix, xscreensaver and kicker start correctly, but klaptop doesn't. I keep having to open an xterm and type klaptop_check manually. I noticed that wether it's running or not it doesn't appear in a ps x list. Is that correct?

The laptop is a HP Pavilion ze4315 running Slackware 10.1 (with all the security updates), KDE 3.4.2 and Fluxbox 0.9.13. Need to know anything else?

Thanks!
 
Old 08-10-2005, 08:45 AM   #2
misunderstruck
LQ Newbie
 
Registered: Jan 2005
Location: Brooklyn, NY
Distribution: Gentoo; Fedora Core 3
Posts: 28

Rep: Reputation: 15
I don't know if this will help at all, but you could try putting
Code:
klaptop_check &
in your ~/.fluxbox/startup file. That's another place that fluxbox will look for startup programs.
 
Old 08-10-2005, 10:35 AM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159

Original Poster
Rep: Reputation: 47
Thank you for the quick reply. I have tried that before. I tried having klaptop and xscreensaver in the startup file but it seemed to do nothing. That was before I added kicker and aumix. It's worth trying again so I will.

Funny thing - I just turned my laptop on again a while ago. When I started kdm, logged in and loaded Fluxbox, I actually got an error message related to klaptop. I don't remember the exact words (should've written it down) but the gist was that it couldn't load because a network dcopserver wasn't running. But it loaded anyway and this time failed to load the xscreensaver daemon. I wonder, could the [startup] order have some affect? Or is there another KDE background component required? Maybe somebody knows a better laptop battery status daemon that I could use.
 
Old 08-12-2005, 12:08 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159

Original Poster
Rep: Reputation: 47
Well, I tried using the ~/.fluxbox/startup file again with no success. Just like the first time I tried, none of what I put in it gets started. It's as if Fluxbox ignores the startup file. So it's back in the apps file where it at least autostarts once in a while. Kicker, aumix and xscreensaver all autostart fine everytime, but klaptop is still being fussy. It still only produced a message that one time. Launching it from an xterm always works fine. Any ideas why won't it autostart properly? Any suggestions for better laptop battery status monitors?
 
Old 09-03-2005, 05:48 PM   #5
apunkt
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
Hi,

maybe here are some ways to solve your problem:
if you start your x-window-system with "xinit" or "startx" you can use the file /home/user/.xinitrc which looks a bit like this:

fbpager &
gkrellm &
fluxbox startup

if you start your xwindowsystem with a diplay manager (eg. xdm) you use the same content and put in /home/user/.xsession
Don't forget the "&" if an application should stay on the desktop.


Hope it helps.

Viele Grüße
Arvid

PS: Also a nice tool to see battery-status is gkrellm
 
Old 09-04-2005, 09:07 AM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159

Original Poster
Rep: Reputation: 47
Thanks. I've tried loading klaptop in .fluxbox/apps, .fluxbox/startup, .xsession and now .xinit. It just refuses to load with the desktop.

I didn't know I already had gkrellm. It's pretty cool and starts properly from .fluxbox/apps so I'll use it. It starts faster than klaptop (doesn't have to load all those libs) so that's even more appropriate for Fluxbox.
 
Old 09-12-2005, 03:03 AM   #7
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
Nothing really runs from the startup file? Only thing I can think of is that your startup file is either incorrect or it does not have execute permissions...

You could try launching KDE and checking which background programs it starts... then launch them in the order they are launched in KDE, if possible.
 
Old 09-12-2005, 06:54 AM   #8
dracolich
Senior Member
 
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,159

Original Poster
Rep: Reputation: 47
Thanks for the idea. the .x files are executable and have proper permissions. The other listed programs load: aumix and xscreensaver. klaptop has always worked fine in KDE. gkrellm works fine in Fluxbox. I'm happy with this setup. After getting more used to Fluxbox I think I'd rather not use KDE programs as they require more overhead.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with klaptop bucovaina78 Linux - Laptop and Netbook 0 04-14-2005 12:13 PM
where is klaptop? quarry_06 Linux - Laptop and Netbook 0 11-04-2004 03:14 PM
Where is my klaptop >?< Mandrake10 glycerine102 Mandriva 7 05-02-2004 11:34 AM
No Klaptop in Mandrake 10.0 koro Linux - Newbie 4 03-29-2004 08:45 PM
klaptop thom Mandriva 2 03-14-2004 03:16 PM


All times are GMT -5. The time now is 12:50 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration