-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Is it possible to have yakuake start whenever a user logs on so that the user does not have to start it from a terminal emulator when s/he wants to use it? The colours I want it to use are green on black, but running in a terminal emulator command "yakuake --bg black --fg green" as specified in the manual do not produce the desired result. Yakuake will open but with the default colours black on white.
I am presently using Debian Squeeze with KDE-Trinity, and package yakuake-trinity.
Regards, Ken Heard
I have yakuake starting automatically on my system whenever I log on. This is provided Trinity's sesssion management. See KControlCenter -> Session Manager. Alternatively, if for some reason you don't want session management, you should be able to put a script starting Yakuake in ~/.trinity/Autostart
As for colors you need to set the colors the way you want them (from context menu in Yakuake) and once you've done that choose "Save as default" from the same menu.
Hope that helps.
Janek
Dnia sobota, 10 maja 2014, Ken Heard napisaĆ:
Is it possible to have yakuake start whenever a user logs on so that the user does not have to start it from a terminal emulator when s/he wants to use it? The colours I want it to use are green on black, but running in a terminal emulator command "yakuake --bg black --fg green" as specified in the manual do not produce the desired result. Yakuake will open but with the default colours black on white.
I am presently using Debian Squeeze with KDE-Trinity, and package yakuake-trinity.
Regards, Ken Heard
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-05-12 02:06, Jan Stolarek wrote:
I have yakuake starting automatically on my system whenever I log on. This is provided Trinity's session management. See KControlCenter -> Session Manager. Alternatively, if for some reason you don't want session management, you should be able to put a script starting Yakuake in ~/.trinity/Autostart
Thank you for your response. I found that if in the session manager I select "Restore previous session" and if at the most recent log out from that session yakuake was activated, yakuake will be started on the next log in by the same user, and will open in my home directory.
As for colors you need to set the colors the way you want them (from context menu in Yakuake) and once you've done that choose "Save as default" from the same menu.
This part of your message I do not understand. What is the "context menu in Yakuake"? The only selection options I have when yakuake is open are those in the lower right corner of the screen. None of the menu options which appear when the "open menu" option (the one with the spanner/wrench) is selected allow choosing colours.
I tried the following script, called "yakuake-start", in directory ~/.trinity/Autostart:
#!/bin/bash yakuake --bg black -- fg green cd ~
and unchecked the "restore previous session" option described above. On log in yakuake started but the colour options were ignored. Furthermore, the cd command was also ignored; yakuake opened in the directory ~/.trinity/Autostart, not in my home directory.
I also tried variations on the colour options, such as an equal sign between the option and the argument and enclosing the arguments in double quotes. I also tried the command "cd /home/ken" (my home directory) in the script which was also ignored.
Is there a way to open yakuake both where I want it and with the colours I want?
Regards, Ken
Thank you for your response. I found that if in the session manager I select "Restore previous session" and if at the most recent log out from that session yakuake was activated, yakuake will be started on the next log in by the same user, and will open in my home directory.
Yes, that's exactly how session management works. Is this solution not satisfactory (aside from the colors issue)?
This part of your message I do not understand. What is the "context menu in Yakuake"?
It the menu you get by right-clicking in Yakuake terminal. It allows you to set fonts, colors, etc. Once you've done that you need to select "Save as default" from the menu. An alternative is to select "Use Konsole settings" to have Yakuake always mimic Konsole settings (as the option name implies).
I tried the following script, called "yakuake-start", in directory ~/.trinity/Autostart:
#!/bin/bash yakuake --bg black -- fg green cd ~
and unchecked the "restore previous session" option described above. On log in yakuake started but the colour options were ignored.
I actually know nothing about these command-line color options - can't help here.
Furthermore, the cd command was also ignored; yakuake opened in the directory ~/.trinity/Autostart, not in my home directory.
Yes, that's exactly what you told it to do :-) That `cd ~` is not a command executed in yakuake but in the shell process that is running the script. If you want a newly opened shell to start in a particular directory you can do this by editing your ~/.bashrc. I don't know how to execute a script on yakuake start, but I suppose that's doable. Try googling this.
Janek
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-05-12 13:19, Jan Stolarek wrote:
This part of your message I do not understand. What is the "context menu in Yakuake"?
It the menu you get by right-clicking in Yakuake terminal.
I was not aware of this possibility. I think I was really expecting a tool bar such as appears in Konsole. Since yakuake does not have one I I did not believe that yakuake had a context menu. Thanks for telling me about it.
It allows you to set fonts, colours, etc. Once you've done that you need to select "Save as default" from the menu. An alternative is to select "Use Konsole settings" to have Yakuake always mimic Konsole settings (as the option name implies).
Indeed. I was able to select my desired colour scheme.
I tried the following script, called "yakuake-start", in directory ~/.trinity/Autostart:
#!/bin/bash yakuake --bg black -- fg green cd ~
and unchecked the "restore previous session" option described above. On log in yakuake started but the colour options were ignored.
I actually know nothing about these command-line color options - can't help here.
Furthermore, the cd command was also ignored; yakuake opened in the directory ~/.trinity/Autostart, not in my home directory.
Yes, that's exactly what you told it to do :-) That `cd ~` is not a command executed in yakuake but in the shell process that is running the script. If you want a newly opened shell to start in a particular directory you can do this by editing your ~/.bashrc. I don't know how to execute a script on yakuake start, but I suppose that's doable. Try googling this.
I changed the yabuake-start script to read as follows:
#!/bin/bash/ cd ~ yakuake
With the colour selection determined as described above and with this script, yakuake now opens the way I want it, in the home directory and with my colours.
Regards, Ken
On Mon, 12 May 2014, Ken Heard wrote:
I tried the following script, called "yakuake-start", in directory ~/.trinity/Autostart:
.. and it's marked exutable?
#!/bin/bash yakuake --bg black -- fg green cd ~
The "-- fg green " looks wrong. Should be " --fg green ".
Or, did you _not_ copy and paste into your email?
Other than the above, I know _nothing_ about `yakuake`...
HTH Jonesy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-05-12 14:11, Jonesy wrote:
On Mon, 12 May 2014, Ken Heard wrote:
I tried the following script, called "yakuake-start", in directory ~/.trinity/Autostart:
.. and it's marked exutable?
Yes it was.
#!/bin/bash yakuake --bg black -- fg green cd ~
The "-- fg green " looks wrong. Should be " --fg green ".
I had it as " --fg green " in the script; I did not transcribe it correctly for the post to the TDE user group.
For how I finally solved my problems see below.
Regards, Ken