You are not logged in.

#1 2018-03-29 06:24:20

foyle
Member
Registered: 2018-03-15
Posts: 38

Plank not starting up on boot [SOLVED]

Hi all
Im completely new to Bunsenlabs and Openbox so its a big steep learning curve for me in trying to get to grips in how it works (bear in mind ive only used other Linux distros that more or less did everything for you i.e. Ubuntu, Mint, Elementary etc...). I was wondering if anyone could help in getting Plank to load up on booting my laptop? I always have to right click the Run Program command to get it up and running in the background? If im not mistaken you have to create a command to get it to load at start up?! Apologies but I guess im a newbie to this distro!
Any help would be very much appreciated.
cheers

Last edited by foyle (2018-03-30 17:22:06)

Offline

#2 2018-03-29 07:05:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

Hi foyle, no need to apologise — nobody was born knowing this stuff and it is in fact rather arcane.

To get plank to autostart, add a line to the file at ~/.config/openbox/autostart containing the name of the executable:

plank &

^ That ampersand may not be needed, check by running the `plank` command from a terminal, if the prompt is returned to you then you don't need it.

I have to ask though: how did you install plank?

It isn't actually available in BunsenLabs Hydrogen/Deuterium and adding foreign repositories can be a recipe for disaster.

Offline

#3 2018-03-29 08:24:18

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Plank not starting up on boot [SOLVED]

It's in stable on Stretch and it will be in Buster too. Great news. Some time ago there were hints that Plank development was abandoned.

That method with ampersand works fine for me, or also:  (sleep 3; plank) &    Plank is a great dock, simple and fast. Cairo-dock has more features.

Offline

#4 2018-03-30 12:42:50

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

Head_on_a_Stick wrote:

Hi foyle, no need to apologise — nobody was born knowing this stuff and it is in fact rather arcane.

To get plank to autostart, add a line to the file at ~/.config/openbox/autostart containing the name of the executable:

plank &

^ That ampersand may not be needed, check by running the `plank` command from a terminal, if the prompt is returned to you then you don't need it.

I have to ask though: how did you install plank?

It isn't actually available in BunsenLabs Hydrogen/Deuterium and adding foreign repositories can be a recipe for disaster.

Hi
Many thanks for your reply and info. I will try adding "plank &" to the config file for autostart. By the way do i add "##" before the new entry?! Like i say totally new to Bunsenlabs, its brilliant though fast and stable on a very old laptop!


Quick update: no luck with editing the /.config/openbox/autostart with

## plank &

added on the end autostart?!

any suggestions what im doing wrong?!
thanks

btw i installed Plank via Synaptic manager

Last edited by foyle (2018-03-30 12:54:25)

Offline

#5 2018-03-30 12:52:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

foyle wrote:

do i add "##" before the new entry?

No, that turns the line into what is known as a "comment" — the shell will ignore anything after a "#" symbol (without the quotation marks).

So try removing the # symbols, that should get it working.

Last edited by Head_on_a_Stick (2018-03-30 12:52:45)

Offline

#6 2018-03-30 12:53:44

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

foyle wrote:

btw i installed Plank via Synaptic manager

Can we please see the full output of:

apt policy

Thanks!

Offline

#7 2018-03-30 12:58:59

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

Head_on_a_Stick wrote:
foyle wrote:

btw i installed Plank via Synaptic manager

Can we please see the full output of:

apt policy

Thanks!

Hi
just tried the command as root via terminal and its come back with

"Invalid operation policy"

Offline

#8 2018-03-30 13:04:00

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

^ OK, try this instead:

apt-cache policy

^ just run it as your normal user, *never* use sudo unless you know that it is safe to do so.

https://en.wikipedia.org/wiki/Principle … _privilege

Offline

#9 2018-03-30 13:04:23

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

foyle wrote:
Head_on_a_Stick wrote:
foyle wrote:

btw i installed Plank via Synaptic manager

Can we please see the full output of:

apt policy

Thanks!

