Ask / Submit

Can Jolla terminal be run with different profiles on the same device?

asked 2015-01-01 14:18:53 +0300

rdmo gravatar image

updated 2015-02-01 19:07:04 +0300

If there would be a way to do this then I would be able to open terminals in different starting contexts more easily, or run whatever scripts or programs needed. I know there are ways to do this, like starting every terminal session with a menu, but I wish to be able to tap an icon and then just be in the terminal use context I set up.

edit retag flag offensive close delete


What do you mean by profiles or contexts when starting terminal app? Shell environment or giving options to bash script, or something else..?

foss4ever ( 2015-01-01 15:26:02 +0300 )edit

When the terminal opens it runs ~/bashrc. I would like to be able to run different .bashrc files from different icons in the HomeScreen.

For example, one icon would run a temporary alias group to let me enter datestamped data about what I am doing, storing it as text on my Jolla. A second icon would start in a specific directory, use different aliases, a prompt ($PS1) showing the weather, and remind me of routine items, a shopping list or an appointment.

An example alias, then, can be alias r="echo 'date %Y/%V/%u %H%:M:%S$1' >> ~/log/runs". The command r 5km in that case adds a time-stamped log entry to a text file.

rdmo ( 2015-01-01 16:04:35 +0300 )edit

contexts: situations in which I want to do one specific thing using a terminal.

profile: the parameters, scripts and terminal (scripted) workflow I use to do the thing.

rdmo ( 2015-01-07 12:48:47 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2015-01-13 20:59:02 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-03-27 00:29:16 +0300

rdmo gravatar image

These comments regarding .desktop files pretty much obviate the (what seem now to not actually be) issues mentioned in this question. Since the question concerns Terminal use it should be possible to pass all the parameters needed to do what I want. I'll close this bug when I eventually put up a few working examples here. Making this editable by all in case others want to chime in.

edit flag offensive delete publish link more

answered 2015-03-27 11:24:21 +0300

Acce gravatar image

updated 2015-03-27 11:27:21 +0300

Possibly not what you want, but as one solution you may download the app ShellEx and setup it to open e.g. bash in fingerterm with the --rcfile filename option

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

1 follower


Asked: 2015-01-01 14:18:53 +0300

Seen: 374 times

Last updated: Mar 27 '15