SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-07-22 08:23:56

GamBit
#! CrunchBanger
From: Vienna/Austria
Registered: 2012-07-22
Posts: 104

[SOLVED] slimlock

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. big_smile

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

Be excellent to each other!

#2 2012-07-22 08:45:57

mariannemarlow
#! Die Hard
From: My flat, London, England
Registered: 2012-06-03
Posts: 2,195
Website

Re: [SOLVED] slimlock

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.conf

and edit
current_theme default
to
current_theme slim-hud

To 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

#3 2012-07-22 08:46:34

skbierm
#! Member
From: Germany
Registered: 2012-07-17
Posts: 76
Website

Re: [SOLVED] slimlock

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

#4 2012-07-22 15:45:17

GamBit
#! CrunchBanger
From: Vienna/Austria
Registered: 2012-07-22
Posts: 104

Re: [SOLVED] slimlock

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++. smile

Now i think it is a bug in the sourcecode.

I am sad. Slimlock would make my crunchbang perfect.. sad

Thank you for you help!!!

Offline

#5 2012-07-22 16:06:03

GamBit
#! CrunchBanger
From: Vienna/Austria
Registered: 2012-07-22
Posts: 104

Re: [SOLVED] slimlock

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

#6 2012-07-22 18:00:38

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: [SOLVED] slimlock

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? smile

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 smile so you'll either have to wait on him to chime in on this thread, or just keep building slimlock yourself.

Offline

#7 2012-07-25 18:32:34

GamBit
#! CrunchBanger
From: Vienna/Austria
Registered: 2012-07-22
Posts: 104

Re: [SOLVED] slimlock

Thank you rhowaldt!

Here it is. smile

Offline

#8 2012-07-25 19:05:40

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: [SOLVED] slimlock

woohoo! smile

Offline

#9 2012-07-26 20:03:18

skbierm
#! Member
From: Germany
Registered: 2012-07-17
Posts: 76
Website

Re: [SOLVED] slimlock

Congrats you solved it ^.^
... now it's time to  read an introduction -.^

Offline

#10 2012-07-26 20:10:10

konaexpress
Member
Registered: 2012-07-26
Posts: 28

Re: [SOLVED] slimlock

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

#11 2012-07-26 21:28:54

douglas
#! CrunchBanger
From: Dallas, Texas
Registered: 2011-01-09
Posts: 223

Re: [SOLVED] slimlock

Be sure to edit this post title and prepend it with "[SOLVED]".

Offline

#12 2012-07-26 22:38:22

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,008

Re: [SOLVED] slimlock

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.

http://wiki.debian.org/CheckInstall


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#13 2012-07-27 06:54:37

GamBit
#! CrunchBanger
From: Vienna/Austria
Registered: 2012-07-22
Posts: 104

Re: [SOLVED] slimlock

I have changed the Title to [SOLVED]...
But - this is not only a solved problem it is also a suggestion for #! distro. smile

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. smile )

Offline

#14 2012-07-27 14:48:14

konaexpress
Member
Registered: 2012-07-26
Posts: 28

Re: [SOLVED] slimlock

pvsage wrote:
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.

http://wiki.debian.org/CheckInstall

Thanks buddy!

-John

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo