You are not logged in.
Pages: 1
Hi!
I'm new in this forum.
I'm trying CrunchBang 11 "Waldorf" and i'm very happy with it!
After searching the internet to customize my installation i found slimlock.
Source: http://bigrza.deviantart.com/art/Slim-H … -265373570
According the instructions i have to do "make" and "make install".
But there are errors:
root@crunchbang:/home/martin/downloads/joelburget-slimlock-fc2d530# make
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found
Package xrandr was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrandr.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xrandr' found
Package xft was not found in the pkg-config search path.
Perhaps you should add the directory containing `xft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xft' found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
Package imlib2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `imlib2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'imlib2' found
Package xext was not found in the pkg-config search path.
Perhaps you should add the directory containing `xext.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xext' found
g++ -Wall -I. -pthread -DPACKAGE=\"slimlock\" -DVERSION=\"0.11\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -c image.cpp -o image.o
In file included from image.cpp:23:0:
image.h:17:22: fatal error: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make: *** [image.o] Fehler 1
I'm not a linux-pro - so i stuck here.
Can somebody help me get slimlock to install?
And oh - why i'm posting this in this thread?
I think it could be cool to have slimlock in the distro. 
thx
GamBit
PS.: And sorry for my bad english - i'm from austria. English is not my native language.
Last edited by GamBit (2012-07-27 06:50:12)
Offline
I am probably missing something here but don't you just download the file (http://www.deviantart.com/download/2653 … 4dzvk2.zip) and then follow these instructions?
Install:
copy slim-hud folder to /usr/share/slim/themes
open slim.conf
$ gksu /etc/slim.confand edit
current_theme default
to
current_theme slim-hudTo change background just replace background.jpg,
to display conky with slimlock, copy .conkyrcslim
to your home folder and execute slimlocky
Between two evils, I always pick the one I never tried before ~ Mae West
Offline
In every line with a message like: No package 'xrandr' found
the make command tells you, what package is needed, like in this line xrandr. Because you need to compile it, you need to install the specific package with a -dev at the end. If you now fire up synaptic, you would find 5 packages with the namepart xrandr in it, but only one with '-dev' at the end, that one is the one that has to be installed, this time 'libxrandr-dev'. I'm on Waldorf, so on you're system, the package might have a different name.
If there are more then one package that you find, you must think / try out, which one is the one the make-process wants - and do another make, until the complaints stop and the build process starts.
A hint before you begin with this ... if you want to build packages yourself, it is wise to install the build-essential-package ... sudo aptitude install build-essential, or fire up cb-welcome (if you're on #! Waldorf, don't know if it's the same on Statler) ... there is also a page that installs the basic packages for building packages.
Offline
Wow - i am very impressed!
What a nice, friendly, competent and fast community!
Thank you for your answers.
I have followed the instructions from the website and the readme file.
After the command
sudo aptitude install build-essential fontconfig libxrandr-dev libimlib2-dev libxft-dev libpam0g-dev
i have a new message.
g++ -Wall -I. -I/usr/include/freetype2 -pthread -DPACKAGE=\"slimlock\" -DVERSION=\"0.11\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -c panel.cpp -o panel.o
panel.cpp: In member function ‘void Panel::WrongPassword(int)’:
panel.cpp:219:18: error: ‘sleep’ was not declared in this scope
make: *** [panel.o] Fehler 1
In panel.cpp the line is "sleep(timeout);". Timeout is given to the function.
I guess sleep is a common command. I wish i had learned c++. 
Now i think it is a bug in the sourcecode.
I am sad. Slimlock would make my crunchbang perfect.. 
Thank you for you help!!!
Offline
i am glad to get slimlock up and running!
After google i have found the reason for the error an added the line
#include <unistd.h>
to the files "panel.cpp" and "slimlock.cpp".
After that "make" and "make install" works.
Now i am working on skin and config.
Thank you for guiding me in the right direction to solve the problem!
Now i'm total in love with crunchbang!
What's about adding slimlock to the distro?
Thank you very much!
I think it is time to save money and donate to Philip!
Offline
great job GamBit! now, how about heading over to the Introductions subforum and making yourself a thread so we can give you a proper welcome? 
about adding slimlock to the distro: if it isn't in the Debian repositories, corenominal would have to add it to the crunchbang repository, and i think he'll only do that when he, well, feels like it
so you'll either have to wait on him to chime in on this thread, or just keep building slimlock yourself.
Offline
Thank you rhowaldt!
Offline
woohoo! 
Offline
Could this be made into a deb file?
I say this not knowing how to make one but I will need to know soon enough. I am making an app myself.
I will have to go look at this slimlock because the screen savor that comes on most Linux distros is one of the first things I delete of my install just after midnight commander, open ofice and firefox. (I have to say that this Iceweasel is kinda slick though)
Thanks Gambit!
-John
Offline
Be sure to edit this post title and prepend it with "[SOLVED]".
Offline
Could this be made into a deb file?
I say this not knowing how to make one but I will need to know soon enough. I am making an app myself.
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
I have changed the Title to [SOLVED]...
But - this is not only a solved problem it is also a suggestion for #! distro. 
I will google this weekend how to make a deb-file.
If it works i will provide you a link to download the deb.
(And i will google for a how to make a repository too.
)
Offline
konaexpress wrote:Could this be made into a deb file?
I say this not knowing how to make one but I will need to know soon enough. I am making an app myself.
Thanks buddy!
-John
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.