Where is the porteus/modules folder?

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
lailju1979
White ninja
White ninja
Posts: 9
Joined: 01 Feb 2017, 13:07
Distribution: 3.2.2
Location: Seoul, Korea

Where is the porteus/modules folder?

Post#1 by lailju1979 » 01 Feb 2017, 13:13

I installed porteus today for the first time.
And I want to install webbrowser.
From web searching, I knew I have to copy .xzm module to porteus/modules folder.
But I cannot find that folder anywhere.
I expect someone's kind help.
Thank you.
Last edited by lailju1979 on 02 Feb 2017, 04:06, edited 1 time in total.

donald
Full of knowledge
Full of knowledge
Posts: 1219
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Where is the porteus/modules folder?

Post#2 by donald » 01 Feb 2017, 13:38

Hello lailju1979

This folder (modules) is on the device where you have porteus installed.
Physical devices are mounted in /mnt/sdXN
e.g. sda1 , sda2 etc. depending on how much devices and partitions you have.
If you have only one, it would be /mnt/sda1/porteus/modules/ for example.

lailju1979
White ninja
White ninja
Posts: 9
Joined: 01 Feb 2017, 13:07
Distribution: 3.2.2
Location: Seoul, Korea

Re: Where is the porteus/modules folder?

Post#3 by lailju1979 » 01 Feb 2017, 15:53

Thank you for your reply.

I installed porteus on my notebook SDD.
And I followed that route as your advice.
And I found five folder.
live, sda1, sda5, sdb1, sbc1...
I guess sdb1 is dvd drive and sbc1 is USB memory.

Anyway, I tried to copy and paste my .xzm files to 'live' folder and 'sda1' folder..
But it did not work.

I logged in guest account.

I don't know what is the problem.

jssouza
DEV Team
DEV Team
Posts: 348
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Re: Where is the porteus/modules folder?

Post#4 by jssouza » 01 Feb 2017, 16:38

The porteus directory can be found using the environment variable $PORTDIR.

Code: Select all

guest@porteus:~$ echo $PORTDIR
So, your modules directory should be $PORTDIR/modules

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Where is the porteus/modules folder?

Post#5 by Bogomips » 01 Feb 2017, 16:39

In terminal:

Code: Select all

guest@porteus:~$ grep -A1 "# Porteus" /var/log/porteus-livedbg
Will show folder for porteus. Folder you seek will be /mnt/sdXy/porteus/modules. X,y get from output of above command. :)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

lailju1979
White ninja
White ninja
Posts: 9
Joined: 01 Feb 2017, 13:07
Distribution: 3.2.2
Location: Seoul, Korea

Re: Where is the porteus/modules folder?

Post#6 by lailju1979 » 02 Feb 2017, 03:46

Sorry, I mean 'paste' was not work.
TT

As the above command, my porteus is installed sda1 device.
Last edited by lailju1979 on 02 Feb 2017, 04:05, edited 1 time in total.

lailju1979
White ninja
White ninja
Posts: 9
Joined: 01 Feb 2017, 13:07
Distribution: 3.2.2
Location: Seoul, Korea

Re: Where is the porteus/modules folder?

Post#7 by lailju1979 » 02 Feb 2017, 03:58

Oh. I should have to open modules folder as root..
I successed paste the palemoon.xzm file.

And I activated it. (I was happy)

After that, I pressed start button - internet - palemoon program,
But it is not run.

How can I run palemoon?
What I missed?

User avatar
Ed_P
Contributor
Contributor
Posts: 3320
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Where is the porteus/modules folder?

Post#8 by Ed_P » 02 Feb 2017, 05:04

lailju1979 wrote:Oh. I should have to open modules folder as root..
I successed paste the palemoon.xzm file.
I've never used root to copy files to my modules folder.
How can I run palemoon?
What I missed?
Sometimes it helps to reboot. Sometimes it helps to add a module using USM because it can resolve dependency conflicts. With 3.2.2 I believe there is an update-palemoon command that can be run.

Lots of options.
Ed

donald
Full of knowledge
Full of knowledge
Posts: 1219
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Where is the porteus/modules folder?

Post#9 by donald » 02 Feb 2017, 06:28

@ lailju1979
Please tell us which Desktop (XFCE,KDE..etc), 32 or 64 Bit you use.
also
palemoon-27.0.3-i686-1.xzm --> 32 Bit
palemoon-27.0.3-x86_64-1.xzm --> 64 Bit
Thanks

lailju1979
White ninja
White ninja
Posts: 9
Joined: 01 Feb 2017, 13:07
Distribution: 3.2.2
Location: Seoul, Korea

Re: Where is the porteus/modules folder?

Post#10 by lailju1979 » 02 Feb 2017, 11:55

I installed PORTEUS cinnamon v3.2.2-x86_64.
I think I installed cinnamon as desktop. (Cinnamon is a kind of desktop, Right?)

Yesterday, I installed palemoon i686.
So I deleted it and downloaded palemoon for 64 bit and activated again.

Then I looked out whether palemoon is added to start menu,
but I could not find palemoon icon anywhere.

Still I could not find out what is my fault.
I am so sad.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Where is the porteus/modules folder?

Post#11 by Bogomips » 02 Feb 2017, 12:09

^ Try Run (F2): palemoon
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

lailju1979
White ninja
White ninja
Posts: 9
Joined: 01 Feb 2017, 13:07
Distribution: 3.2.2
Location: Seoul, Korea

Re: Where is the porteus/modules folder?

Post#12 by lailju1979 » 02 Feb 2017, 12:14

I pushed F2 key some times but input box is not popped up.
Last edited by lailju1979 on 02 Feb 2017, 16:00, edited 2 times in total.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Where is the porteus/modules folder?

Post#13 by Bogomips » 02 Feb 2017, 12:57

^ Try in Menu to run palemoon. If I remember rightly you can also in Menu find entry to run a program. Always should get input box on pressing F2. Otherwise try reloading Cinnamon.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

donald
Full of knowledge
Full of knowledge
Posts: 1219
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Where is the porteus/modules folder?

Post#14 by donald » 02 Feb 2017, 18:25

The problem with cinnamon + palemoon (64 Bit)
Let's say one downloads the palemoon.xzm into the Downloads folder and
activates it, it immediately creates 2 wh files in the changes folder

.wh.browser.desktop and .wh.palemoon.desktop
in
/mnt/sdXN/porteus/changes/usr/share/applications
so palemoon doesn't show up.
(you can start palemoon in terminal)

Code: Select all

guest@porteus:~$ palemoon
Solution
put the palemoon xzm in the modules folder > reboot into always fresh and
(as root) delete this 2 wh files > when done reboot into normal mode...
and you will find palemoon in the menu (internet)

lailju1979
White ninja
White ninja
Posts: 9
Joined: 01 Feb 2017, 13:07
Distribution: 3.2.2
Location: Seoul, Korea

Re: Where is the porteus/modules folder?

Post#15 by lailju1979 » 03 Feb 2017, 08:04

Thank you donald.
I deleted some files you said, and run palemoon as terminal.
I succeeded to run palemoon finally.

Thank you very much.
Thank you everyone.

Post Reply