aboutsummaryrefslogtreecommitdiff
path: root/testTheThing/distro_guides/fedora.html
blob: 72b47c764f87869992652de32b6c99eb8039975b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html>
<head>
  <title>Fedora guide</title>
  <style>
    
  body {
    color: black;
    background-image: url('../images/linux_background.png');
  }

  table {
        color: black;
        background-color: #bebebe;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px;
  }

  </style>
</head>
<body>
  <a href="../index.html"><img src="../images/back_home.png" alt=
  "Back to home page"></a><br>
  <a href="../linux_room.html#distro_guides"><img src="images/back.png" alt=
  "Back to linux room"></a>
  <center>
    <table border="1" width="60%">
      <tr>
        <td>
          <h1>Fedora xfce</h1>
          <p>Fedora been my go to for quite a while though I sometimes switch
          desktops lmao. I have tried the gnome version but it doesn't really
          fit me so most of the time I have used the kde spin though recently
          kde just haven't been feeling the same. It has been feeling buggy
          and have been fighting with nvidia drivers. After running xfce on my
          second computer for a while I grew to really like it and started
          using it on my main and it have been running much better then
          kde.<br>
          <br>
          Fedora xfce can be downloaded <a href=
          "https://fedoraproject.org/spins/xfce" target="_blank">here</a>.</p>
        </td>
      </tr>
      <tr>
        <td>
          <ul>
            <li>
              <a href="#setting_up">Setting up fedora</a>
            </li>
            <li>
              <a href="#nvidia">Nvidia drivers</a>
            </li>
            <li>
              <a href="#useful_things">Useful things in fedora</a>
            </li>
          </ul>
        </td>
      </tr>
    </table>
    <table border="1" width="60%">
      <tr>
        <td>
          <h2 id="setting_up">Setting up fedora</h2>
          <p>Fedora has a little extra setup you wouldn't see in something
          like linux mint though it isn't that bad.</p>
          <h3>Packages</h3>
          <p>You can speed up dnf by adding these to /etc/dnf/dnf.conf<br>
          <code>max_parallel_downloads=20<br>
          fastestmirror=True</code><br>
          <br>
          The default repos have lots of stuff but you might want an app that
          isn't in it like steam. I know the gnome version has a enable 3rd
          party repos button that does everything I listed here but I am on
          the xfce version and also had to do this on the kde verison.</p>
          <ul>
            <li>Setup rpm fusion to get more packages in dnf with the
              <a href="https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/"
              target="_blank">resources here</a>
            </li>
            <li>Install flatpak if not already there using "sudo dnf install
            flatpak" then add <a href="https://flathub.org/setup/Fedora"
            target="_blank">flathub</a> to get some cool apps!
            </li>
          </ul>
          <h3>Multimedia</h3>
          <p>By default fedora doesn't have many codecs and you need to
          install them yourself. Without them many media files will not work
          and lots of youtube videos will not be able to play. The fedora docs
          use to show how to install them but they removed it from their page
          and instead shows a new version which installs some stuff but not
          everything. I do both of them to make sure I get all the codecs I
          need.</p>
          <ul>
            <li>Update your system with <code>sudo dnf upgrade</code></li>
            <li>Install the new packages with <code>sudo dnf group install
            multimedia</code></li>
            <li>Install the old ones with these three commands in a row:
              <ul>
                <li><code>sudo dnf install
                gstreamer1-plugins-{bad-\*,good-\*,base}
                gstreamer1-plugin-openh264 gstreamer1-libav
                --exclude=gstreamer1-plugins-bad-free-devel</code></li>
                <li><code>sudo dnf install lame\*
                --exclude=lame-devel</code></li>
                <li><code>sudo dnf swap ffmpeg-free ffmpeg
                --allowerasing</code></li>
              </ul>
            </li>
          </ul>
        </td>
      </tr>
      <tr>
        <td>
          <h2 id="nvidia">Nvidia drivers</h2>
          <p>Nvidia isn't the best on linux and I like AMD much more though I
          am stuck with nvidia for now. For xfce there are some extra settings
          to enable it but it works great once that is done. You will need rpm
          fusion first before you can install the drivers.</p>
          <ul>
            <li>Follow the fedora docs on nvidia <a href=
            "https://docs.fedoraproject.org/en-US/quick-docs/set-nvidia-as-primary-gpu-on-optimus-based-laptops"
              target="_blank">here</a>
            </li>
            <li>Also look at the rpmfusion docs on nvidia <a href=
            "https://rpmfusion.org/Howto/NVIDIA" target="_blank">here</a>
            </li>
            <li>Follow the archwiki on nvidia in lightdm <a href=
            "https://wiki.archlinux.org/title/NVIDIA_Optimus#LightDM"
              target="_blank">here</a>.
            </li>
            <li>For multi monitor refresh rate issues add these to your
            /etc/environment<br>
            <code>CLUTTER_DEFAULT_FPS=&lt;refresh rate of your sync
            monitor&gt;<br>
            __GL_SYNC_DISPLAY_DEVICE=&lt;monitor to sync to&gt;</code><br>
            Then open your nvidia settings, go to OpenGL Settings and turn off
            "Allow Flipping".</li>
          </ul>
        </td>
      </tr>
      <tr>
        <td>
          <h2 id="useful_things">Useful things in fedora</h2>Fedora doesn't
          have "update-grub" so instead you have to use these:<br>
          <code>sudo grub2-mkconfig -o /etc/grub2.cfg<br>
          sudo grub2-mkconfig -o /etc/grub2-efi.cfg</code>
        </td>
      </tr>
    </table>
  </center>
</body>
</html>