Please support VectorLinux!

Author Topic: looking for some bash scripting or something to do  (Read 8500 times)

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
looking for some bash scripting or something to do
« on: December 17, 2007, 05:17:00 pm »
Anyone got some back-end programming he can't pull off himself? I'm itching to do something a little more than packaging now (while not biting off more than I can chew, hence 'Epic Fail Guy')

If it's Gambas, I can at least look at the code and suggest an algorithm. :)
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
Re: looking for some bash scripting or something to do
« Reply #1 on: December 18, 2007, 06:16:43 am »
Well, There was a conversation on IRC about a good replacement for vsuper.
easuter had started one but he ran into security issues.

Another suggestion would be a good cd burner app. Maybe you can write a backend, and we could easily draw a nice gui for it. I've always thought we need to give that a shot sometime

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: looking for some bash scripting or something to do
« Reply #2 on: December 18, 2007, 06:50:47 am »
Agreed with the burner.  I was going to give it a shot, but I've much to much to learn about GTK.  Nooooo  not gonna mess with Gambas.  :)

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
Re: looking for some bash scripting or something to do
« Reply #3 on: December 18, 2007, 07:24:26 am »
I think if we could come up with a good backend, the GUI is no problem

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: looking for some bash scripting or something to do
« Reply #4 on: December 18, 2007, 07:37:08 am »
That is a good idea. I use cdrtfe when I am stuck in windows, which is a frontend for cdrtools. It is quite good, and suitable for advanced users as well (you don't lose functionality compared with the cli versions).
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

kidd

  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: looking for some bash scripting or something to do
« Reply #5 on: December 18, 2007, 07:57:30 am »
Another suggestion would be a good cd burner app. Maybe you can write a backend, and we could easily draw a nice gui for it. I've always thought we need to give that a shot sometime

Isn't that reinventing the wheel?

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
Re: looking for some bash scripting or something to do
« Reply #6 on: December 18, 2007, 08:00:09 am »
Isn't that reinventing the wheel?

I think linux still doesn't have a good cd burner app... maybe it's just me, but all the existing apps have fallen short for me at some time

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: looking for some bash scripting or something to do
« Reply #7 on: December 18, 2007, 08:29:05 am »
I think k3b is awesome.  But heavy.  I would say Linux doesn't have a good "lightweight" burning app.  Besides, it would introduce us to many new users.

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Re: looking for some bash scripting or something to do
« Reply #8 on: December 18, 2007, 09:04:40 am »
I think k3b is awesome.  But heavy.  I would say Linux doesn't have a good "lightweight" burning app.  Besides, it would introduce us to many new users.

I do feel somewhat like "kidd" - it may be re-inventing the wheel. There are great ncurses, lightweight burning apps (bashburn, mybashburn) already out there and Graveman I though was excellent even though it had two bugs in it.

Why not take over the Graveman code? It's a great start, just needs fixing up and adding DVD video capabilities...
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: looking for some bash scripting or something to do
« Reply #9 on: December 18, 2007, 09:10:31 am »
Well, There was a conversation on IRC about a good replacement for vsuper.
easuter had started one but he ran into security issues.

Why replace vsuper as it is now? I forgot...

Another suggestion would be a good cd burner app. Maybe you can write a backend, and we could easily draw a nice gui for it. I've always thought we need to give that a shot sometime

Can you give me an idea of what options the script would take?
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: looking for some bash scripting or something to do
« Reply #10 on: December 18, 2007, 09:26:38 am »
What about a simple tool to switch default language, locale, and perhaps other environment variables?
« Last Edit: December 18, 2007, 09:28:10 am by rbistolfi »
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

saulgoode

  • Vectorite
  • ***
  • Posts: 340
Re: looking for some bash scripting or something to do
« Reply #11 on: December 18, 2007, 09:32:33 am »
I would find a KRename-type utility which was not so bloated (not dependent on KDElibs) and bug-prone (last time I used it, anyways) to be very useful. It should be "safe" and it should provide an option to create a script which can restore the original names. The latter would be for situations where randomly named image files are "sequentialized" for processing, then their original names restored.
« Last Edit: December 18, 2007, 09:35:01 am by saulgoode »
A complex system that works is invariably found to have evolved from a simple system that works.

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
Re: looking for some bash scripting or something to do
« Reply #12 on: December 18, 2007, 09:47:38 am »

Why replace vsuper as it is now? I forgot...
I forgot too...

Quote
Can you give me an idea of what options the script would take?
Pretty much mock the options that k3b offers, but make them work ;)
keep it light-weight (away from kde or gnome libs)

An entirely different line of thought for those of you interested. This might require some ingenuity and creativity.... so here it goes
I've had thoughts about creating a "system restore" utility. This might be very useful to newbies.
This utility would undo (up to some extent) any damage created by a bad upgrade.
I think linux needs this.
maybe find a way to log what is being upgraded.
It may require storing information (if not packages) on the disc drive and maybe make it run in the background (or force gslapt or slapt-get to run it before any operations).

So far, that's all I got... if you all have any other ideas, let's hear them

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: looking for some bash scripting or something to do
« Reply #13 on: December 18, 2007, 08:26:44 pm »
http://pastebin.ca/823097

Here's vlocaleset. When you put it in /sbin, it should function. This script can easily be integrated into the existing VASM because it's written in bash.

...but it uses Perl at one point... :)

I'm entertaining the 'krename' idea.

Edit: To be 'lightweight', I would have to implement a subset of KRename's functionality. Hmm...
« Last Edit: December 18, 2007, 08:36:43 pm by hanumizzle »
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: looking for some bash scripting or something to do
« Reply #14 on: December 18, 2007, 08:40:29 pm »
Pretty much mock the options that k3b offers, but make them work ;)
keep it light-weight (away from kde or gnome libs)

What kind of interface are we talking about?

BTW, I don't have k3b atm. :)
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months