Jump to content

Fluxbox, I need help?


jmr0311
 Share

Recommended Posts

Can anyone tell me how to remove gDesklets program complitely from my computer. I'm so confuse that I don't want to fight it anymore. I install several packages ( eg. rpm, src, urpmi, etc ) in my desperates attempt to make it worked. I'm tired of seing the windows of errors showing on my desktop when I'm trying to run Desklets. I just want to do a clean install from URPMI and see how that work, but first I want wipe out any traces of gdesklets. Please help me...!!! .

 

Javi

Edited by jmr0311
Link to comment
Share on other sites

  • Replies 66
  • Created
  • Last Reply

Top Posters In This Topic

Where did you extract your display sensor?

 

Sounds like it's just a matter of pointing to the correct location of the Goodweather.display file.

 

That path you posted is the actually gdesklets directory that contains all of your preferences so the file would'nt be there unless you extracted them there.

Edited by spiedra
Link to comment
Share on other sites

If you really want you can unistall the gdesklets and install them via urpmi. But I don't think many people approve of that *cough,cough*Ohms* . But try this remove the GoodWeather gdesklet and re-install it but this time save it to your Documents so that it's easy to access it. I'm not sure what you are doing but when you download the GoodWeather gdesklets untar it and cd into the output folder. Install the sensor by doing ' ./Install_GoodWeather_Sensor.bin ' this should give you that box that says it has been installed then try running once again ' gdesklets GoodWeather.display ' or you can try running ' gdesklets ' from your home directory.

 

-Luis

Link to comment
Share on other sites

This is what Kconsole looks like when I try to untar the GoodWeather package on a different directory.

[jmr0311@home-desktop jmr0311]$ cd DESKLETS/

[jmr0311@home-desktop DESKLETS]$ tar -jxvf GoodWeather-0.4.tar.bz2

GoodWeather/

tar: GoodWeather: Cannot mkdir: Permission denied

GoodWeather/gfx/

tar: GoodWeather/gfx: Cannot mkdir: No such file or directory

GoodWeather/gfx/bg-weather.png

tar: GoodWeather/gfx/bg-weather.png: Cannot open: No such file or directory

GoodWeather/gfx/bg-right.png

tar: GoodWeather/gfx/bg-right.png: Cannot open: No such file or directory

GoodWeather/gfx/bg-left.png

tar: GoodWeather/gfx/bg-left.png: Cannot open: No such file or directory

GoodWeather/gfx/bg-bar.png

tar: GoodWeather/gfx/bg-bar.png: Cannot open: No such file or directory

GoodWeather/README

tar: GoodWeather/README: Cannot open: No such file or directory

GoodWeather/GoodWeather.display

tar: GoodWeather/GoodWeather.display: Cannot open: No such file or directory

GoodWeather/Install_GoodWeather_Sensor.bin

tar: GoodWeather/Install_GoodWeather_Sensor.bin: Cannot open: No such file or directory

GoodWeather/INSTALL

tar: GoodWeather/INSTALL: Cannot open: No such file or directory

tar: Error exit delayed from previous errors

[jmr0311@home-desktop DESKLETS]$

 

It's denying me the permission of performing that task. Why is that happening ? any ideas...

 

Javi

Link to comment
Share on other sites

Well if it is owned by root then cd into the gdesklet folder and type in

 

su

 

which you probably already know and it will prompt you for your root password, put that in and hit Enter and then try running the gdesklets.

 

-Luis

Link to comment
Share on other sites

Thank you Spiedra and Luis101 for your information. What I did was what Spiedra said about creating a directory in user mode and untar the file in there. Ones I did that, everything start working perfect again. But I have two problems still;

 

1- I still can get gDesklets to run automatically when I go to Fluxbox and display the desklets of weather. If I open Eterm terminal and type " gdesklets ", then the weather Desklets appears.

(This is copy of my startup file on the ~/.fluxbox/ directory;)

 

# fluxbox startup-script:

#

# Lines starting with a '#' are ignored.

 

# You can set your favourite wallpaper here if you don't want

# to do it from your style.

#

fbsetbg -f /usr/share/fluxbox/backgrounds/Underwater.jpg

#

# This sets a black background

 

/usr/X11R6/bin/bsetroot -solid black

 

# This shows the fluxbox-splash-screen

# fbsetbg -C /usr/share/fluxbox/splash.jpg

 

# Other examples. Check man xset for details.

#

# Turn off beeps:

# xset -b

#

# Increase the keyboard repeat-rate:

# xset r rate 195 35

#

# Your own fonts-dir:

# xset +fp /home/zero/.font

#

# Your favourite mouse cursor:

# xsetroot -cursor_name right_ptr

#

# Change your keymap:

# xmodmap ~/.Xmodmap

 

 

 

# Applications you want to run with fluxbox.

# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.

#

# unclutter -idle 2 &

# wmnd &

# wmsmixer -w &

idesk &

gdeskcal &

# gaim &

Eterm -x -0 --trans --buttonbar 0 --scrollbar=off -f orange &

Eterm -x -0 --trans --buttonbar 0 --scrollbar=off -f orange &

# acme &

gdesklets GoodWeather.display &

 

# And last but not least we start fluxbox.

# Because it is the last app you have to run it with ''exec'' before it.

