Pages: [1] 2

Author Topic: Help moving to Linux SUPER THREAD  (Read 3602 times)

di

Help moving to Linux SUPER THREAD
« on: June 12, 2024 @40.29 »

⚑ Moderators Note ⚑
This thread contains many general Linux Newbie Help topics merged into one thread; if you have a general Linux help question please post it here! -melon 26/10/2025

 :mark: If you are planning to switch to linux, you can check our wiki pages with basic linux getting started info!

 :melon: If you want help finding or sharing linux software there is a thread here!

 :wizard: If you want to discuss distros there is a distro thread here!

...I really like it! However, I was hoping someone here could help a newbie out.

When I open my HTML files offline in the browser, any linked content (such as images or style.css) doesn't appear.

For example, on Windows, if I opened this html file in a web browser, it would look like this



But on Linux, it looks like this, stripped bare of CSS and images



I also notice that the URL links to this, instead of the file's actual directory.



When I tried typing in the proper file directory, it didn't fix itself.

I was wondering why this is, and how I can view the HTML with linked content embedded into it, like I can in Windows.

« Last Edit: October 26, 2025 @780.68 by Melooon »
Logged

Artifact Swap: Rising Star of the Web Award

invader_gvim

  • Sr. Member ⚓︎
  • ****
    • View Profile
    • invadergvim website
  • Don't scream for help. Fight together!

  • ⛺︎ My Room
  • Guild Memberships:
  • Artifacts:
    Sent On Earth By The Almighty TallestJoined 2024!
Re: I switched from Windows to Linux and...
« Reply #1 on: June 12, 2024 @224.90 »

Before doing anything, try opening it in a different browser. If that doesn't work, then try this.  :pc:

According to this reddit thread it might be an issue caused by you using a sandboxed browser through either snap or flatpak. Try installing firefox (or any other browser) through your distro's package manager directly.

Open your terminal to type in commands. Alternatively you can use the graphical package manager which should be common sense.

On Ubuntu it would be
                                                              --> sudo apt install firefox

uninstall firefox b4 doing this. Don't worry! You will still be able to install packages through your terminal or the graphical package manager just fine once it is uninstalled.

Uninstall the sandboxed browser causing the problem like this --> sudo snap remove firefox(or whatever browser)
OR                                                            --> sudo flatpak uninstall firefox(or whatever browser)

I hope this helps.  :pc:  :4u:

« Last Edit: June 12, 2024 @228.39 by invader_gvim »
Logged

Memory

  • Guest
Re: I switched from Windows to Linux and...
« Reply #2 on: June 12, 2024 @317.88 »

Was the website saved appropriately? ("Web Page, complete" as opposed to "Web Page, HTML only")

Check the folder, where you saved your website: Are those additional files (images, CSS) there as well?

Logged

Melooon

Re: I switched from Windows to Linux and...
« Reply #3 on: June 12, 2024 @541.76 »

Im not sure if this is your html file or one you've saved - but as an alternative solution to opening the files directly: I have a lot of sites Iv saved using SiteSucker and something I tend to do on mac is put them in the Sites folder in my user folder and then I have a lil local-only web server that reads that folder - so when I wanna browse some sites I just go to "localhost" in my browser and it shows me all the sites iv saved as a nice list to browse! Doing it that way also means that JavaScripts function normally and everything works well!

Logged

everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Slow CreatureLasagna

ThunderPerfectWitchcraft

Re: I switched from Windows to Linux and...
« Reply #4 on: June 12, 2024 @716.03 »

If none of the above works, please tell us what Distro and Browser you use :).

Logged

TheFrugalGamer

Re: I switched from Windows to Linux and...
« Reply #5 on: June 13, 2024 @617.51 »

Im not sure if this is your html file or one you've saved - but as an alternative solution to opening the files directly: I have a lot of sites Iv saved using SiteSucker and something I tend to do on mac is put them in the Sites folder in my user folder and then I have a lil local-only web server that reads that folder - so when I wanna browse some sites I just go to "localhost" in my browser and it shows me all the sites iv saved as a nice list to browse! Doing it that way also means that JavaScripts function normally and everything works well!

