Skip to main content
14 events
when toggle format what by license comment
Apr 16, 2017 at 5:34 comment added tripleee Adding the actual code you are attempting to run to your question would clarify it immensely. Please edit it to update with more details.
Apr 15, 2017 at 22:02 comment added jbrock @tripleee I checked it and found this. (xfce4-session:10414): xfce4-session-WARNING **: Unable to launch "function_login_test" (specified by autostart/test.desktop): Failed to execute child process "function_login_test" (No such file or directory)
Apr 15, 2017 at 8:27 comment added tripleee What do you see in .xsession-errors?
Apr 14, 2017 at 20:05 answer added resc timeline score: 3
Mar 19, 2017 at 21:56 comment added jbrock @terdon I finally was able to update those details for my question.
Mar 19, 2017 at 21:55 history edited jbrock CC BY-SA 3.0
Added needed details
Feb 28, 2017 at 15:29 comment added jbrock @terdon (I think I would have been more clear if I had not posted yesterday when I was overly tired.) I think I have gotten to the bottom of my issue on trying to call a ~/.bashrc function from ~/.profile when logging in to an x session (Xfce). I will plan update my question and all the information by later on this week. Thanks
Feb 27, 2017 at 22:23 comment added terdon OK. Please edit your question and give us more details then. First, explain exactly what you want to happen (I'm afraid "I want to run it as a login item" isn't very understandable). Then, explain that you put it in ~/.profile and it failed. Also mention whether you need this to happen when you log in from the GUI or from the command line or both. Finally, explain why you don't just put that one function into a script and have the script run on login.
Feb 27, 2017 at 22:12 comment added jbrock I had tried to call it from ~/.profile, and it did not run for some reason.
Feb 27, 2017 at 22:11 history edited jbrock CC BY-SA 3.0
Added needed detail
Feb 27, 2017 at 22:11 comment added terdon So you just want one specific function to i) run once each time you log in and ii) be available to run on demand in normal (non-login) shells? Why don't you just call the function from ~/.profile then?
Feb 27, 2017 at 22:09 comment added jbrock I want it to run once when I log in. I could run it in my ~/.bashrc, but this runs it every time I open a terminal session.
Feb 27, 2017 at 22:08 comment added terdon What do you mean by "login item"? Do you just want to have the functions available in a login shell when you want them? Or do you want one of these functions to be run automatically when you log in?
Feb 27, 2017 at 22:06 history asked jbrock CC BY-SA 3.0