SEARCH

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

You are not logged in.

#1 2015-09-16 13:23:08

baobob
New Member
Registered: 2015-09-16
Posts: 4

Start up services on Jessie

Hi,
I followed these instructions http://crunchbang.org/forums/viewtopic.php?id=38994 on my Debian Stable and I have quite a few problems.

For example as the battery icon is not working with xfce4-power-manager I switched to mate-power-manager and I modified accordingly the startup file. What happen is that at boot I have both xfce4 and mate power manager which is something doesn't appear on my startup file

## Openbox autostart.sh
## ====================
## When you login to your CrunchBang 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/openbox/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://crunchbang.org/forums/
##
## Have fun & happy CrunchBangin'! :)

## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## Set root window colour
hsetroot -solid "#2E3436" &

## Group start:
## 1. nitrogen - restores wallpaper
## 2. compositor - start
## 3. sleep - give compositor time to start
## 4. tint2 panel
#(\
#nitrogen --restore && \
#cb-compositor --start && \
#sleep 2s && \
#tint2 \
#) &

nitrogen --restore &

(sleep 2; tint2) &

cb-compositor --start &

## Volume control for systray
#(sleep 2s && pnmixer) &
(sleep 2; volumeicon) &

## Volume keys daemon
xfce4-volumed &

## Enable power management
mate-power-manager &

## Start Thunar Daemon
thunar --daemon &

## Detect and configure touchpad. See 'man synclient' for more info.
if egrep -iq 'touchpad' /proc/bus/input/devices; then
    synclient VertEdgeScroll=1 &
    synclient TapButton1=1 &
fi

## Start xscreensaver
xscreensaver -no-splash &

## Start Clipboard manager
(sleep 3s && clipit) &

## 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 &

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

## The following command runs hacks and fixes for #! LiveCD sessions.
## Safe to delete after installation.
#cb-cowpowers &

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

## cb-fortune - have Waldorf say a little adage
#(sleep 120s && cb-fortune) &

## Run the conky
conky -q &

Furthermore I have blueman-applet running which again is not on my startup file.

What I'm missing?

Offline

Help fund CrunchBang, donate to the project!

#2 2015-09-16 13:33:16

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Start up services on Jessie

baobob wrote:
## Note*: some programs, such as 'nm-applet' are run via XDG autostart.
## Run '/usr/lib/openbox/openbox-xdg-autostart --list' to list any
## XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart

^This

Also, please post the output of:

ls -lR /etc/systemd/system

Offline

#3 2015-09-16 20:44:48

baobob
New Member
Registered: 2015-09-16
Posts: 4

Re: Start up services on Jessie

Thank you for the answer. there is no file /usr/lib/openbox/openbox-xdg-autostart] but i found one in another directory

>> /usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list
[*] Blueman Applet
	  File: /etc/xdg/autostart/blueman.desktop
	  Executes: blueman-applet

[ ] XFCE Volume Daemon
	  File: /etc/xdg/autostart/xfce4-volumed.desktop
	  Executes: xfce4-volumed
	* Excluded by: OnlyShowIn (XFCE)

[ ] PolicyKit Authentication Agent
	  File: /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
	  Executes: /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
	* Excluded by: OnlyShowIn (GNOME, XFCE, Unity)

[ ] GPG Password Agent
	  File: /etc/xdg/autostart/gnome-keyring-gpg.desktop
	  Executes: /usr/bin/gnome-keyring-daemon --start --components=gpg
	* Excluded by: OnlyShowIn (GNOME, Unity, MATE)

[ ] ClipIt
	  File: /etc/xdg/autostart/clipit-startup.desktop
	  Executes: clipit
	* Excluded by: OnlyShowIn (GNOME, XFCE, LXDE, Unity)

[ ] GSettings Data Conversion
	  File: /etc/xdg/autostart/gsettings-data-convert.desktop
	  Executes: gsettings-data-convert
	* Excluded by: OnlyShowIn (GNOME, Unity)

[ ] SSH Key Agent
	  File: /etc/xdg/autostart/gnome-keyring-ssh.desktop
	  Executes: /usr/bin/gnome-keyring-daemon --start --components=ssh
	* Excluded by: OnlyShowIn (GNOME, Unity, MATE)

[ ] Certificate and Key Storage
	  File: /etc/xdg/autostart/gnome-keyring-pkcs11.desktop
	  Executes: /usr/bin/gnome-keyring-daemon --start --components=pkcs11
	* Excluded by: OnlyShowIn (GNOME, Unity, MATE)

[*] Network
	  File: /etc/xdg/autostart/nm-applet.desktop
	  Executes: nm-applet

[ ] Secret Storage Service
	  File: /etc/xdg/autostart/gnome-keyring-secrets.desktop
	  Executes: /usr/bin/gnome-keyring-daemon --start --components=secrets
	* Excluded by: OnlyShowIn (GNOME, Unity, MATE)

[ ] Power Manager
	  File: /etc/xdg/autostart/mate-power-manager.desktop
	  Executes: mate-power-manager
	* Excluded by: OnlyShowIn (MATE)

[ ] PulseAudio Sound System KDE Routing Policy
	  File: /etc/xdg/autostart/pulseaudio-kde.desktop
	  Executes: start-pulseaudio-kde
	* Excluded by: OnlyShowIn (KDE)

[*] Power Manager
	  File: /etc/xdg/autostart/xfce4-power-manager.desktop
	  Executes: xfce4-power-manager

[*] PulseAudio Sound System
	  File: /etc/xdg/autostart/pulseaudio.desktop
	  Executes: start-pulseaudio-x11

I don't have any idea about how edit this file. Apparently renaming /etc/xdg/autostart to /etc/xdg/autostart_bk will do the trick

Offline

#4 2015-09-17 09:10:28

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

Re: Start up services on Jessie

Hi baobab,
actually the guide you followed is rather out of date now, an experiment while getting BunsenLabs off the ground. You might be better off following the official install methods for BunsenLabs: https://www.bunsenlabs.org/installation.html

---

Anyway, /etc/xdg/autostart is a directory, containing the .desktop files listed in the output of

/usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list

See here for how to change the behaviour of programs started from there.

Last edited by johnraff (2015-09-17 09:11:01)


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

Offline

#5 2015-09-17 18:23:56

baobob
New Member
Registered: 2015-09-16
Posts: 4

Re: Start up services on Jessie

Thank you,
correct me if I'm wrong. Your suggestion is to add the repositories on http://pkg.bunsenlabs.org/
to my jessie and then install all bunsen* debs and the packages on jessie backport?

Cheers

Last edited by baobob (2015-09-17 18:24:11)

Offline

#6 2015-09-18 01:31:11

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

Re: Start up services on Jessie

Do you already have things in your install that you want to keep?
If not, my suggestion would be to start again with the .iso install referred to in the bunsenlabs.org link. (It's quite fast.) You will end up with a Debian Jessie system plus the BunsenLabs packages, and with the bunsenlabs repositories enabled so that upgrades will come in. Everything should be ready to go.

If you want to keep your existing system, then before adding the BunsenLabs repositories and installing the packages you should go back over what you did and remove all the CrunchBang packages, and any other packages that did not come from the Debian Jessie repositories. It might then be OK to install the BunsenLabs packages but you should still be ready to deal with any conflicts that might come up.

Re-installing from scratch with the RC1 .iso is the easier and safer option.

Last edited by johnraff (2015-09-18 01:32:30)


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

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