You are not logged in.

#1 2020-07-23 17:19:27

Aldebaraan
Member
Registered: 2020-07-14
Posts: 12

[SOLVED] xfce panel doesn't start

I'm using xfdesktop and xfce4-panel because they are similar to what i'm used. But xfce4-panel doesn't start when using this script in the autostart:

#!/bin/bash
sleep 3 && xfdesktop
sleep 4 && xfce4-panel
sleep 2 && megasync

But when i start it in terminal it works. Why?

Last edited by hhh (2020-07-25 21:27:33)

Offline

#2 2020-07-23 21:09:51

damo
....moderator....
Registered: 2015-08-20
Posts: 6,124

Re: [SOLVED] xfce panel doesn't start

Aldebaraan wrote:

...xfce4-panel doesn't start when using this script in the autostart:

#!/bin/bash
sleep 3 && xfdesktop
sleep 4 && xfce4-panel
sleep 2 && megasync

But when i start it in terminal it works. Why?

How are you calling the script in your autostart?

Does the xfdesktop command need to be forked off, so the subsequent commands can be carried out?

sleep 3 && xfdesktop &

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2020-07-23 23:22:44

hhh
Meep!
Registered: 2015-09-17
Posts: 10,236
Website

Re: [SOLVED] xfce panel doesn't start

I can't even tell if @Alderaan (Star Wars pun, baby), means BL's autostart.

No need for a script, commenting out tint2 and adding xfce4-panel and xfdesktop as forked commands has always worked for me. They shouldn't even need sleep...

xfdesktop &
xfce4-panel &

To be fair, I haven't used xfdesktop and the panel with Openbox in over a year. I could be spreading Fake News.

Offline

#4 2020-07-24 01:30:33

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,146
Website

Re: [SOLVED] xfce panel doesn't start

I'm using xfdesktop now and I can confirm that both it and xfce4-panel need to be forked with a final ampersand as damo and hhh say. Quite possibly megasync too.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#5 2020-07-25 00:43:09

Aldebaraan
Member
Registered: 2020-07-14
Posts: 12

Re: [SOLVED] xfce panel doesn't start

Yes it works now after the ampersand. Thanks.

Offline

#6 2020-07-25 08:40:51

ohnonot
...again
Registered: 2015-09-29
Posts: 4,782
Website

Re: [SOLVED] xfce panel doesn't start

Please mark your thread title [SOLVED] by editing the first post.


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

#7 2020-07-25 21:26:27

hhh
Meep!
Registered: 2015-09-17
Posts: 10,236
Website

Re: [SOLVED] xfce panel doesn't start

^ I took care of it.

Offline

Board footer

Powered by FluxBB