Sign in to follow this  
Followers 0
Haggis

A Project Needed

11 posts in this topic

Hey Guys

 

over the last few weeks i have had a few things happen in my life that have gotten me a bit down in the dumps

 

I need a project to get my teeth into to get my mind working again

 

The last time i did this is when i created the stats script

 

I am still working on that in th background but its slowed a little as i am not sure what else i can add

 

So cmon give me your ideas...

Share this post


Link to post
Share on other sites

Well I can tell you a (rather stupid) idea I had some weeks ago: sort of an external device alarm.

I say it's stupid because it'd be a bit annoying, but rather than it's usefulness I was interested in the fact that it could be easily done.

 

Anyway, it'd go like this: say you brough your laptop to some customer's office or someone else's house, and aren't all that confident about your stuff (phone, pendrives, mouse, the whole laptop) not disappearing as soon you walk away.

What if you could set it up so whenever anything is disconnected (usb stuff and even the power plug) it activated some action like ringing an alarm, taking a picture with the webcam or maybe sending an email with the event and the pictures?

 

For usb devices you can set up udev events on plug and unplug, and then use some graphical frontend to let the user decide which devices will raise the alert.

For the power plug IIRC you can check that on /proc

You would also have to rise the volume when the alarm fires, and I found back then an article somewhere about a way to override the mic and phones plugs' settings, so you could disable the phones plug so it goes through the speakers no matter what.

 

As I said it might not be all that usefull anyway, but it's easy enough to keep you entertained for a while without much headache, if you feel like it  :laugh: the different pieces can be done in a matter of minutes, the actual work is putting it all together and packaging it nicely.

Share this post


Link to post
Share on other sites

^ That's actually a really good idea.  Could even add some option to like shutdown the computer or something.  So that if your computer has a password, and you are logged in, it will alarm/send email/etc but you could also have the option of shutting it down.   That way if someone does take it and they shouldn't it will automatically log off/shutdown/etc.

 

Would also be cool to have something where it remembers the last IP address it was connected to.  And if you connect with a different IP/ISP (you could specify a range for dynamic ip)  it prompts you for a password.  If no password/incorrect password is written, it could go through and clean up all personal information/wipe the drive/something.

Share this post


Link to post
Share on other sites

What about a gui for your script?

Share this post


Link to post
Share on other sites

This week I have been looking at different window managers again out of boredom. Mostly tiling ones. Perhaps you could find one that looks interesting to you and try to master the keyboard shortcuts? People can be very efficient on them. I have experimented with them plenty of times but could never stick with them for too long. I recommend bspwm.

 

The only reason I say that instead of working on a script is because there are scripts for nearly everything.

Share this post


Link to post
Share on other sites

Some good ideas :D

Kreuger you mean so you could display its the dialog for people that dont want to use the cli version?

Share this post


Link to post
Share on other sites

Some good ideas :D

Kreuger you mean so you could display its the dialog for people that dont want to use the cli version?

 

Yea, Basically have something akin to the Windows One, that shows Version, Memory, Cpu, etc.

Share this post


Link to post
Share on other sites

lol i hate to disappoint but i dont think i am that good :(

 

looking at perltk u think this is best for the dialog?

Share this post


Link to post
Share on other sites

lol i hate to disappoint but i dont think i am that good :(

 

looking at perltk u think this is best for the dialog?

Maybe not the best (in terms of looks), but if you did your stat script in perl, then go for it. Learning isn't about doing it the best at first anyway, it's about learning something new, in this case learning a bit about gui toolkits (tk is supposedly easier than other gui toolkits so that's a plus for starting out btw).

 

Note: After thinking about it, I'd imagine that tk is probably the most widely distributed perl gui toolkit. So in terms of compatibility it probably is best.

Share this post


Link to post
Share on other sites

Cool

 

i had a look at it last night

 

managed to get some labels and some text boxes on it so will keep plugging away at it :)

 

always good to learn something new

1 person likes this

Share this post


Link to post
Share on other sites

Could always look into .NET (Mono) and do it with monodevelop.  

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.