What the proper way to make a debian package launch an app at startup?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I have created a debian package that contains the following files
mypackage.desktop
mypackage
control
copyright
packagedeb.sh
mypackage.jar
(generated from my source code)
I wrote some commands inside the mypackage
file like:
cp usr/share/applications/mypackage.desktop ~/.config/autostart/
to copy the .desktop
file into autostart directory.
But I cannot see mypackage.desktop
file inside autostart.
How can I create a debian package that copies a .desktop
file into the autostart
folder to launch my app at startup?
I am using these instructions.
package-management autostart debian-installer
add a comment |Â
up vote
1
down vote
favorite
I have created a debian package that contains the following files
mypackage.desktop
mypackage
control
copyright
packagedeb.sh
mypackage.jar
(generated from my source code)
I wrote some commands inside the mypackage
file like:
cp usr/share/applications/mypackage.desktop ~/.config/autostart/
to copy the .desktop
file into autostart directory.
But I cannot see mypackage.desktop
file inside autostart.
How can I create a debian package that copies a .desktop
file into the autostart
folder to launch my app at startup?
I am using these instructions.
package-management autostart debian-installer
Apart from the question: I don't think it is the correct/decent procedure for any package to make unnoticed, unmentioned changes locally while installing without specific confirmation from the user.
â Jacob Vlijm
Apr 18 at 10:33
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have created a debian package that contains the following files
mypackage.desktop
mypackage
control
copyright
packagedeb.sh
mypackage.jar
(generated from my source code)
I wrote some commands inside the mypackage
file like:
cp usr/share/applications/mypackage.desktop ~/.config/autostart/
to copy the .desktop
file into autostart directory.
But I cannot see mypackage.desktop
file inside autostart.
How can I create a debian package that copies a .desktop
file into the autostart
folder to launch my app at startup?
I am using these instructions.
package-management autostart debian-installer
I have created a debian package that contains the following files
mypackage.desktop
mypackage
control
copyright
packagedeb.sh
mypackage.jar
(generated from my source code)
I wrote some commands inside the mypackage
file like:
cp usr/share/applications/mypackage.desktop ~/.config/autostart/
to copy the .desktop
file into autostart directory.
But I cannot see mypackage.desktop
file inside autostart.
How can I create a debian package that copies a .desktop
file into the autostart
folder to launch my app at startup?
I am using these instructions.
package-management autostart debian-installer
package-management autostart debian-installer
edited Apr 18 at 10:15
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
48k13119227
48k13119227
asked Apr 18 at 9:53
![](https://lh6.googleusercontent.com/-IEwhwKaBJLw/AAAAAAAAAAI/AAAAAAAAABI/FrOeU9JEbyU/photo.jpg?sz=32)
![](https://lh6.googleusercontent.com/-IEwhwKaBJLw/AAAAAAAAAAI/AAAAAAAAABI/FrOeU9JEbyU/photo.jpg?sz=32)
Prakash Sharma
63
63
Apart from the question: I don't think it is the correct/decent procedure for any package to make unnoticed, unmentioned changes locally while installing without specific confirmation from the user.
â Jacob Vlijm
Apr 18 at 10:33
add a comment |Â
Apart from the question: I don't think it is the correct/decent procedure for any package to make unnoticed, unmentioned changes locally while installing without specific confirmation from the user.
â Jacob Vlijm
Apr 18 at 10:33
Apart from the question: I don't think it is the correct/decent procedure for any package to make unnoticed, unmentioned changes locally while installing without specific confirmation from the user.
â Jacob Vlijm
Apr 18 at 10:33
Apart from the question: I don't think it is the correct/decent procedure for any package to make unnoticed, unmentioned changes locally while installing without specific confirmation from the user.
â Jacob Vlijm
Apr 18 at 10:33
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026068%2fwhat-the-proper-way-to-make-a-debian-package-launch-an-app-at-startup%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Apart from the question: I don't think it is the correct/decent procedure for any package to make unnoticed, unmentioned changes locally while installing without specific confirmation from the user.
â Jacob Vlijm
Apr 18 at 10:33