LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-14-2007, 02:28 AM   #1
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Fluxbox, 3ddesk, imlib2


running Slack11, dell laptop, ATI Radeon9000.

I am trying to switch to fluxbox, from KDE/GNOME because it seems faster/lighter etc. I have never used fluxbox before and am having some trouble.

Aside from having to figure out all the configuration stuff (which is way more involved than KDE) - I noticed a link to 3ddesk from the ::FLUXBOX:: documentation page.

Being that I am easily distracted by shiny objects I decided to try and install/run this.

So I d/l 3ddesktop-0.2.9 and learn I also need imlib2-1.3, which I get (and imlib2_loaders). I make and install all three no troubles. (in order -> imlib2, imlib2_loaders, 3ddesktop).

but now when I try:

$3ddesk --acquire

I get an errors, :... libImLib2.so.1: cannot open shared object file: No such file or directory
Server not found after waiting 5 seconds
Could not find server


i then tried using:

$3ddeskd

but got basically the same result. Am I missing something?



many thanks!

-sorry I would copy/paste directly from the shell but I can't seem to cut&paste in fluxbox either...
 
Old 02-14-2007, 03:13 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
You shoud add the path to the installed imlib libraries in /etc/ld.so.conf and run
Code:
ldconfig
 
Old 02-14-2007, 05:25 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
After installing new libs you need to run ldconfig.
 
Old 02-14-2007, 06:46 PM   #4
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
So follow the directions here ldconfig ?

I can run this command but should I worry about screwing anything up?

Any more documentation about how libraries are shared on linux? I'd like to some more about this..

Sorry to be so deliberate, but this is new to me.
 
Old 02-14-2007, 07:01 PM   #5
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
Don't worry, just run ldconfig. Slackware runs it at every boot indeed.
 
Old 02-14-2007, 07:10 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Run 'ldconfig' as suggested above, it updates shared library links ... perfectly safe.

If that don't work, search for 'libImLib2.so.1' and see if it exists (should be in /usr/lib or /usr/local/lib). If it doesn't exist, search for 'libImLib2.so', if it finds that then make a symlink from 'libImLib2.so' to 'libImLib2.so.1', and it'll work.

Why is there a lot to configure in fluxbox ? ... configuration takes me no more than 10-15 min. from scratch or 1-2 min. when I have my configs saved from a previous install.
 
Old 02-15-2007, 03:11 AM   #7
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by H_TeXMeX_H
configuration takes me no more than 10-15 min. from scratch or 1-2 min. when I have my configs saved from a previous install.
-H_TeXMeX_H-
Registered: Oct 2005
Posts: 381

-bioe007-
Registered: Apr 2006
Posts: 100
Distribution: slackware

Quote:
Originally Posted by bioe007
I am trying to switch to fluxbox, from KDE/GNOME ... I have never used fluxbox before and am having some trouble.

I, .


also my registration date is a bit misleading because from like may-sep'ish I didn't even touch linux. And indeed april '06 was the first time I ever tried anything in linux. Not that I'm trying to make excuses.. I'm getting it, got my own theme going now and menus set up.

Also I had uninstalled the Slack11 fluxbox and compiled my own fluxbox-1.0-rc2, not that that took much more time.

thanks for the ldconfig tips (edit- forgot to mention it works now - yeah!)

Do any of you Fluxbox users out there use 'konsole' ? I have it in my menu now and tried to set it up like I had it in KDE (semi-transparent) but whenever I drop a menu down or move the konsole around I get leftovers from the menu or background. (I like to have the tabbed shells)

Should I be reading about auto-tabbing and just have xterm to auto-tabs?

Last edited by bioe007; 02-15-2007 at 03:13 AM.
 
Old 02-15-2007, 04:15 AM   #8
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
I don't know how to fix the issue with Konsole, but you can group any set of windows in fluxbox into a single tabbed window. Just middle click the title bar of a window and drag it onto the title bar of another (tabs can be detached in the same manner). Maybe this will be a partial solution for you.
 
Old 02-15-2007, 01:07 PM   #9
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bioe007
thanks for the ldconfig tips (edit- forgot to mention it works now - yeah!)
Well, it works once - I can run it from xterm, but I can't seem to get my 'keys' to work. I added this line:

