Advertisement
Maluvia

Adding Apps to TinyCore wbar manually

Nov 8th, 2012
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. If you install a persistent app manually, ( i.e. compiled, or installed binary outside the .tcz or .scm repo and tc-install method), Do this to get it to show up in wbar:
  2.  
  3. Create application.desktop following usual .desktop template, but make sure paths to executable and icons are correct.
  4.  
  5. Add to /opt/bootlocal.sh the following commands:
  6.  
  7. cp /path/to/sourcedir/application.desktop /usr/local/share/applications
  8. touch -u tc /usr/local/tce.installed/application-name
  9. (This assumes you are the user tc)
  10.  
  11. Now on boot, the new app & icon will automatically be added to /usr/local/tce.icons (and /usr/local/tce.jwm if you use window manager jwm for example)
  12. and will now show up in wbar on boot.
  13.  
  14. NB) If the new app needs to run a script on boot, create it as a bash executable with the application name, and instead of using touch in bootlocal.sh, use:
  15.  
  16. cp -a /path/to/sourcedir/appplication-name /usr/local/tce-installed and make sure it has user ownership and executable permissions.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement