Author Topic: repair-database (My first zenity script)  (Read 8469 times)

Offline glamdring

  • Hero Member
  • *****
  • Posts: 552
Re: repair-database (My first zenity script)
« Reply #60 on: September 10, 2011, 09:54:27 AM »
How can I put something in /usr/bin and make it launch a program? For example geany.desktop launches geany, which looks like a gear, and geany program fiels are in /usr/share.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: repair-database (My first zenity script)
« Reply #61 on: September 10, 2011, 01:07:16 PM »
glamdring,
If your script is executable and in /usr/bin, you can create a .desktop file for it in /usr/share/applications. Exec= (line for launch command) would be the name of the script or /usr/bin/name of the script.     

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3731
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: repair-database (My first zenity script)
« Reply #62 on: September 10, 2011, 01:11:00 PM »
you can make a rpm package, if you like

see my articles about zipplayer...
http://pclosmag.com/html/Issues/201007/page15.html

Maybe it simpler...

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: repair-database (My first zenity script)
« Reply #63 on: September 10, 2011, 01:52:15 PM »
you can make a rpm package, if you like

see my articles about zipplayer...
http://pclosmag.com/html/Issues/201007/page15.html

Maybe it simpler...


Great idea! I wish I had thought of that. LOL     

Offline glamdring

  • Hero Member
  • *****
  • Posts: 552
Re: repair-database (My first zenity script)
« Reply #64 on: September 10, 2011, 02:44:53 PM »
Will this work for a whole program? Like if I'm installing gimp onto my computer manually and want to put it into the menu? The file that has to run is executable script, but it needs the rest of the files in the programs folder.

I'll take a look at the rpm thing, I did a quick skim and realized it's something I should take the time to sit down and actually read haha.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: repair-database (My first zenity script)
« Reply #65 on: September 10, 2011, 03:19:49 PM »
Will this work for a whole program? Like if I'm installing gimp onto my computer manually and want to put it into the menu? The file that has to run is executable script, but it needs the rest of the files in the programs folder.

I'll take a look at the rpm thing, I did a quick skim and realized it's something I should take the time to sit down and actually read haha.

I can recommend learning how to package RPMs very highly.     

Offline glamdring

  • Hero Member
  • *****
  • Posts: 552
Re: repair-database (My first zenity script)
« Reply #66 on: November 03, 2011, 12:10:56 AM »
Will this work for a whole program? Like if I'm installing gimp onto my computer manually and want to put it into the menu? The file that has to run is executable script, but it needs the rest of the files in the programs folder.

I'll take a look at the rpm thing, I did a quick skim and realized it's something I should take the time to sit down and actually read haha.

I can recommend learning how to package RPMs very highly.     

Thanks Neal, I will begin learning that! It might take me a bit longer with all my classes right now, but I really been missing learning this. I'm going to try and make some more time for my open source life, no online community is as welcoming or willing to teach as this one!

What would you suggest is the best place to start learning to package? I noticed the posts in the forums describing how, is this the best palce to get started?

-Thank You all for teaching me so much!

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: repair-database (My first zenity script)
« Reply #67 on: November 03, 2011, 12:52:26 AM »
glamdring,     
Start with Leiche's article in the magazine ---     
http://pclosmag.com/html/Issues/201007/page15.html     

Then peruse the Packagers section. You can post questions there.