Code:
Mod1 F5:ExecCommand 3ddesk
to .fluxbox/keys, but when I Alt+F5 nothing happens. (Alt+F1-4 switches desktops as prescribed tho')

I have tried including the full path in the keys file. Also it seems repeatedly calling 3ddesk from xterm does not work either, i.e. after using it the first time using $3ddesk later does nothing.

@Ilgar - thanks for the tip, what I was thinking of was the 4.2.5. Tab Autogrouping . Besides, I have no 'middle button'

About the 'konsole' - I was thinking, probably incorrectly, that the gtk/qt thing for fluxbox/kde was the culprit? Here at work if I run fluxbox and the gnome shell I don't seem to have the problem. But I can't claim to really understand the difference between the Gnome and KDE libraries.

I have noticed other KDE apps (Kate) complain when running in Fluxbox.


Additional (perhaps obvious questions) (sorry I am not at home to try this stuff out now)

1. do I just add 'xscreensaver&' to my .fluxbox/init to get a screensaver set up?

2. is there anyway to 'save' sessions so when I exit/restart fluxbox it will reopen all my programs that were running before I exited?

2.b - Same as #2 for Firefox

3. (the biggy) Say if I want to keep an app from KDE or GNOME, and run it in fluxbox, how can I removpkg kde-* and/or gnome* but leave behind the stuff I want? Is it as simple as copying the binary?

4. I did not learn of 'checkinstall' until after I compiled/installed fluxbox1.0, is that bad? Is it generally a good idea to use 'checkinstall' for all from source installations?

4.b Is it 'bad' to use flux1.0 when the Slack11 is shipped with Flux0.9.xx?

At any rate I should probably stop worrying about this distraction (3ddesk) and get back to figuring out the rest of fluxbox & linux. It is very fast huh? Really big difference on my P3 box between KDE and Fluxbox.

thanks to all.

(edit- for typos)

Last edited by bioe007; 02-15-2007 at 01:18 PM.
 
Old 02-15-2007, 03:37 PM   #10
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
1) Supposing it's the right command, that should do it . But also see #2.

2) Afaik flux does not remember sessions, but there's this: In the ~/.fluxbox/startup file you can specify commands to be launched at startup. You can include your screensaver command here, for example. ~/.fluxbox/apps can also be used, with entries at the beginning like
Code:
[startup]                     {/usr/share/msn/amsn}
[startup]                     {/usr/bin/gaim}
[startup]                     {xterm_local}
[startup]                     {gkrellm}
[startup]                     {xmms}
(copied from mine). By right-clicking a window title bar you can select in the menus which properties of the window will be remembered next time you open it (size, position, workspace etc.).

Firefox 2.0 (you can find it in extras/) recovers sessions after crash/kill. For 1.x there was an extension for that (I'm not sure, though).

3) There were some threads for minimal kde and gnome installations, you can search for them. You'll certainly need the base libraries, but also the dependencies of the application you want to run.

4a) Not using checkinstall is not bad -- but it makes life a bit harder. When you want to upgrade the program you'll be able to do 'removepkg' to delete the old version. Otherwise you need to go to the build directory and do 'make uninstall'. Keeping the build directory there will cost you disk space.

4b) I use the rc version, too (I thought Slack shipped with that). Fluxbox rc's are pretty stable, though, I don't thing there's anything negative about using rc2.

Last edited by Ilgar; 02-15-2007 at 03:53 PM.
 
Old 02-15-2007, 03:40 PM   #11
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
I'm pretty sure the 3ddesk command needs paameters. Mine is setup so that numpad5 changes the mode, numpad4 switches "left" and numpad6 swicthes "right". Did you check to make sure 3ddeskd is running?

xscreensaver-demo & should go into either the ./fluxbox/startup file or ./fluxbox/init. Then run xscreensaver-demo to launch the utility that lets you setup the screensaver.

Dunno about saving sessions

If you want to run a KDE/GNOME program you need all of the binaries, libs and other files that the program needs. The binary alone won't do it.

The OS really doesn't care which version you're using. The worst that could happen would be incompatibility between the fluxbox program and some required libs.
 
Old 02-15-2007, 05:01 PM   #12
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by bioe007
Also I had uninstalled the Slack11 fluxbox and compiled my own fluxbox-1.0-rc2, not that that took much more time.
Uhhhh ... I'm running the fluxbox that came with Slack 11.0, and it's version 1.0-rc2

BTW, I may have joined in 2005, but I didn't do much posing at all until maybe a month ago.
 
Old 02-15-2007, 08:59 PM   #13
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
thanks all for the advice. Things are moving along now. On my laptop #2 I have dropline installed, i945 chipset and xorg is working w/DRI

I can not seem to get fbsetbg to work. I get this error message:

Code:
perry@bcslk:~$ fbsetbg -f /home/perry/dskGraphics/slckBG1.jpg
Esetroot: error while loading shared libraries: libttf.so.2: cannot open shared object file: No such file or directory
perry@bcslk:~$
when run in gnome terminal.

