https://linen.dev logo
Join Discord
Powered by
# general
  • a

    Artichoke

    03/05/2023, 7:17 AM
    thanks, can you please elaborate on what the .personalize script is? also what about stuff from other package managers? like pip, snap, etc
  • p

    Phorcys

    03/05/2023, 7:19 AM
    depends on if you're using one of the official templates or not basically it's just a script in ``/home/coder`` that gets sourced by the ``startup_script`` pip, maybe use some env manager that will store those packages and their state in ``/home/coder`` snap, why are you using snap..?
  • a

    Artichoke

    03/05/2023, 7:20 AM
    ok thanks. Yeah actually i probably wont be needing snap
  • a

    Atif

    03/05/2023, 12:20 PM
    Or you may mount volumes to /home/coder and /etc
  • a

    Atif

    03/05/2023, 12:21 PM
    It will preserve pip packages as they are installed in users home and /etc will preserve apt installed packages
  • p

    Phorcys

    03/05/2023, 12:26 PM
    i would not recommend volumes for /etc though
  • p

    Phorcys

    03/05/2023, 12:27 PM
    it will take so much space and might not save all needed directories
  • a

    Atif

    03/05/2023, 1:33 PM
    Where did you put this snippet?
  • j

    JanL

    03/05/2023, 1:50 PM
    Where are a few options: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html I've put it somewhere in `~/.config/fontconfig/conf.d/
  • a

    Atif

    03/05/2023, 1:55 PM
    On the workspace?
  • j

    JanL

    03/05/2023, 1:56 PM
    No. The device with the browser on it
  • l

    lawliet

    03/05/2023, 6:16 PM
    hi
  • d

    daVinci2793

    03/06/2023, 3:27 AM
    Howdy all, before I get into specifics, is there a clever way to avoid the "not enough free space" issue when installing large packages to a workspace?
  • d

    Dusty

    03/06/2023, 4:16 AM
    someone can help me make it i will pay ( Just showing the same does not matter if it works or not )
  • p

    Phorcys

    03/06/2023, 6:28 AM
    doesn't look so legal to me
  • p

    Phorcys

    03/06/2023, 6:28 AM
    anyways, this is not a programming server, you'll have to go ask somewhere else
  • p

    Phorcys

    03/06/2023, 6:29 AM
    where are you seeing this ?
  • p

    Phorcys

    03/06/2023, 6:29 AM
    I think your host machine doesn't have enough free space lol
  • d

    daVinci2793

    03/06/2023, 6:31 AM
    I will buy that for a dollar, as I have not had that issue before, however.. the host machine should have plenty of space. I was trying to build a workspace from a custom docker image. For specificity's sake, it's for pen testing and is based off the kali-rolling image. For interactivity reasons, you cannot preinstall the metapackages. So, I created the image, and the workspace, and tried to install the metapackage on the workspace.
  • p

    Phorcys

    03/06/2023, 6:31 AM
    @daVinci2793 can we continue this in #1006346052317753414 instead so we don't flood?
  • d

    daVinci2793

    03/06/2023, 6:32 AM
    lemme try to repro and get some better info.
  • p

    Phorcys

    03/06/2023, 6:32 AM
    i have some questions so it's fine if you just copy/paste your messages
  • d

    daVinci2793

    03/06/2023, 6:35 AM
    thread made
  • a

    Artichoke

    03/06/2023, 9:43 AM
    will this work in the home directory of the user as well? I'm using the default docker template
  • p

    Phorcys

    03/06/2023, 9:44 AM
    ?
  • p

    Phorcys

    03/06/2023, 9:45 AM
    the default docker template should check for ``/home/coder/.personalize`` and run it if it exists
  • a

    Artichoke

    03/06/2023, 9:45 AM
    ah ok thanks
  • a

    Artichoke

    03/06/2023, 9:45 AM
    i was wondering cos my user is not called
    coder
  • a

    Artichoke

    03/06/2023, 9:45 AM
    but ill just make a new directory i guess
  • a

    Artichoke

    03/06/2023, 9:53 AM
    never mind it just deletes the file and directory upon restart and doesnt run it
1...666768...96Latest