SEARCH

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

You are not logged in.

#1 2015-01-27 07:06:22

orionthehunter
#! Constellation
From: Japan
Registered: 2011-04-09
Posts: 967
Website

cb scripts [solved]

I'm not currently running crunchbang, otherwise I could answer this myself, but could anyone tell me what directory the cb scripts like cb-exit and cb-lock are stored in? I'm trying to troubleshoot why my cb-exit won't perform shutdowns and I expect it has something to do with the relative file paths.

Last edited by orionthehunter (2015-01-27 10:37:59)

Offline

Help fund CrunchBang, donate to the project!

#2 2015-01-27 07:33:54

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: cb scripts [solved]

which cb-exit

will tell you where cb-exit is. I suspect the others are there too. smile

(edit) Oh, you're not running #! atm? OK I'll tell you, they're in /usr/bin
But how are you going to fix them without being able to run them?

Last edited by johnraff (2015-01-27 07:36:11)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#3 2015-01-27 10:22:04

orionthehunter
#! Constellation
From: Japan
Registered: 2011-04-09
Posts: 967
Website

Re: cb scripts [solved]

I copied them ages ago onto dropbox once I realized that was part of the crunchbang magic.

I guess that throws my theory about why they're not working out... I put them in /usr/bin.

I'll try to solve the issue regardless.

The error I get when I click "Power off" from the cb-exit dialog is

Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files

I guess that means I don't have consolekit. Downloading and will see if it fixed the problem.

Offline

#4 2015-01-27 10:37:08

orionthehunter
#! Constellation
From: Japan
Registered: 2011-04-09
Posts: 967
Website

Re: cb scripts [solved]

Downloading consolekit appears to have fixed the problem. cb-exit is now functioning normally for me on Ubuntu 14.04 with openbox :-).

Will mark as solved.

Offline

#5 2015-01-28 00:50:26

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: cb scripts [solved]

Maxwell Smart was once heard saying:

Of course, the old cb-exit ConsoleKit missing trick.

or was it:

The old tell them you're using Ubuntu at the moment trick. Works every time, Siegfried.

Hi, orionthehunter, long time ...  smile


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#6 2015-01-28 01:48:05

orionthehunter
#! Constellation
From: Japan
Registered: 2011-04-09
Posts: 967
Website

Re: cb scripts [solved]

Yo, yeah. Openbox on ubuntu for software availability reasons mostly. I'm way more adept at managing ubuntu now than I was last time I used it... thanks to Crunchbang actually. Great learning distro.

Offline

#7 2015-01-28 11:29:20

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: cb scripts [solved]

I was just having fun with you because it was nice to see you.  I saw this was already solved.

So you Cruncified Ubuntu therefore returning to the #! beginnings.   A screenshot would be nice.  big_smile

I'll add that when I upgraded to SID I found cb-exit didn't work and never bothered looking around I just added a new ending to my OP Menu (remember "flight theme" here)

"Punch Out" = Log out  2015_01_28_08_19_42_1920x1080_Sector11.jpg

		<separator label="Hanger"/>
		<item label="Punch Out">
			<action name="Execute">
				<command>terminator -e &quot;kill -9 -1&quot;</command>
			</action>
		</item>
		<item label="Re-Boot">
			<action name="Execute">
				<command>sudo /sbin/reboot</command>
			</action>
		</item>
		<item label="Power Down">
			<action name="Execute">
				<command>sudo /sbin/poweroff</command>
			</action>
		</item>

It took editing the sudoers file to do that though adding two lines:

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL
ALL     ALL=NOPASSWD:/sbin/reboot
ALL     ALL=NOPASSWD:/sbin/poweroff

But now you can bet this little thread is bookmarked and catalogued.  Thanks.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

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.
Server: acrobat

Debian Logo