This is such a lovely idea! I use wget since I'm on Linux, but it does much the same thing as SiteSucker. I may set up something similar, only as a separate home server since I'm usually archiving lots of stuff myself as well. Thanks for sharing!

Logged

Artifact Swap: Aquamarine

starbreaker

Re: I switched from Windows to Linux and...
« Reply #6 on: June 13, 2024 @714.54 »


I also notice that the URL links to this, instead of the file's actual directory.



When I tried typing in the proper file directory, it didn't fix itself.

I was wondering why this is, and how I can view the HTML with linked content embedded into it, like I can in Windows.

I test my website locally on Slackware Linux before uploading, and I've noticed that when something isn't loading properly it's because I've either used an absolute link that isn't available locally (maybe because the wifi is off) or because I had messed up a relative link. Without being able to read your web pages I can't tell you more.

Logged


as all kingdoms fall, let my will be done on earth, and heaven be damned

di

Re: I switched from Windows to Linux and...
« Reply #7 on: June 14, 2024 @80.05 »

According to this reddit thread it might be an issue caused by you using a sandboxed browser through either snap or flatpak...

This ended up being the issue - I was using a sandboxed browser. I uninstalled Firefox and then reinstalled through the terminal. Now the address bar reflects the file's actual location and the linked style.css and images display normally.

Thanks so much for finding that thread and letting me know how to fix it!

& thanks to everyone else for jumping to the rescue, too. I knew this would be a good place to ask.

Going to lock the thread since the problem's solved.

Logged

Artifact Swap: Rising Star of the Web Award

Memory

  • Guest
Help moving to Linux
« Reply #8 on: May 01, 2025 @20.30 »

this is a whole topic in general for Windows (or really anything that gets Windows/Mac/etc but NEVER Linux or the annoying AppImage-only thing and nothing else).


so, i've had Linux since Windows 10 was really chugging my computer in general - it runs okay by itself, but any applications slow it down a hell of a lot, so MX Linux (what i'm using fulltime now) actually lets me run things at an okay framerate without slowing down.

i figured it's capable enough of some light 3D or okay 2D, especially since it runs Minecraft fine enough and it runs some web games at 20-25FPS fairly stable.
note that my laptop's not a gaming laptop - it has an Intel HD 4400 iGPU, and this laptop is a HP Elitebook 820 G1 from 2013. the only reason i'm doing so is because all my old gaming computers died because they were already set to die from manufacturing anyways.
though it has an Intel Core i7-4600U (1 physical processor, 2 cores, 4 threads), 8GB DDR3 SDRAM, and the iGPU (Intel HD 4400) like i just said before.


my first big issue is two things: A) many Steam games (even with Proton) don't run, because they want DirectX of some sort, which is painful (i use MX Linux and my laptop is from 2013), and B) most of the older Windows games running via Wine... break!

Touhou: Mountain of Faith doesn't run at all in Steam, so i downloaded it from the Archive, and ran it through Wine. though it worked the first time, that same day i tried getting UTAU to work. UTAU spits out silence and some mojibake still (even with locales installed) while MoF died permanently; it doesn't even boot anymore, i get dependancy errors and crap. and from that as well, i doubt any other Windows Touhou games would run, at least not the past ~5ish generations of them anyways.
i did remove Wine a few times, both manually and autoremoved it; still the same issues.

well, my second issue isn't specifically with video games, rather 3D modelling software. both MikuMikuDance and VTuber Maker (from Steam, MMD is from the Archive) and MMD via Wine... doesn't even bother to try and work. i can get to the menu, but it's laggy as hell even with the default Miku model (on MMD 2.X btw) and just trying to move the camera around is soo choppy. and the VTuber app from Steam doesn't even run, it just wants DirectX11 so badly.

...
honestly i might as well just backup everything on this laptop and reinstall Linux cuz it's driving me crazy!

« Last Edit: May 01, 2025 @23.53 by cynderthekitsune »
Logged

Cobra!

Re: help! Linux with annoying compatibility issues!
« Reply #9 on: May 01, 2025 @50.49 »

I’ve never used MX Linux but from my experience from using Ununtu based distros for years, running wine or Steam from the terminal gives you outputs, and usually any error that occurs. Have you tried this?

Also, do you have a (good) graphics driver installed? Debian based distros usually come with an open source driver which is good for most things, but not gaming.

Logged



“Snooping as usual, I see?”

Memory

  • Guest
Re: help! Linux with annoying compatibility issues!
« Reply #10 on: May 01, 2025 @58.19 »

yea, i've tried using the terminal in the past, but here's the full output:
Code
0074:err:wineusb:DriverEntry Failed to initialize Unix library, status 0xc0000135.
0074:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000135
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 126
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00ac:err:hid:set_report_from_event TODO: Process Report (33152, 319)
00c8:err:vulkan:vulkan_init_once Failed to load libvulkan.so.1
plorer.exe: dlls/winex11.drv/xvidmode.c:164: xf86vm_free_modes: Assertion `modes[0].dmDriverExtra == sizeof(XF86VidModeModeInfo *)' failed.
wine: Assertion failed at address F7FF3559 (thread 00c8), starting debugger...
002c:err:vulkan:vulkan_init_once Failed to load libvulkan.so.1
0118:err:vulkan:vulkan_init_once Failed to load libvulkan.so.1
0120:err:vulkan:vulkan_init_once Failed to load libvulkan.so.1
(it stays here like it's running, but there's no window of it anywhere... so i have to manually kill it in the task manager)
this is for Mountain of Faith btw.

Logged

Cobra!

Re: help! Linux with annoying compatibility issues!
« Reply #11 on: May 01, 2025 @60.97 »

Hmm, well it’s saying it can’t read libvulkan… maybe look into (re)installing that?

What about the graphics driver situation?

Logged



“Snooping as usual, I see?”

fairyrune

  • Jr. Member ⚓︎
  • **
    • View Profile
    • digital angel
  • we live to make the impossible possible!

  • ⛺︎ My Room
  • iMood: fairyrune
  • Guild Memberships:
  • Artifacts:
    Joined 2025!

hello everybody!

with the death of win10 and my heavy distaste for microsoft, i've been looking at changing my main OS to a linux distro - primarily a ubuntu one since most games if they have linux support go that route. but that's kinda besides the point  :dog: i was wondering - what are things you wished you knew before you changed over? what distro did you pick? do you still use it? why/why not? what did nobody tell you at first and assumed you knew already?

Logged
☾ "you want to run - i'll run with you" ☼

Artifact Swap: Phoenix DownDino Fossil

ArtificialAnima


You might prefer an Arch-based distro (like Manjaro), since that's what SteamOS (the distro that the Steamdeck uses) is based on, so, presumably, most games that support Linux are targeting that now.

Logged

ThunderPerfectWitchcraft


First Linux I sticked to (and I did so for ~15 years) was OpenSuse; I switched to Arch recently, as OpenSuse was hard to use with my graphic card; I had the impression that quality sunk for quite some time, though. I couldn't come to like Ubuntu, as I felt that it was limiting in too many places even back then.

Things I'd have liked to know:
-Emergency restart is done by holding ALT+Print and typing REISUB.
-To kill a task blocking your system, press STRG+ALT+F3-7, type top, search for the ID of the problematic process, and kill it by entering k, followed by the ID, and Return.
-Terminals are easy to use
-Full disk encryption does much more harm than good
-XFCE is the best desktop environment available
-Beside video gaming, there is no need for Wine.
-Never try to make a package made for another system compatible to yours. Compiling yourself is easier.

I recommend using PipeWire (that wasn't existent when I started) over PulseAudio. Using an ATI/AMD graphic card will save you a lot of headache.

« Last Edit: October 08, 2025 @727.82 by ThunderPerfectWitchcraft »
Logged
Pages: [1] 2