Hi
just tried the command as root via terminal and its come back with

"Invalid operation policy"


Tried the apt cache policy and got this back

apt-cache policy sudo
sudo:
  Installed: 1.8.10p3-1+deb8u5
  Candidate: 1.8.10p3-1+deb8u5
  Version table:
*** 1.8.10p3-1+deb8u5 0
        500 http://deb.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
     1.8.10p3-1+deb8u4 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages

Last edited by foyle (2018-03-30 13:04:37)

Offline

#10 2018-03-30 13:05:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

foyle wrote:

apt-cache policy sudo

That's not the command I posted wink

Try again using copy&paste from this code block:

apt-cache policy

^ Just that, no more, no less.

Last edited by Head_on_a_Stick (2018-03-30 13:05:58)

Offline

#11 2018-03-30 13:07:07

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

sorry i added the sudo before i got that last message of yours! here we are

Package files:
100 /var/lib/dpkg/status
     release a=now
500 http://deb.debian.org/debian/ jessie-backports/non-free Translation-en
500 http://deb.debian.org/debian/ jessie-backports/main Translation-en
500 http://deb.debian.org/debian/ jessie-backports/contrib Translation-en
100 http://deb.debian.org/debian/ jessie-backports/non-free amd64 Packages
     release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=non-free
     origin deb.debian.org
100 http://deb.debian.org/debian/ jessie-backports/contrib amd64 Packages
     release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=contrib
     origin deb.debian.org
100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages
     release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=main
     origin deb.debian.org
500 http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen/main amd64 Packages
     release o=bunsenlabs,n=bunsen-hydrogen,l=bunsenlabs,c=main
     origin pkg.bunsenlabs.org
100 http://pkg.bunsenlabs.org/debian/ jessie-backports/main amd64 Packages
     release o=bunsenlabs,n=jessie-backports,l=bunsenlabs,c=main
     origin pkg.bunsenlabs.org
500 http://deb.debian.org/debian/ jessie-updates/non-free Translation-en
500 http://deb.debian.org/debian/ jessie-updates/main Translation-en
500 http://deb.debian.org/debian/ jessie-updates/contrib Translation-en
500 http://deb.debian.org/debian/ jessie-updates/non-free amd64 Packages
     release o=Debian,a=oldstable-updates,n=jessie-updates,l=Debian,c=non-free
     origin deb.debian.org
500 http://deb.debian.org/debian/ jessie-updates/contrib amd64 Packages
     release o=Debian,a=oldstable-updates,n=jessie-updates,l=Debian,c=contrib
     origin deb.debian.org
500 http://deb.debian.org/debian/ jessie-updates/main amd64 Packages
     release o=Debian,a=oldstable-updates,n=jessie-updates,l=Debian,c=main
     origin deb.debian.org
500 http://security.debian.org/ jessie/updates/non-free Translation-en
500 http://security.debian.org/ jessie/updates/main Translation-en
500 http://security.debian.org/ jessie/updates/contrib Translation-en
500 http://security.debian.org/ jessie/updates/non-free amd64 Packages
     release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=non-free
     origin security.debian.org
500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
     release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=contrib
     origin security.debian.org
500 http://security.debian.org/ jessie/updates/main amd64 Packages
     release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=main
     origin security.debian.org
500 http://deb.debian.org/debian/ jessie/non-free Translation-en
500 http://deb.debian.org/debian/ jessie/main Translation-en
500 http://deb.debian.org/debian/ jessie/contrib Translation-en
500 http://deb.debian.org/debian/ jessie/contrib amd64 Packages
     release v=8.10,o=Debian,a=oldstable,n=jessie,l=Debian,c=contrib
     origin deb.debian.org
500 http://deb.debian.org/debian/ jessie/non-free amd64 Packages
     release v=8.10,o=Debian,a=oldstable,n=jessie,l=Debian,c=non-free
     origin deb.debian.org
500 http://deb.debian.org/debian/ jessie/main amd64 Packages
     release v=8.10,o=Debian,a=oldstable,n=jessie,l=Debian,c=main
     origin deb.debian.org
