Page 1 of 1

Extramod

Posted: 16 Feb 2017, 13:57
by normalGuy
Hi,

Follow the porteus links to download I only found a lxde.xzm single module, if I want to extramod with mate.xzm or kde.xzm where are they or it is possible to do it?

Extramod

Posted: 16 Feb 2017, 14:06
by Evan
<removed>

Re: Extramod

Posted: 16 Feb 2017, 15:11
by normalGuy
Hi
add the other desktops to your current build and swap between them
...some years ago I use to do that , that is why I was asking if is still possible because I only see the 003-lxde.xzm single module.

Thanks.

Re: Extramod

Posted: 16 Feb 2017, 17:16
by francois
Extramod cheatcode still works. It is just that the other desktop have not been packaged individually.

Re: Extramod

Posted: 16 Feb 2017, 23:14
by Bogomips

Code: Select all

noload=xfce extramod=/Path/to/003-lxde.xzm

Re: Extramod

Posted: 21 Feb 2017, 06:02
by Ed_P
normalGuy wrote:Hi
add the other desktops to your current build and swap between them
...some years ago I use to do that , that is why I was asking if is still possible because I only see the 003-lxde.xzm single module.

Thanks.
It's possible normalGuy. Check out this link: viewtopic.php?f=140&t=6678&p=53242#p53221 :good:

Re: Extramod

Posted: 22 Feb 2017, 12:50
by normalGuy
Hi,

Yes tnks Ed_p but like françois said:
...other desktop have not been packaged individually
and I don't want to download the full iso just the 003.xxx.xzm.

But great work :good:

Re: Extramod

Posted: 22 Feb 2017, 14:24
by Ed_P
normalGuy, Bogomips's script doesn't download the full iso file, it reads it on the server!! Only the 003 file gets downloaded. :good:

Re: Extramod

Posted: 22 Feb 2017, 17:09
by normalGuy
Hi Ed_p
Maybe I'm confused, just confirm:

x3wget:

Code: Select all

    #!/bin/bash
    dayset(){
        dtp=(cinnamon kde mate xfce);
        day[${dtp[0]}]=${dtp[0]}; day[${dtp[1]}]=${dtp[1]}5
        day[${dtp[2]}]=${dtp[2]}; day[${dtp[3]}]=${dtp[3]}4
    }
    chkid(){
        # Convert to Lower Case
        id=${1,,}; id=${id/kde5/kde}; id=${id/xfce4/xfce};
        [[ ${day[$id]} ]] && return 0;
        echo Desktop must be one of:; printf "%s\n" ${!day[*]};
        return 1;
    }
    x3(){
    [[ $1 ]] || { echo Usage:  "<Desktop>  <ISO File>  [<Target Directory>]"; return; }
    unset day; declare -A day;
    dayset; chkid $1 || return $?;
    bsdtar xf $2 --strip-components 2 -C ${3:-.} porteus/base/003-${day[$id]}.xzm
    ls -lh ${3:-.}/003-${day[$id]}.xzm
    }
    x3wget(){
    [[ $1 ]] || { echo Usage:  "<Desktop>  [<Target Directory>]"; return; }
    unset day; declare -A day;
    dayset; chkid $1 || return $?;
    # Mirror Mirror ...
    fm=$(yes n | fastest-mirror 2>&1 | grep -A 2 Results: | tail -n1)
    a=$(uname -m); a=${a/i6/i5}
    iso=Porteus-${id^^}-v3.2.2-${a}.iso
    url=${fm:6}$a/Porteus-v3.2.2/$iso
    echo This will take some time . . . ; echo
    wget -nv -O /tmp/$iso $url
    x3  $id  /tmp/$iso  $2
    echo Downloaded file $iso is also accessible in /tmp.
    }
    x3wget $*
Use of it:

Code: Select all

x3wget DE /tmp
It's possible to show the number or progressbar of the amount downloaded?

Re: Extramod

Posted: 22 Feb 2017, 18:01
by Ed_P
normalGuy wrote:Hi Ed_p
Maybe I'm confused, just confirm:

x3wget:
Yup. :)
Use of it:

Code: Select all

x3wget DE /tmp
Yup. :)

Actually if you save the script to your Home folder and make it executable:

Code: Select all

sudo ./x3get DE /tmp
Or if not made executable:

Code: Select all

sudo sh ./x3wget DE /tmp
It's possible to show the number or progressbar of the amount downloaded?
Nope. :( At least not the last time I tested it. viewtopic.php?f=140&t=6678&p=53242#p53242 And actually I don't think doing that is possible unfortunately. The script does indicate when it is finished with the download.

Re: Extramod

Posted: 22 Feb 2017, 18:47
by Bogomips
@ normalGuy

As you are not a novice, I'll explain what I do, and then you can take your pick. The script with function x3get will Extract the 003 module from the ISO file over the internet:
  1. Save script in a file of your choice
  2. In terminal su (toor) to run as Root
  3. Source the file and invoke the function:

    Code: Select all

    source  /Path/to/<Script extracting 003 module from ISO file>
    x3get  <desktop>  [<Folder for downloaded module>]
  4. Upon sourcing the file, you will get usage iinformation like that already given.
OR
  1. Copy Script & Paste into Root Terminal
  2. Code: Select all

    x3get  <desktop>  [<Folder for downloaded module>]
Enjoy!

Re: Extramod

Posted: 22 Feb 2017, 20:01
by normalGuy
@ Ed_P
@bogomips

Thanks! :beer:

My wifi - realtek - has been on / off for awhile and I had to edit the wpa_suplicant.conf and it looks better now (knock on wood!!!) that's why I wanted to try other DE to test if it was only a xfce4 problem.

Great job!! Another Porteus goodie 8)