Main index > Installation problems > How to Install adesklets without root Permission [SOLVED]

By cheeze (User), on Sat Sep 23 08:45:15 2006: How to Install adesklets without root Permission [SOLVED].

Hi,

I was hoping to install aDesklet without root permissions (i.e. for my own use). I tried to set the necessary paths to my own directory i.e.

./configure --prefix=/home/myusername/adesklet

I even tried
./configure --prefix=/home/myusername/adesklet --exec-prefix=/home/cheeze/adesklet/lib

After that I tried to make install.

/usr/bin/python setup.py install --root=/
running install
running build
running build_py
running build_ext
running install_lib
creating /usr/local/lib/python2.4

As a normal user, of course I don't have the right to write in this directory. Is there anything I can do without root rights to install aDesklet?

Many thanks :!:

By syfou (Core Developer & Desklet Author), on Sat Sep 23 14:02:32 2006.

I routinely do this; the easy trick if you do not want to mess with the autoconf machinery or with your python distutils is to install Python inside your $HOME, then put the new python interpreter in priority in your $PATH; this way, invoking:

Code:


configure --prefix=$HOME/adesklets --without-perl-support 
make all install


will work. Yours,

By cheeze (User), on Mon Sep 25 06:08:33 2006: Installed but not working.

Hi. Thanks for the reply!

I've done according to what you described and I managed to get aDesklet installed. However, I can't get it running.

I've checked the FAQ section A.4 Displaying desklets. "Where are my desklets? adesklets interpreters seem to be running fine, but I just cannot see anything on my desktop (the so-called flickering problem)!"

I've followed the instructions. A 100x100 window did pop up. So what I did next was to run bin/adesklet --nautilus.

Nothing happened.

I tried running bin/adesklet --user but I don't know what to click on.

I'm lost in the rest of the instructions. Would sincerely appreciate it if anyone can help.

EDIT: Oh! Some specs: I'm using GNOME on SUSE Linux Enterprise Desktop 10.

By syfou (Core Developer & Desklet Author), on Mon Sep 25 12:48:59 2006.

This is a very generic (and different) question... Allow me to write this thread as solved, since the first problem seems to have been addressed.

Here is a generic answer: download and extract one desklet you are interested in. Then, see its README and test the desklet (don't register it right away). Then, if it runs fine, register it, and call adesklets with the appropriate switches for your WM. If it doesn't run fine and throw some error at you instead, report it here in the appropriate forum if you don't find the answer already. If it doesn't stop, and just hangs there indefinitely while not displaying anything visible, then the topic you looked at in the FAQ applies.

I am sorry if this answer sounds dumb or too basic; come back with more details if it doesn't help (what desklet you tried using the procedure above, what is the behavior experienced). Yours,

By cheeze (User), on Wed Sep 27 02:13:25 2006.

Thanks! I'll be sure to try that out once I get more free time. If I've got another problem, I'll put up another thread.

P.S. I've done some search on the forums and discovered that it might be a problem with the imlib not being compiled with PNG. How do I check that my imlib is PNG enabled or not?

By syfou (Core Developer & Desklet Author), on Wed Sep 27 17:18:40 2006.

One easy way would be to manually invoke the load_image command from the adesklets interpreter prompt:

Code:


sh $ adesklets :
adesklets 0.6.1 (Fri Sep 22 14:25:01 EDT 2006), on Linux 2.6.18
[i686-pc-linux-gnu-gcc 686-pc-linux-gnu-gcc (GCC) 4.1.0 (Gentoo 4.1.0)]
Press TAB for hints.
0 >>> load_image /path/to/test_image
command 0 ok: new image 2


If Imlib2 lacks support for the image format your test image is encoded with, you will get some "could not load image" message instead. Yours,

By cheeze (User), on Wed Sep 27 21:57:15 2006: Thanks!.

Thanks! Really appreciate it :D


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.