You are not logged in.

#1 2013-01-02 16:53:35

asherli
Member
Registered: 2012-12-22
Posts: 9

trouble autostarting yakuake terminal emulator

I can't get yakuake to start on login with ~/.bash_profile.

I am using xfce4 without a login manager. In my ~/.bash_profile i have "exec startxfce4" to start xfce and it works perfectly. When logged in, yakuake works from the command line.
my bash_profile right now is

# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

exec startxfce4
exec yakuake

Last edited by asherli (2013-01-02 18:24:45)

Offline

#2 2013-01-02 18:12:51

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: trouble autostarting yakuake terminal emulator

Please read https://wiki.archlinux.org/index.php/Fo … ow_to_Post, specifically this part:

When asking questions, provide as much information as possible, including error messages, terminal output, logs, what you have previously tried, what documentation and searches you have attempted, and related configuration files.

What exactly are you doing? Login to a console? Login to X? Login from a login manager? Which one? What window manager? What did you put in .bash_profile to try to make this work? Have you made other terminal emulators work this way? Can you launch yakuake normally? Where have you searched for a solution? What else have you tried?

Don't make us play 20 questions. Give us more information.

Last edited by 2ManyDogs (2013-01-02 18:16:37)

Offline

#3 2013-01-02 18:23:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: trouble autostarting yakuake terminal emulator

2ManyDogs wrote:

Don't make us play 20 questions. Give us more information.

Especially since 2ManyDogs now only has 9 left!

Last edited by Trilby (2013-01-02 18:23:33)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-01-02 18:43:34

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: trouble autostarting yakuake terminal emulator

Thank you for editing your first post.

asherli wrote:

# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

exec startxfce4
exec yakuake

exec replaces the running process. nothing after "exec startxfce4" will run.

(edit) Trilby has given you the solution.

Last edited by 2ManyDogs (2013-01-02 18:51:11)

Offline

#5 2013-01-02 18:47:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: trouble autostarting yakuake terminal emulator

yakuake &
exec startxfce4

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-01-02 19:02:51

asherli
Member
Registered: 2012-12-22
Posts: 9

Re: trouble autostarting yakuake terminal emulator

I changed it to

yakuake &
exec startxfce4

but i still got the same outcome as before. Since exec is replacing the running process i tried

yakuake &
startxfce4

but still, no difference.

Offline

#7 2013-01-02 20:10:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: trouble autostarting yakuake terminal emulator

Er .. wait.  That's your bashprofile?  Not your xinitrc?

That makes no sense at all for a bashprofile for several reasons.

You cannot run an x program (yakuake) before X starts.  Also, this is a bashprofile will break yakuake whenever it starts anyways because it sources your bashprofile.

Move those lines to your xinitrc, and follow the wiki on how to start x automatically upon login/boot.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2013-01-02 23:36:32

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: trouble autostarting yakuake terminal emulator

Add yakuake to the list of applications autostarted by xfce
Settings -> Session and Startup -> Application Autostart -> Add

Offline

Board footer

Powered by FluxBB