Pinned packages:

Offline

#12 2018-03-30 13:09:08

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

Very sorry OP, I forgot that we have plank in our own repositories  :8

Carry on please, your system looks fine smile

Offline

#13 2018-03-30 13:09:45

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

btw....This is how my autostart config file looks after i edited it


## Openbox autostart
## ====================
## When you login to your BunsenLabs Openbox session, this autostart script
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## Note: some programs, such as 'nm-applet' are run via XDG autostart.
## Run
## /usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list
## or
## /usr/lib/i386-linux-gnu/openbox-xdg-autostart --list
## to list any XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## http://forums.bunsenlabs.org (registration required)
##

### SETTINGS START

## Turn on/off system beep.
xset b off

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25

## Add keyboard mapping.
#xmodmap -e "keysym Insert = Multi_key"

## Disable CapsLock
setxkbmap -option ctrl:nocaps
# alternative: use as compose key
#setxkbmap -option compose:caps

### TOUCHPAD: comment out the next two entries if you don't have one

## Configure touchpad. See 'man synaptics' for more info.
synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

## Disable touchpad while typing
syndaemon -i .5 -K -t -R -d &

### TOUCHPAD END

### SETTINGS END

## GNOME PolicyKit authentication
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

## Set a wallpaper
nitrogen --restore

## Compton
## NOTE: composition must be started before tint2
bl-compositor --start

## Start the tint2 session (the default tint2 will run if no sessions have been set)
bl-tint2-session

## Start PulseAudio
## (This replaces /etc/xdg/autostart/pulseaudio.desktop
## which is disabled by ~/.config/autostart/pulseaudio.desktop.)
## NOTE: PulseAudio must be started before volumeicon
bl-start-pulseaudio-x11

## Volume control for systray
volumeicon &

## Start the Conky session (the default conkyrc will run if no sessions have been set)
bl-conky-session --autostart &

## Start the battery applet
#fdpowermon &

## Start Clipboard manager
clipit &

## bl-welcome - post-installation script, will not run in a live session and
## only runs once. Safe to remove.
(sleep 10; bl-welcome --firstrun) &

## bl-fortune - have the system come up with a little adage (not yet enabled)
#(sleep 120; bl-fortune) &

## plank &

Offline

#14 2018-03-30 13:10:53

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

for some reason plank is still not starting up on boot?!

Have I edited the file correctly?!
I right clicked on desktop and got to the autostart config file via the "Places" menu

Last edited by foyle (2018-03-30 13:13:07)

Offline

#15 2018-03-30 13:12:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

foyle wrote:

have edited the file correctly?

No, the ## symbols are still there on the plank line in your posted configuration, you need to delete them.

Offline

#16 2018-03-30 13:14:05

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

ah ok i thought i need to add them! doh will get rid of them and reboot now and see if i have any joy! thanks again for the help its much appreciated! foyle

Offline

#17 2018-03-30 13:17:23

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Plank not starting up on boot [SOLVED]

You're welcome smile

If it all works then please add [SOLVED] to the title (edit the first post to do this) so that others can benefit, thanks!

Offline

#18 2018-03-30 13:17:43

foyle
Member
Registered: 2018-03-15
Posts: 38

Re: Plank not starting up on boot [SOLVED]

Head_on_a_Stick wrote:
foyle wrote:

have edited the file correctly?

No, the ## symbols are still there on the plank line in your posted configuration, you need to delete them.

Yep!!! Just rebooted and that worked many thanks again for the help smile

Offline

#19 2018-03-30 19:25:10

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,143
Website

Re: Plank not starting up on boot [SOLVED]

foyle wrote:

Just rebooted and that worked many thanks again for the help smile

Just note that you only need to logout to see the effect of changes made to the openbox autostart file. Rebooting takes longer but obviously also works.


I don't care what you do at home. Would you care to explain?

Offline

Board footer

Powered by FluxBB