exec /usr/X11R6/bin/fluxbox

# or if you want to keep a log:

# exec /usr/X11R6/bin/fluxbox -log /home/jmr0311/.fluxbox/log

 

2- On the Desklets of Good Weather Display, the first day of the forecast shows as high temperature the word " N/A ". How can I fixed that ?

What you guys think is the problem with my configuration. I install a few more applications in Fluxbox like idesk, Rox, gDeskcal, etc. but they dont startup either.

 

Javi

Edited by jmr0311
Link to comment
Share on other sites

For the start up, just type

gdesklets &

instead of

gdesklets GoodWeather.display &

As for the N/A, if you right click on the Weather desklet, click configure you have to congure your city using the appropriate code for it. Once you have it configured to your city then it should work.

Link to comment
Share on other sites

Hi guys ones again; I'm still having the problem even after I did the change you suggest. Fluxbox doesn't start the weather desklets automatically. When I open Eterm and type gdesklets the weather desklets appear find with no n/a problem now but if I close the Eterm session the weather desklets disapear from the window. I did some search about startup file for Fluxbox and find this link that talks about it. Then I went to this directory in my system /etc/X11/wmsessioon.d/ and found the file call "16fluxbox" then I open it with kwrite to see the content;

NAME=fluxbox

ICON=fluxbox.png

EXEC=/usr/X11R6/bin/startfluxbox

DESC=Windowmanager based on the original blackbox-code

SCRIPT:

exec /usr/X11R6/bin/startfluxbox

 

After seeing this I went to this directory " /usr/X11R6/bin/ ", and found the " startfluxbox " script in there, so I open it to see how it looks like and this is what I found;

 

#!/bin/sh

# $Id: startfluxbox.in,v 1.3 2003/12/06 16:29:21 fluxgen Exp $

if [ -x ~/.fluxbox/startup ]; then

    exec ~/.fluxbox/startup

elif [ -r ~/.fluxbox/startup ]; then

    exec sh ~/.fluxbox/startup

else

    if [ ! -d ~/.fluxbox ]; then

mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}

    fi

    if [ ! -r ~/.fluxbox/startup ]; then

        cat << EOF > ~/.fluxbox/startup

# fluxbox startup-script:

#

# Lines starting with a '#' are ignored.

 

# You can set your favourite wallpaper here if you don't want

# to do it from your style.

#

# bsetbg -f ~/pictures/wallpaper.png

#

# This sets a black background

 

/usr/X11R6/bin/bsetroot -solid black

 

# This shows the fluxbox-splash-screen

# fbsetbg -C /usr/share/fluxbox/splash.jpg

 

# Other examples. Check man xset for details.

#

# Turn off beeps:

# xset -b

#

# Increase the keyboard repeat-rate:

# xset r rate 195 35

#

# Your own fonts-dir:

# xset +fp $HOME/.font

#

# Your favourite mouse cursor:

# xsetroot -cursor_name right_ptr

#

# Change your keymap:

# xmodmap ~/.Xmodmap

 

 

 

# Applications you want to run with fluxbox.

# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.

#

# unclutter -idle 2 &

# wmnd &

# wmsmixer -w &

# idesk &

 

# And last but not least we start fluxbox.

# Because it is the last app you have to run it with ''exec'' before it.

 

exec /usr/X11R6/bin/fluxbox

# or if you want to keep a log:

# exec /usr/X11R6/bin/fluxbox -log ~/.fluxbox/log

EOF

    fi

    chmod 755 ~/.fluxbox/startup

    exec ~/.fluxbox/startup

fi

 

Can you tell me if there is an error here that is preventing fluxbox from using the startup file I created it in this directory " /home/jmr0311/.fluxbox/. Thanks

 

Javi

Link to comment
Share on other sites

Hi members; Can anyone in here help me understand this:

 

Another sample of startup file

 

export PATH=$PATH:/usr/local/bin

export LC_ALL=nl_NL

#export LC_ALL=nl_NL.UTF-8

export DISPLAY=:0.0

#bsetroot -solid black

fbsetbg -C ~/.fluxbox/splash.jpg

exec &> ~/.fluxbox/log

xmodmap ~/.Xmodmap

xset -b

xset r rate 195 35

# xset +fp $HOME/.font

unclutter -idle 2 -jitter 5 &

xset s off

 

(

    sleep 6 ; idesk &

    sleep 3 ; ssh_haddock &

    sleep 3 ; exec emacs --iconic /haddock:documenten/nop &

    sleep 3 ; xmms &

    sleep 3 ; firefox &

#  sleep 3 ; fbpager &

#  sleep 3 ; xscreensaver &

)&

 

#exec /usr/bin/fluxbox -log ~/.fluxbox/log

#exec ~/src/fluxbox/src/fluxbox -log ~/.fluxbox/log

exec /usr/local/bin/fluxbox #-log ~/.fluxbox/log

#exec aterm

bsetroot -solid black

 

It looks very similar to the Fluxbox startup file sample I posted in the previous post But there are some differences, I will like to understand some of the lines in that script;

export PATH=$PATH:/usr/local/bin

export LC_ALL=nl_NL

#export LC_ALL=nl_NL.UTF-8

export DISPLAY=:0.0

Are they command lines that would work for anybody or it's unique.

 

Javi

Edited by jmr0311
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...