DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: My First Ubuntu Program (MFUP) by Wreckedcarzz  (Read 7,740 times)

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
My First Ubuntu Program (MFUP) by Wreckedcarzz
« on: October 21, 2008, 11:51 PM »
Background information:

As most of the forum regulars know, I program heavily in Visual Basic .NET for Windows - mostly for personal use, but I do publish a few applications here at DC ("SnapSuite", "MiniBrowse", etc). I have been looking for a way to program in Ubuntu for a while now, trying to avoid C/C#/C++, as well as Java at all costs. WINE won't run Visual Studio, and there is no .NET for Linux.

After several months of searching, I stumbled upon Gambas 2 while finalizing my Ubuntu Intrepid Ibex install. The website seemed to imply that it is geared to C# and GTK#, but I gave it a shot anyways - it seemed like a good program from what I was reading. I had issues with the initial setup on my desktop (my own fault), and ended up giving up for the night.

Today, I started a project on my laptop in Gambas, just messing around in class. This time I didn't check the option as I did previously (the one giving me the error), and was able to build a GUI without much trouble. I ended up coding the thing up in the principal's office (unrelated), and figured out how to make a .deb package for Ubuntu. I had some real fun making the About box as well :P

Information:
This program doesn't really DO anything, it is more like a show of "this can be done". Just sort of interesting to tinker with for a couple minutes - everything works as it should.

How to install:

Download, extract and locate the .deb file - it should be called "test_0.0.3-1_all.deb"


Launch the .deb file and you should get a prompt similar to this:


Click "Install Package" and wait for installation to complete:


When the installation finishes you should see something like this:


Now close that dialog and the "Install Package" button should now say "Reinstall Package":


Installation is complete! You can close the Package Installer now!

Program in action:

Navigate to your Applications -> Other menu, and find "MFUP by Wreckedcarzz" - click to launch it:


This is the main GUI, just a few controls - the scrollbar at the bottom is locked in place:


The About box, IMO, priceless :D:


How to uninstall:

Navigate to your Applications -> Accessories menu, and find the Terminal:


In the terminal, type "sudo apt-get remove test":


Hit Enter and wait for a Y/N prompt to appear in the Terminal:


Press Y, followed by Enter to complete uninstallation:


Uninstall complete!

If you like it (or if you don't), let me know - I do plan on making actual Ubuntu applications (ones with a purpose), but I figured that this little project was interesting enough to post here :)

-Brandon
« Last Edit: October 21, 2008, 11:52 PM by wreckedcarzz »

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: My First Ubuntu Program (MFUP) by Wreckedcarzz
« Reply #1 on: October 22, 2008, 09:02 AM »
Hi brandon!
Could you just upload the images to DC?
It's more confortable to open them, and we're always assured that as long as the forum exists, the images will exist also :)

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: My First Ubuntu Program (MFUP) by Wreckedcarzz
« Reply #2 on: October 22, 2008, 09:25 AM »
Mono is supposed to be .net for linux. Also supposedly it supports .net 2.0, but not the cool stuff from 3.x.

Congratulations for your first ubuntu package. I think making a proper package is very important. I like it when programs can be uninstalled as easily and swiftly as they had been installed.

:Thmbsup:

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: My First Ubuntu Program (MFUP) by Wreckedcarzz
« Reply #3 on: October 22, 2008, 10:51 PM »
Hi brandon!
Could you just upload the images to DC?
It's more confortable to open them, and we're always assured that as long as the forum exists, the images will exist also :)

*Editing now* :)

The images are too big for DC to hold - it keeps erroring and throwing me in the "Create New Topic" page. :(

Mono is supposed to be .net for linux. Also supposedly it supports .net 2.0, but not the cool stuff from 3.x.

Congratulations for your first ubuntu package. I think making a proper package is very important. I like it when programs can be uninstalled as easily and swiftly as they had been installed.

:Thmbsup:

I'll have to check out Mono. Thanks - I tried to make the in/uninstall as easy as possible :D
« Last Edit: October 22, 2008, 11:00 PM by wreckedcarzz »

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: My First Ubuntu Program (MFUP) by Wreckedcarzz
« Reply #4 on: October 22, 2008, 11:19 PM »
I've been using Mono recently, and even on Windows I'm impressed. Not sure what state the VB compiler is in, but the C# compiler is feature complete.

Ehtyar.

Original address: https://www.donationcoder.com/forum/index.php?topic=15427.0