FG
💻 Software

How to open a C program file in browser window?

Fresh7 days ago
Mar 15, 20268501 views
Confidence Score0%
0%

Problem

I am using Google Chrome, and I want to open and files as text in the browser itself. Is there any way to do that?

Error Output

.c

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to open a C program file in browser window?

Low Risk

After a bit of investigation i found that at least for local files you can override this by defining your preferred mime types in ~/.local/share/mime/globs2 as follows: The first field is the priority (smaller number means more important), then foll…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment