Re: Re (2): autostarting a terminal.

2013-10-05 Thread Zenaan Harkness
On 10/3/13, Pontus Goffe wrote: > 2013-10-03 00:57, peasth...@shaw.ca skrev: >>> your issue looks similar to this: >>> >>> http://superuser.com/questions/593246/launching-a-shell-script-via-desktop-in-raspbian-wheezy >> > And what if the shellscript needs to be prefixed with sudo? > I have tried t

Re: Re (3): autostarting a terminal.

2013-10-03 Thread Bob Proulx
peasth...@shaw.ca wrote: > Pontus Goffe wrote: > > And what if the shellscript needs to be prefixed with sudo? But sudo will want to ask you for your password. If you are doing that in a graphical context then you would use "gksudo" not "sudo". > Certainly this desktop autostart technology has l

Re (3): autostarting a terminal.

2013-10-03 Thread peasthope
From: Pontus Goffe Date: Thu, 03 Oct 2013 07:17:18 +0200 > And what if the shellscript needs to be prefixed with sudo? Certainly this desktop autostart technology has limitations. I haven't found a way to execute a shell function in a terminal, aside from putting the function in a script.

Re: Re (2): autostarting a terminal.

2013-10-02 Thread Pontus Goffe
2013-10-03 00:57, peasth...@shaw.ca skrev: your issue looks similar to this: http://superuser.com/questions/593246/launching-a-shell-script-via-desktop-in-raspbian-wheezy And what if the shellscript needs to be prefixed with sudo? I have tried the below, both runs sudo which asks for passw

Re (2): autostarting a terminal.

2013-10-02 Thread peasthope
From: Dmitrii Kashin Date: Thu, 03 Oct 2013 01:35:17 +0400 > Why don't you tell us which DE you are using? LXDE From: david...@ling.ohio-state.edu Date: Wed, 2 Oct 2013 17:17:31 -0400 (EDT) > OP, what do you have /etc/alternatives/x-terminal-emulator linked to? peter@dalton:~$ ls -l /et

Re: autostarting a terminal.

2013-10-02 Thread Dmitrii Kashin
peasth...@shaw.ca writes: > Given ~/.config/autostart/openaterminal.desktop containing > Exec=lxterminal > Terminal=false > a terminal is opened on the desktop following login. > > If the two lines changed to > Exec=sh > Terminal=true > no terminal is opened. Why don't you tell us whic

Re: autostarting a terminal.

2013-10-02 Thread davidson
On Wed, 2 Oct 2013, Sarunas Burdulis wrote: On 10/02/2013 09:17 AM, peasth...@shaw.ca wrote: Given ~/.config/autostart/openaterminal.desktop containing Exec=lxterminal Terminal=false a terminal is opened on the desktop following login. If the two lines changed to Exec=sh Terminal=true n

Re: autostarting a terminal.

2013-10-02 Thread Sarunas Burdulis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/2013 09:17 AM, peasth...@shaw.ca wrote: > Given ~/.config/autostart/openaterminal.desktop containing > Exec=lxterminal > Terminal=false > a terminal is opened on the desktop following login. > > If the two lines changed to > Exec=sh

autostarting a terminal.

2013-10-02 Thread peasthope
Given ~/.config/autostart/openaterminal.desktop containing Exec=lxterminal Terminal=false a terminal is opened on the desktop following login. If the two lines changed to Exec=sh Terminal=true no terminal is opened. Nothing in /var/log/* contains "autostart". What has happened in the