Hi
Is there possible to include a personal script to execute at starting time
(for ex. «setxkbmap -layout us -variant intl & »)
personal start script
- wread
- Module Guard
- Posts: 1255
- Joined: 09 Jan 2011, 18:48
- Distribution: Porteus v5.0-kde-64 bits
- Location: Santo Domingo
- Contact:
Re: personal start script
Hi easy, welcome an board!
If you are using "changes" you won't need any pesonal settings module, for the system takes care for it automatically.
If you are not using "changes" (=Always Fresh Mode), then you will have to care for your personal settings; there are two possibilities:
- you make your own "mySettings.xzm" module by copying the contents of /mnt/live/memory/changes to a folder made by you, say /root/mySettings, and after copying, you right click it, choose to make a Porteus module. Now you move your first own module to porteus/modules and you are done!
- or, you inspect above mentioned /mnt/live/memory/changes to find out where your settings are, and when you find them, copy the new file created by your setting to porteus/rootcopy, following the tree starting at "changes".
For a newbie, the first way is easier and works nicely. Advanced users often prefer the second way.
Try it! Good luck
If you are using "changes" you won't need any pesonal settings module, for the system takes care for it automatically.
If you are not using "changes" (=Always Fresh Mode), then you will have to care for your personal settings; there are two possibilities:
- you make your own "mySettings.xzm" module by copying the contents of /mnt/live/memory/changes to a folder made by you, say /root/mySettings, and after copying, you right click it, choose to make a Porteus module. Now you move your first own module to porteus/modules and you are done!
- or, you inspect above mentioned /mnt/live/memory/changes to find out where your settings are, and when you find them, copy the new file created by your setting to porteus/rootcopy, following the tree starting at "changes".
For a newbie, the first way is easier and works nicely. Advanced users often prefer the second way.
Try it! Good luck
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!
The Porteus Community never sleeps!
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: personal start script
Also, to run a simple command like that at startup, you can use 'rc.local': http://porteus.org/info/docs/47-porteus ... local.html
you could also do this with the autoexec= cheatcode (e.g. 'autoexec=setxkbmap~-layout~us~-variant~intl'), but that's a lot of '~' to type in.
rc.local can be customized through porteus-settings-centre. Click on the 'boot' icon, then 'startup scripts'. You can also use language selection tool (also in porteus settings center) to set your xkb map as well as your system language.
EDIT: correction for posterity's sake: PSC does not edit rc.local when you use it to edit 'startup scripts'. It adds sysvinit scripts instead.
you could also do this with the autoexec= cheatcode (e.g. 'autoexec=setxkbmap~-layout~us~-variant~intl'), but that's a lot of '~' to type in.
rc.local can be customized through porteus-settings-centre. Click on the 'boot' icon, then 'startup scripts'. You can also use language selection tool (also in porteus settings center) to set your xkb map as well as your system language.
EDIT: correction for posterity's sake: PSC does not edit rc.local when you use it to edit 'startup scripts'. It adds sysvinit scripts instead.
Please take a look at our online documentation, here. Suggestions are welcome!
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: personal start script
Cough cough !!
This function was added to the 'Porteus settings centre' so people wouldn't have to bother with config files and all that complicated stuff.
Just open 'Porteus settings centre' from the menu and click on the 'boot' icon and you will see you can choose your own script to run at startup ... or enter a bunch of commands you want to run at startup.
Having said that ... i would always use config files (the hard way) to become/stay familiar with the slackware system.
This function was added to the 'Porteus settings centre' so people wouldn't have to bother with config files and all that complicated stuff.
Just open 'Porteus settings centre' from the menu and click on the 'boot' icon and you will see you can choose your own script to run at startup ... or enter a bunch of commands you want to run at startup.
Having said that ... i would always use config files (the hard way) to become/stay familiar with the slackware system.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.