PDA

View Full Version : XFCE4 and gnome-panel



champagnemojo
08-13-2004, 08:23 AM
I've been using this combination for a few days now, and love it. I found xfce4 to be very fast and light-weight, but I didn't much care for it's panel and lack of certain features. I was looking for something on google and happened to see that some people use gnome-panel within xfce4. The result is that you have gnome's functionality at your fingertips, but within a much lighter window manager.

I'm sure that it's not as fast as running pure xfce4, but it seems to be significantly faster than gnome (and kde). It's very easy to get rid of xfce's panel and taskbar and use gnome-panel using xfce4's session editor (which shows up in gnome-panel's notification area). If you want speed, but don't want to give up functionality this seems to be a really nice compromise between the two.

mzilikazi
08-13-2004, 11:37 PM
HI champagnemojo

Always glad to see a fellow xfce4 user. :) I too love the speed and simplicity. I also agree that the panel is in need of some 'upgrades' but in fact it already has them! Unfortunately xfce4 in Debian is quite differnt than the cvs version. I beleive this is in part due to the way in which xfce4 has evolved. Both xffm-icons & xfce4-modules are deprecated.

I have some screens (http://mzilikazix.org/screens). Please note the nice panel menu, desktop icons and improvements to the configurability of xfce4.

The menu does not yet seem to find all of the applications (solved w/ deskmenu). The desktop icons are provided by rox and requires only a small edit to your xinitrc file for xfce to run rox on start. It seems as tho rox and xfce4 were built for each other.

To launch the rox pinboard w/ xfce4 (after installing rox (http://rox.sourceforge.net/phpwiki/index.php/DebianLinux) of course).


scite /etc/X11/xfce4/xinitrc
comment (or remove):
#xfdesktop&
add:
rox -p desktop&

BTW rox pinboard should also work just fine using the gnome-panel.

There is a new installer (http://xfce.lindesign.se/db/viewtopic.php?t=845) (unofficial??) for xfce4 from cvs. Automaticly download and build xfce4-cvs w/ little effort on your part. Everything installs to your choice of directories and is easily removed. So far it has worked well in 3 attempts. Please be sure to remove any xfce4 debian packages first. I am not sure how they would regard each other but likely it would not be a good thing!

Keep in mind that debian xfce4 plugins & goodies will of course insist on having xfce4 from Debian installed. It is therefor recommended that you build the goodies & plugins by hand which is not yet automated. gtk2 themes do not require xfce4 from Debian and work just fine.

I have built a few remasters of Kanotix w/ its excellent GRUB boot menu and fantastic SID installation w/ the exact xfce4-rox desktop you see linked although it is still in need of tweaking. Specifically everything must be configured by hand as none of the defaults (especially the very unattractive default rox pinboard) are adequate.

Perhaps after BUG_HUNTER_08 w/ squashfs is released I will no longer be too embarrassed to make available an xfce4 remaster. :) Perhaps w/ a gnome-panel & gdesklets option?? Certainly I am very glad to hear any suggestions ideas comments or otherwise.

champagnemojo
08-14-2004, 05:26 AM
Thanks for the info mzilikazi. I installed the cvs version on my test partition. It's definitely go better functionality than what you get through debian. Some things I was really missing, like being able to close windows by right-clicking on the taskbar entry and such are there. The file manager is much better too. My only gripe now...which is admittedly small, but still important to me...is the way you can't have both the panel and taskbar at the bottom of the screen. I'm not sure I can get used to having one on top and one on bottom.

The rox pinboard thing is great. I already had rox-filer installed, but I had no idea it could do that. I was wondering about being able to put desktop icons and such into xfce4 though. And some features of rox, like the way it mounts cd-roms automatically and such is very nice for the desktop. I'm having a problem getting xfce4 start up with the pinboard though. I changed the xinitrc file as you mentioned but that didn't do it. I now get just a black screen when it starts up. I can run "rox -p desktop" once I have xfce4 running...but I wish I could get it to start it up automatically. Any ideas on what might be wrong?

CrashedAgain
08-14-2004, 03:35 PM
HI champagnemojo

Always glad to see a fellow xfce4 user. :) I too love the speed and simplicity. I also agree that the panel is in need of some 'upgrades' but in fact it already has them! Unfortunately xfce4 in Debian is quite differnt than the cvs version. I beleive this is in part due to the way in which xfce4 has evolved. Both xffm-icons & xfce4-modules are deprecated.

I have some screens (http://mzilikazix.org/screens). Please note the nice panel menu, desktop icons and improvements to the configurability of xfce4.

.

Looks good!! I didn't know there was a way to get desktop icons on xfce, I'll have to try it. I've pretty well stuck with KDE because I really like Konqueror & Kate but they will run under xfce.

Durand Hicks
08-14-2004, 07:48 PM
You'll have to edit the pb file in /home/youruseraccount/.rox_choices/rox-filer. If you study it a bit, you can edit it to display an icon for your mount point(s). This is what I have done with enlightenment as well. I don't know how to make the pinboard start with enlightenment but from some of the documentation I've read, you might need the rox-session package. Personally, I just make an entry in the menu for the pinboard, both on and off to give me control at will with a click.

HTH,

Durand

P.S. Do the moderators allow posting of jpgs to display screenshots if it was to show how things look?

champagnemojo
08-15-2004, 05:35 AM
You'll have to edit the pb file in /home/youruseraccount/.rox_choices/rox-filer. If you study it a bit, you can edit it to display an icon for your mount point(s). This is what I have done with enlightenment as well. I don't know how to make the pinboard start with enlightenment but from some of the documentation I've read, you might need the rox-session package. Personally, I just make an entry in the menu for the pinboard, both on and off to give me control at will with a click.


I'm not sure I understand. I was able to create desktop icons for my mount points by dragging from rox-filer onto the desktop. You may be right about rox-session. But you'd think it could just be added to a script. I save my session with rox pinboard running the same way I got gnome-panel and gkrellm to load up automatically, but it doesn't seem to save the pinboard. And it just shows /rox in the session editor.



P.S. Do the moderators allow posting of jpgs to display screenshots if it was to show how things look?

I think showing screenshots the way mzilikazi did it is probably best. That way people can choose whether or not to download the jpgs if they're on dialup. But as long as you made the screenshot small enough, I imagine the mods wouldn't mind you putting it in the body of the message. I've seen people do it here before...I think I've even done it once or twice. :D

champagnemojo
08-15-2004, 10:16 AM
Here (http://pictures.champagnemojo.com/xfce4rox.jpg) is a screenshot I took of xfce4 with the gnome-panel and rox pinboard. It's not as fancy as mzilikazi's setup, but it works...now if I can just get pinboard running at startup I'll be set. :wink:

mzilikazi
08-15-2004, 12:30 PM
Doh! methinks I named the wrong file.
champagnemojo try /usr/local/etc/xfce4/xinitrc instead.
Which session manager do you use? I use gdm which reads its configuration from /usr/share/xsessions/ which in turn launches /usr/local/bin/startxfce4 which in turn executes /usr/local/etc/xfce4/xinitrc.

(oy vey that's alot of nonsense just to get the wm started!).

Your screen looks nice using the gnome-panel. Are you using xfce4 to set the background still or has rox taken over that task? On my system I simply right click the desktop, select Background and drag & drop a new background from a rox-filer window. You may need to tweak the 'Compatibility' settings under rox preferences.

Oh and as for the screens posted in the forum I'm not sure how well they're approved but I have seen them (reduced in size of ).

champagnemojo
08-15-2004, 07:38 PM
I'm using kdm, but you had the right file all along. The problem was that the session manager was being invoked and was choosing what to run at startup. So I commented out the session manager and added my stuff to the initrc file and now it's working great. You should see how fast it starts up.

Yep, rox takes over the background setting, so I dragged and dropped like you did. I just figured since I was using xfce4 that I'd go with their background. I must say, I'm really pleased with this setup. Thanks for helping me get it working.

mzilikazi
08-15-2004, 11:17 PM
Right on! Glad you like it. Have you noticed that rox is even mentioned in the splash screen? Perhaps you could post your tips on using gnome-panel w/ XFCE4? Post your config files?

If you like to use deskmenu:

apt-get install deskmenu
touch ~/Desktop/Autostart/deskmenu.sh
echo "deskmenu -f /etc/deskmenurc.debian" > /Desktop/Autostart/deskmenu.sh
chmod +x ~/Desktop/Autostart/deskmenu.sh

(You may want to specify your own button for deskmenu w/ the -b option).

Obviously ~/Desktop/Autostart is where you put anything you want to run on login as well. I also launch gdesklets from there.

champagnemojo what app is it that you're using to display cpu temp et. al.? A frontend for mbmon?

champagnemojo
08-16-2004, 05:05 AM
Right on! Glad you like it. Have you noticed that rox is even mentioned in the splash screen? Perhaps you could post your tips on using gnome-panel w/ XFCE4? Post your config files?

I can do that if people are interested. There's really not much editing to do now that I figured it out. The splash screen is part of the session manager, which I'm not invoking. So I don't see the splash screen. To be honest, it loads so fast there's no need for a splash screen unless wanted for show. Xfce4 is pretty much loaded in less than a second. The only issue I have at this point is also related to not using the session manager. When I click the logout button on the gnome-panel I'm shot right back to the KDM screen. I no longer have the option to shutdown straight out of xfce4. But gnome will only shoot you back to KDM too, so that's not a big deal really. And I could always add my own button to invoke xfce4's shutdown script.



If you like to use deskmenu:

apt-get install deskmenu
touch ~/Desktop/Autostart/deskmenu.sh
echo "deskmenu -f /etc/deskmenurc.debian" > /Desktop/Autostart/deskmenu.sh
chmod +x ~/Desktop/Autostart/deskmenu.sh

(You may want to specify your own button for deskmenu w/ the -b option).

Obviously ~/Desktop/Autostart is where you put anything you want to run on login as well. I also launch gdesklets from there.

I had to look deskmenu up. It looks like a good idea. At this point I'm happy with the gnome-panel though. It hasn't seemed to cause any big issues or bog the system down. It loads in a flash at startup and everything still runs really fast.


champagnemojo what app is it that you're using to display cpu temp et. al.? A frontend for mbmon?

That's gkrellm (with the "milk" theme IIRC)...running as a frontend for lm_sensors to get the temps. You can have it show all kinds of things of course. I like it. I've got it set to be always on top, so I can see my temps 24/7. And it's in an out of the way place, so it doesn't block anything.

I took a few more screens...just for the fun of it...
What it looks like when you right click in the rox-pinboard. (http://pictures.champagnemojo.com/roxpinboard.jpg)
What it looks like when you right click an icon on the rox-pinboard. (http://pictures.champagnemojo.com/roxpinboard2.jpg)
What the gnome-panel menu looks like. (http://pictures.champagnemojo.com/xfce4gnomemenu.jpg)

mzilikazi
08-16-2004, 11:25 AM
I can do that if people are interested. There's really not much editing to do now that I figured it out. The splash screen is part of the session manager, which I'm not invoking. So I don't see the splash screen. To be honest, it loads so fast there's no need for a splash screen unless wanted for show. Xfce4 is pretty much loaded in less than a second. The only issue I have at this point is also related to not using the session manager. When I click the logout button on the gnome-panel I'm shot right back to the KDM screen. I no longer have the option to shutdown straight out of xfce4. But gnome will only shoot you back to KDM too, so that's not a big deal really. And I could always add my own button to invoke xfce4's shutdown script.

For me session management is not really an issue either as I don't care to save the state of my desktop but I did want it to work after an hdd install (assuming a remaster w/ xfce4).

Deskmenu is not necessary for you as the gnome-panel menu is better at finding all applications than the xfce4-menu is. Presumably this will be fixed (eventually) but until such time it's deskmenu or manually adding entries to the xfce4-menu (a rather daunting task IMHO).

Methinks this turned out to be a nice little collection of info for anyone interested in xfce4. :)

champagnemojo
08-29-2004, 12:57 PM
It's gotten even easier now mzilikazi. :D

Just go here http://www.os-cillation.com/article.php?sid=37 and do as they say to apt-get the latest xfce4.

Then if you want to use the rox pinboard, make sure you've downloaded rox and just:

Edit /etc/xfce4/xinitrc, commenting out:
# xfdesktop&

Go to /etc/xdg/xfce4-session/xfce4-session.rc, change the count to 3 and comment out:
# Client3_Command=xfdesktop
# Client3_PerScreen=False

Then either go to or create ~/Desktop/Autostart and add symlinks to any apps you want to have come up automatically (I put gkrellm here).

The way I've found to start the rox-pinboard up automatically is to create a little shell script in ~/Desktop/Autostart which I call startrox.sh and looks like:
#!/bin/sh
rox --pinboard=PIN

I don't know if that's the best way or not...but it works. :D

I now have full session control and such. I also use the taskbar plugin for the xfce4-panel, which you have to apt-get install xfce4-taskbar-plugin for, because the xfce4 virtual package doesn't include it. If you use it you also have to go to those two files above and comment out xftaskbar4. I've given up the gnome-panel for now though. :wink:

mzilikazi
08-29-2004, 02:45 PM
Hmmm now that's a good find there champagnemojo! :) Do you still have the xfce4-panel problem (http://xfce.lindesign.se/db/viewtopic.php?t=845&start=15) discussed at the xfce forums or has it disappeared? Also I presume you are running Debian SID and the packages from os-cillation are working fine for you? I'll check out these new packages this weekend. Thanks for the tip! :)

champagnemojo
08-29-2004, 04:32 PM
Hmmm now that's a good find there champagnemojo! :) Do you still have the xfce4-panel problem (http://xfce.lindesign.se/db/viewtopic.php?t=845&start=15) discussed at the xfce forums or has it disappeared? Also I presume you are running Debian SID and the packages from os-cillation are working fine for you? I'll check out these new packages this weekend. Thanks for the tip! :)

You would've found them without me (it's on the site you showed me). ;)

But I figured I'd post the link here in case anybody wants to give it a try. With these packages I don't have that xfce4-panel problem. The menu actually works! And yep...Debian SID and they're working great.

You should check out their xfce4-based knoppix remaster, Xfld (http://www.xfld.org/), too. I know you mentioned making one of your own sometime...theirs might give you a headstart. :D

mzilikazi
08-29-2004, 07:16 PM
Mwaahahahahahaah it's perfect! This has solved so many problems all at once. It even has the Debian menu! It also picked up both the Knoppix & Kanotix menus on my current remastering project. Rox is also running beautifully.

mzilikazi
08-30-2004, 12:07 AM
Simplified instructions:


$ mv ~/.xfce4 ~/dot.xfce4-4.0
# apt-get remove --purge libxfce4util-1
# echo "deb http://www.os-cillation.de/debian binary/" >> /etc/apt/sources.list
# apt-get update
# apt-get install -t binary xfce4

OR

# apt-get install xfld-desktop xfce4-wavelan-plugin xfce4-taskbar-plugin xfce4-cpugraph-plugin -t binary xfce4

Then just follow the rest of the instructions for your preferred method of starting xfce4

Problems?

$ apt-cache policy xfce4
xfce4:
Installed: 4.1.3+cvs.20040818-1
Candidate: 4.1.3+cvs.20040818-1
Version Table:
*** 4.1.3+cvs.20040818-1 0
500 http://www.os-cillation.de binary/ Packages
100 /var/lib/dpkg/status
4.0.5-1 0
990 http://ftp.de.debian.org unstable/main Packages

champagnemojo
08-30-2004, 02:33 PM
I noticed the apt-get xfld-desktop option, but figured I'd just go with xfce4 since I already have rox and such. Does it automatically set up the rox pinboard for you and all if you apt-get xfld-desktop? If so, that sounds extremely easy.

mzilikazi
09-01-2004, 10:32 PM
I made an edit to the xfld-desktop install instructions. It does install rox but doesn't configure rox to run on startup.