• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: August 6th, 2023

help-circle





  • I use a gaming-mode for that. Like this:

    # Create a gaming mode
    mode "gaming" {
        # switch to workspace
        bindsym $mod+1 workspace number $ws1 ; mode "default"
        bindsym $mod+2 workspace number $ws2 ; mode "default"
        bindsym $mod+3 workspace number $ws3 ; mode "default"
        bindsym $mod+4 workspace number $ws4 ; mode "default"
        bindsym $mod+5 workspace number $ws5 ; mode "default"
        bindsym $mod+6 workspace number $ws6 ; mode "default"
        bindsym $mod+7 workspace number $ws7 ; mode "default"
        bindsym $mod+8 workspace number $ws8 ; mode "default"
        bindsym $mod+9 workspace number $ws9 ; mode "default"
    
        # move focused container to workspace
        bindsym $mod+Shift+1 move container to workspace number $ws1
        bindsym $mod+Shift+2 move container to workspace number $ws2
        bindsym $mod+Shift+3 move container to workspace number $ws3
        bindsym $mod+Shift+4 move container to workspace number $ws4
        bindsym $mod+Shift+5 move container to workspace number $ws5
        bindsym $mod+Shift+6 move container to workspace number $ws6
        bindsym $mod+Shift+7 move container to workspace number $ws7
        bindsym $mod+Shift+8 move container to workspace number $ws8
        bindsym $mod+Shift+9 move container to workspace number $ws9
        bindsym $mod+Shift+0 move container to workspace number $ws10
    }
    
    # Enter the gaming mode when a game is started
    for_window [class="^steam_app_"] move to workspace $ws10; workspace $ws10; mode "gaming"
    for_window [class="^hl2_linux"] move to workspace $ws10; workspace $ws10; mode "gaming"
    

    This automatically moves (most) games to workspaces 10 and switches to that workspace. This allows me to use key combinations that would otherwise be used by i3.



  • I think that should be possible. You’ll likely need to get Jellyfin running with that cloudflare tunnel. There are probably alternatives to cloudflare tunnel as well, but I’m not very familiar with it. I believe there are some limitations with the tunnel, so you will have to check that out. Otherwise there should be no issue.


  • Dozens of GB sounds like there’s a lot of media files to me. I’d not share that via Syncthing. Assuming that is correct: Wouldn’t a media server like Jellyfin be a better fit? Or if it’s photos, I recommend Immich. Note that Immich is under active development and should not be your only place to store photos.


  • SpicySquid@lemmy.mltoSelfhosted@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    11 months ago

    I think self-hosted cloud is a vague statement, but I think with your network infrastructure you will be limited in what you can do. I think cloudflare tunnel could be a good option for getting the device available online.

    Then the self-hosted part. There are so many things you can look into. You can run everything in Docker, install the software you want directly on your laptop, and much more.

    You’ll likely also need a reverse proxy. Can use nginx proxy manager, traefik, or something similar for that.

    What are your goals with the self-hosted cloud? That would help you in making it easy to find resources and others here to give you advice.

    Edit: typo’s



  • It’s very difficult for me to work through these logs as they are missing new lines.

    But there is plenty of stuff giving errors:

    Aug 20 14:07:08 blackcloud gnome-session-binary[635]: Unrecoverable failure in required component org.gnome.Shell.desktop

    Aug 20 14:07:08 blackcloud org.gnome.Shell.desktop[646]: Failed to setup: No GPUs found

    Aug 20 14:07:08 blackcloud gdm[398]: Gdm: GdmDisplay: Session never registered, failing Aug 20 14:07:08 blackcloud gdm[398]: Gdm: Child process -628 was already dead.

    Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activated service ‘org.freedesktop.systemd1’ failed: Process org.freedesktop.systemd1 exited with status 1

    Aug 20 14:08:25 blackcloud gnome-shell[2483]: Connection to xwayland lost Aug 20 14:08:25 blackcloud gnome-shell[2483]: Xwayland terminated, exiting since it was mandatory Aug 20 14:08:25 blackcloud org.gnome.Shell.desktop[2483]: GNOME Shell terminated with an error: Xwayland exited unexpectedly

    You might want to try (in no specific order) to check why xwayland is failing, reinstall gnome, clean up old configuration, do a system upgrade, try pacdiff.