Also I think something screwy happened when I installed Eterm, because it does not appear to be in the path. But showed up when I did fluxbox-generate_menu. I think I only installed E-term to get something else working, but can't remember what now

Anyways I think fbsetbg is trying to use Eterm to set the background, I'm sure it worked before I installed E-term.

So I googled/sourcforged the libttf.so.2 and found freetype2, which I d/l build and installed, then i ran ldconfig -- many thanks to those above --

But it (fbsetbg) still does not work. Probably because slocate doesnt find libttf.so.2 ...

Anyone know what/where libttf.so.2 is?

thanks again!
 
Old 02-15-2007, 11:51 PM   #14
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally Posted by bioe007
thanks all for the advice. Things are moving along now. On my laptop #2 I have dropline installed, i945 chipset and xorg is working w/DRI

I can not seem to get fbsetbg to work. I get this error message:

Code:
perry@bcslk:~$ fbsetbg -f /home/perry/dskGraphics/slckBG1.jpg
Esetroot: error while loading shared libraries: libttf.so.2: cannot open shared object file: No such file or directory
perry@bcslk:~$
when run in gnome terminal.

Also I think something screwy happened when I installed Eterm, because it does not appear to be in the path. But showed up when I did fluxbox-generate_menu. I think I only installed E-term to get something else working, but can't remember what now

Anyways I think fbsetbg is trying to use Eterm to set the background, I'm sure it worked before I installed E-term.

So I googled/sourcforged the libttf.so.2 and found freetype2, which I d/l build and installed, then i ran ldconfig -- many thanks to those above --

But it (fbsetbg) still does not work. Probably because slocate doesnt find libttf.so.2 ...

Anyone know what/where libttf.so.2 is?

thanks again!
You shouldn't need to reinstall freetype2 unless you absolutely need the bleeding edge, just released 2.3.x version. Slackware (and dropline, for that matter) have freetype2 packages installed already. Not sure why you might have updated it, but you might end up breaking more than you are going to fix, particularly if you didn't prefix freetype to the right install location. Lots of people do this when they start fiddling around with Freetype builds for the Bytecode interpreter, and end up causing chaos because they have two conflicting versions of Freetype on their system.

Libttf.so is depreciated. Anything that you have that's trying to link against it is likely ancient or built improperly. Most of the functionality of libttf.so is in libfreetype.so these days. Libttf hasn't been used for some years now in most distributions. It's actually quite freaky that you have something that wants to use it. Is this a program that you compiled on your own, or did you download some Slackpack libraries of some sort that were built for something like Slackware 7?

Just a note... Slack shipped with Fluxbox 1.0RC2, not 0.9. Are you certain that you are using Slackware 11.0? Be careful. Sounds like you are getting a bit carried away with stuff on your system, but I guess that's the best way to learn.
 
Old 02-16-2007, 12:36 AM   #15
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by zborgerd
Sounds like you are getting a bit carried away with stuff on your system, but I guess that's the best way to learn.
I second that.. I figure if it ain't broke, I'm not trying hard enough

So to clarify, SORRY about the 0.9 remark - I got myself confused. My P3 box is/was running Slack10.2, I have since done upgradepkg --install--new *

Before that I (think) saw fluxbox0.9, on that 'puter.

Back when I had everything figured out, like a week ago, and I just knew nothing could be finer than dropline gnome, I decided to removepkg fluxbox* from my laptops.

For some reason (this week) I decided to actually try flux out.

So I rebuilt it on my Slack11 systems. (my laptops)

Sorry, I know this is a bit confusing.

I have two dell laptops, and one old 'Tiny' P3. On one laptop I had installed dropline gnome thinking gEDA would look/work better (and it did) but never got around to installing gnome on my other laptop or the desktop.

The desktop is what really spurned my experimenting with fluxbox on because it was so slow w/KDE and I read some comment 'fluxbox saved my P3' in another thread. So I started playing. I liked the speed and sleekness of the fluxbox so much I'm trying set it up on all my computers.

Which brings me to where I am now, with fbsetbg working on one laptop, not on another, and konsole not working on the KDE laptop. I have shelved the 3ddesk problems for now at least

whew... im spent. Guess I'll try and break something else.
 
  


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
my Dell laptop smoked using 3ddesk student04 Linux - Laptop and Netbook 6 07-11-2006 05:35 PM
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 11:16 AM
Error when compiling 3ddesk Kramer Linux - Software 4 02-17-2005 06:13 AM
Trouble installing 3ddesk on RH9.0 Thaidog Linux - Distributions 1 05-17-2004 05:31 PM
feh / Imlib2: "no imlib2 loader for that file format" froedi Linux - Software 2 11-30-2003 08:44 AM


All times are GMT -5. The time now is 08:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration