It is currently Fri Jun 22, 2018 12:57 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Fri Sep 06, 2013 7:08 am 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3083
Location: United Kingdom
Thanks Thomas, I will take a look. :)

Was the original pdf in English or are these it?

_________________
http://www.SinisterSoft.com <- My Business website
http://www.ReportComplete.com and http://www.ReportPlus.co.uk <- School end of term reports system


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Fri Sep 06, 2013 7:59 am 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3083
Location: United Kingdom
Did a quick translation using Google. I know it's not supposed to be distributed unmodified but I hope you don't mind?

http://sinistersoft.com/downloads/PureB ... inners.pdf

_________________
http://www.SinisterSoft.com <- My Business website
http://www.ReportComplete.com and http://www.ReportPlus.co.uk <- School end of term reports system


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Mon Feb 17, 2014 7:07 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10405
Location: Beyond the pale...
Have installed Ubuntu 13.10 x64 in a dual boot config and everything is sweet. Purebasic was a breeze to install and get running. (Am amazed that my latest project ran straight out of the box... file paths aside! :) )

One thing remains... file association; .pb, .pbi, .pbp. Have added the relevant mime types into 'purebasic.xml' etc. but at this point I am stuck. The Ubuntu-tweak utility installs, but will not run on this version of Ubuntu (or so it seems!) Nothing happens when I click it in the launcher.

Anyone know how to proceed manually? I've taken a look at the mimeapps.list file, but it is empty and I do not know how to construct a valid entry for this file!

Who would have guessed this simple operation would, in fact, not be so simple! :)

Thanks.

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Mon Feb 17, 2014 8:59 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5736
Location: Berlin - Germany
Open a terminal and type in:
Code:
gksu gedit
or
Code:
gksudo gedit
i can't test on ubuntu.
copy in:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
   <mime-type type="text/purebasic">
   <comment>PureBasic source code</comment>
   <glob pattern="*.pb"/>
   <glob pattern="*.pbi"/>
   </mime-type>
</mime-info>
and save the text in: /usr/share/mime/packages as purebasic.xml
Code:
sudo update-mime-database /usr/share/mime

should do the trick. If this not work have a look on the manpage:
Code:
man update-mime-database

_________________
PureBasic 5.70 | SpiderBasic 2.10 | Windows 10 Pro (x64) | Linux Mint 19.0 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Mon Feb 17, 2014 9:01 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10405
Location: Beyond the pale...
Sorted the file associations with Ubuntu 13.10 x64.

The following link showed the way : https://wiki.archlinux.org/index.php/De ... plications

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Mon Feb 17, 2014 9:06 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10405
Location: Beyond the pale...
Thanks Thomas.

I had already done that, but for the life of me I am not sure if that was enough because I cannot remember testing once Ubuntu-Tweak failed to run! Doh!

Anyhow, I added a .desktop file as instructed in the link I posted above and it all works now. As I say though, not sure if what you had outlined did the trick or this .desktop file was the final piece in the puzzle? :)

It is all working now anyhow.

I can see why people are switching to Linux as this is much nicer than I remember from my last time out with Ubuntu. Heck, my PB code even works... which wasn't the case last time. :)

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Wed Feb 19, 2014 5:55 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Apr 12, 2013 1:55 pm
Posts: 1057
Location: just outside of Ferguson
srod wrote:
I can see why people are switching to Linux as this is much nicer than I remember from my last time out with Ubuntu. Heck, my PB code even works... which wasn't the case last time. :)
Indeed.

After using UBUNTU as my main OS for three seasons now, only just this week :oops:
have I discovered the power of rolling the mouse scroll wheel while pointing at the Unity launcher icons when using multiple windows.
Mega sweet. :D

_________________
Keep it BASIC.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Tue Jun 17, 2014 11:57 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 5774
Location: Wales, UK
...It's not all sweetness and light. I am trying to install Ubuntu 14.04LTS, sharing the PC with Windows XP. Install fails at around the 80% mark without warning. Also, be warned - Ubuntu un-install/re-install can wipe your whole drive, across partitions, without any warning, thus losing anything else you might have on the drive. It is apparently a known 'critical bug' but that does not say much for the testing carried out before release.........

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
PostPosted: Sun Jun 19, 2016 7:36 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jul 21, 2009 11:11 am
Posts: 241
Location: On the planet
IdeasVacuum wrote:
...It's not all sweetness and light. I am trying to install Ubuntu 14.04LTS, sharing the PC with Windows XP. Install fails at around the 80% mark without warning. Also, be warned - Ubuntu un-install/re-install can wipe your whole drive, across partitions, without any warning, thus losing anything else you might have on the drive. It is apparently a known 'critical bug' but that does not say much for the testing carried out before release.........
It sounds like you're doing something wrong. I use Ubuntu since 2005 (Breezy Badger) and never encountered any problems while creating / formatting partitions. If you install Linux (any distro) next to Windows, then what exactly do you do, dual boot or VM? If VM then it may be that Windows has a lock on whatever that prevents Linux from completing installation. Dual boot should not give any problem at all unless you're out of disk space. But even then you should see a warning.

In general I advice against multiple OSs on a single computer. Sooner or later you will find trouble, no matter how sophisticated boot loaders and VMs are. Install Linux on three partitions, one for root (8+GB), one for swap (4-8GB) and one for home, using the proper mounting points.

Since Ubuntu 14.04 and 16.04 both have support until 2019, my choice would be Ubuntu 16.04 LTS

_________________
PureBasic 5.41 LTS | Xubuntu 16.04 (x32) | Windows 7 (x64)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye