It is currently Sun Aug 20, 2017 1:25 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [Solved] How to unpack program to
PostPosted: Fri Aug 11, 2017 2:25 am 
Offline

Joined: Tue Jul 04, 2017 7:06 pm
Posts: 42
Location: Canada
I am trying to install Master PDF Editor.

I received the following instructions from the Master PDF people:
Please, download this Master PDF Editor package and install it from console.
http://get.code-industry.net/public/mas ... d64.tar.gz
To install, unpack it to /opt/ and set the masterpdfeditor4 to runnable as well. This way it will automatically find Qt packages.

I am new to Linux and don't know how to do this.
Could someone walk me through the steps?
Thanks


Last edited by greyowl on Mon Aug 14, 2017 1:36 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 3:24 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Use spacefm as root to extract your tar.gz in /opt. You can copy and paste your tar.gz from whever it sits to /opt using spacefm as root user. Right click in spacefm will show the option to do this.

Code:
sudo spacefm


Should handle this. I usually use su myself. But I am more experienced running stuff out /opt than you are I think. Launcher should be something like /opt/whatever folder name is goes here/launcher.

I usually change user permissions in /opt on a application I want to run out of a root folder like /opt.

These are just general instructions without going into specifics . Hopefully someone else will give better details when you supply more info on what ya got.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 3:57 am 
Offline

Joined: Tue Jul 04, 2017 7:06 pm
Posts: 42
Location: Canada
Thank you it worked.
I was able to extract the tarball to /opt/. Then I right clicked on Master PDF Editor and chose Execute and the program opened.

I followed your instructions for the launcher, but I couldn't get it to open the program. I put the following in the terminal: /opt/masterpdfeditor4/launcher. Am I doing something wrong?

Now, I just need to put the program on my applications menu.
How do I do this?


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 10:06 am 
Offline
User avatar

Joined: Thu Jul 26, 2012 9:46 pm
Posts: 792
Location: Surrey/Hants Border UK
You should find a menu editor in the 'Control Panel', but you'll need to know how to start your program manually, I think. Look inside your /opt/masterpdfeditor4 directory to see what the 'launcher' name is.

If you can't figure that out, post the list of files in that directory here, & we'll have a guess at which it is. ;)

_________________
Linux (& BSD) since 1999.


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 2:56 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Might be a permission issue also.

Launching anything out of /opt needs /etc/sudoers editing or chown editing done on a application folder extracted in /opt sometimes.

I was thinking after I posted that you would get maybe lib dependency errors. I was banking on everything being included in the extracted tar.bz folder to run the application as far as dependencies went. QT applications are usually KDE dependent. KDE Desktop that is.

Edit:

Code:
I put the following in the terminal: /opt/masterpdfeditor4/launcher. Am I doing something wrong?


I wrote launcher as a generic name for what the launcher name is in that folder.
Surely. What launches the gui is not named launcher. Is it?

I also forgot to mention there are hotkeys for opening root terminal and other applications. Look through > antix control panel center> desktop > edit icewm > then look for keys file to read what they are. I place mine in my conky for quick reference.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 9:19 pm 
Offline

Joined: Tue Jul 04, 2017 7:06 pm
Posts: 42
Location: Canada
fatmac wrote:
You should find a menu editor in the 'Control Panel', but you'll need to know how to start your program manually, I think. Look inside your /opt/masterpdfeditor4 directory to see what the 'launcher' name is.

If you can't figure that out, post the list of files in that directory here, & we'll have a guess at which it is. ;)


The launcher name is> masterpdfeditor4.
If I right click on it and choose Execute, the program will open.
I put a link to the launcher on my desktop. If I left click it, the program will open.
I check Control Center>desktop>edit menus, but the program is not listed.

I would like to put the program in the Applications Menu. How would I do this?


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 9:25 pm 
Offline

Joined: Tue Jul 04, 2017 7:06 pm
Posts: 42
Location: Canada
rokytnji wrote:

Edit:

Code:
I put the following in the terminal: /opt/masterpdfeditor4/launcher. Am I doing something wrong?


I wrote launcher as a generic name for what the launcher name is in that folder.
Surely. What launches the gui is not named launcher. Is it?

I also forgot to mention there are hotkeys for opening root terminal and other applications. Look through > antix control panel center> desktop > edit icewm > then look for keys file to read what they are. I place mine in my conky for quick reference.


Now, I understand.
I am able to open the program with the terminal.
I was able to find the keys. Thanks


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 10:08 pm 
Offline

Joined: Wed Jul 13, 2016 1:02 pm
Posts: 59
Location: Freiburg, Germany
greyowl wrote:
I would like to put the program in the Applications Menu. How would I do this?

I don't know if this is the orthodox way, but I managed to get the Master PDF Editor into my applications menu as follows:

In the directory /opt/master-pdf-editor-4 you should find the file masterpdfeditor4.desktop. Copy it into the directory ~/.local/share/applications ("~" stands for your home directory; the leading dot in ".local" means that it's a hidden directory) – either with the help of SpaceFM or Rox Filer or by running the following command in the terminal:
Code:
cp /opt/master-pdf-editor-4/masterpdfeditor4.desktop ~/.local/share/applications

Finally update the menu by clicking on its item "Update Menu". That done you should find the Master PDF Editor 4 under Applications -> Office as well as under Applications-> Graphics.


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 10:52 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
It is the correct way reverse dog.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Fri Aug 11, 2017 11:07 pm 
Offline

Joined: Tue Jul 04, 2017 7:06 pm
Posts: 42
Location: Canada
I completed the instructions.
The program is not showing in the Applications.
I checked Control Center>desktop>Edit menus and Master PDF is in the list of applications so I selected it to "show".
However, this did not work.


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Sat Aug 12, 2017 9:06 pm 
Offline

Joined: Tue Jul 04, 2017 7:06 pm
Posts: 42
Location: Canada
Still no luck in getting Master PDF Editor into the applications menu.
Does anyone have any ideas how to fix this?


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Sun Aug 13, 2017 1:58 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Put in personal menu section then.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Sun Aug 13, 2017 2:18 am 
Offline

Joined: Tue Jul 04, 2017 7:06 pm
Posts: 42
Location: Canada
rokytnji wrote:
Put in personal menu section then.


I tried this as well, but it did not work.


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Sun Aug 13, 2017 3:07 am 
Offline

Joined: Wed Jul 13, 2016 1:02 pm
Posts: 59
Location: Freiburg, Germany
I wonder if you maybe unpacked Master PDF Editor into a wrong subdirectory of /opt, in which case the path wouldn't correspond with the Exec command in the .desktop file. The correct subdirectory for MPE should be /opt/master-pdf-editor-4, whereas above you mentioned /opt/masterpdfeditor4 (without dashes).


Top
 Profile  
 
 Post subject: Re: How to unpack program to
PostPosted: Sun Aug 13, 2017 9:59 am 
Offline
User avatar

Joined: Thu Jul 26, 2012 9:46 pm
Posts: 792
Location: Surrey/Hants Border UK
One other thing that comes to mind, especially if it's a script - check that it has its execution bit set.

_________________
Linux (& BSD) since 1999.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 1 guest


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
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred