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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
|
<!DOCTYPE html>
<html>
<head>
<title>The linux room</title>
<style>
body {
color: blue;
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;
border=1
}
</style>
</head>
<body>
<a href="index.html"><img src="images/back_home.png" alt="Back to home page"/></a>
<center>
<img src="images/flying_tux.gif" alt="Tux the penguin flying"/>
<table border="1" width="60%">
<tr>
<td>
<h2>Setup/software list</h2>
<ul>
<li>
Distro: <a href="#fedora">fedora xfce</a>
<ul>
<li><a href="#setting_up">Setting up fedora</a></li>
<li><a href="#nvidia">Nvidia drivers</a></li>
<li><a href="#xfce_settings">xfce settings in fedora</a></li>
<li><a href="#rofi">rofi in xfce</a></li>
<li><a href="#useful_things">Useful things in fedora</a></li>
</ul>
</li>
<li>
<a href="#gui">GUI apps</a>
<ul>
<li>Web browser: <a href="#icecat">icecat</a></li>
<li>Mail client: <a href="#claws">claws</a></li>
<li>Editor: <a href="#emacs">emacs</a></li>
<li>Media player: <a href="#mpv">mpv</a></li>
<li>Feed reader: <a href="#liferea">liferea</a></li>
</ul>
</li>
<li>
<a href="#commandline">Command line</a>
<ul>
<li>Terminal: <a href="#alacritty">alacritty</a></li>
<li>Shell: <a href="#zsh">zsh</a></li>
<li>Terminal based editor: <a href="#vim">vim</a></li>
</ul>
</li>
<li>
<a href="#extras">Extras</a>
<ul>
<li><a href="#lite-xl">lite-xl</a></li>
<li><a href="#vlc">vlc</a></li>
<li><a href="#evolution">Evolution</a></li>
</ul>
</li>
</ul>
</td>
</tr>
<tr>
<td>
<h2><a href="https://codeberg.org/nathansmith/dotfiles" target="_blank">Dotfiles</a></h2>
<p>
This is a repo for my dotfiles and its kind of fucked up. I finally fix it so
I have everything in the dotfiles repo instead of configs getting their
own repo and others not.
</p>
</td>
</tr>
</table>
<table border="1" width="60%">
<tr>
<td>
<h2>Why linux</h2>
<p>
I have always liked being able to customize, mod, and poke inside different things.
Computers are machines for us to play around with and use how we see fit yet the only thing
the big tech companies want to do it lock everything up and it disgusts me.
Fuck google, fuck microsoft, fuck apple, and fuck all the other evil tech companies!!!
Its time for the open source revolution and seize them all and open source the entire world!!!
Without linux or any other unix life would be much much worse. Linux is my safe place
from all the shit in the world.
</p>
<img src="images/windows_kills_kittens.jpg" alt="Window kills kittens" width="95%"/>
</td>
</tr>
</table>
<table border="1" width="60%">
<tr>
<td>
<h1 id="fedora">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.
</p>
</td>
</tr>
<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=<refresh rate of your sync monitor><br/>
__GL_SYNC_DISPLAY_DEVICE=<monitor to sync to>
</code>
<br/><br/>
Then open your nvidia settings, go to OpenGL Settings and turn off "Allow Flipping".
</li>
</ul>
</td>
</tr>
<tr>
<td>
<h2 id="xfce_settings">xfce settings in fedora</h2>
<p>
By default xfce is a very plain desktop and looks kind of old and shitty
(like this website), but it can look and feel great with some work!
</p>
<ul>
<li>Install nicer icons with <code>sudo dnf install papirus-icon-theme papirus-icon-theme-dark</code>
then set them as your icon theme</li>
<li>
Install a better theme. Some good ones are:
<ul>
<li><a href="https://drasite.com/flat-remix-gtk" target="_blank">flat-remix</a></li>
<li><a href="https://www.xfce-look.org/p/1681313/" target="_blank">gruvbox</a></lib>
<li><a href="https://www.xfce-look.org/p/2098041" target="_blank">DoorMaker</a></li>
<li><a href="https://www.xfce-look.org/p/1394325" target="_blank">BaZik</a></li>
</ul>
</li>
<li>
The default menu is alright but I like whisker menu more.
<ul>
<li>Install it with <code>sudo dnf install xfce4-whiskermenu-plugin</code></li>
<li>Go into the panel settings to remove the old one and change it to whisker menu.</li>
</ul>
</li>
<li>
Enable clipman as one of the startup apps for a kde like clipboard.
</li>
<li>
Make some nicer keybinds:
<ul>
<li>I like to bind the <code>xfce4-popup-whiskermenu</code> command to shift-super.
You can't bind things to just super in xfce. It will break other shortcuts.</li>
<li>Bind "super+v" to <code>xfce4-clipman-history</code> to make it feel more like the kde clipboard</li>
</ul>
</li>
<li>
Make new windows show up at the mouse by going into the "Window ManagerTweaks" "Placement" tab,
turning the minimum size all the way up and chaning the place windows position to under the mouse pointer.
</li>
</ul>
</td>
</tr>
<tr>
<td>
<h2 id="rofi">Rofi in xfce</h2>
The default xfce appfinder been causing me issues lately so I decided to switch to rofi.
<br/><br/>
To make rofi work with my workflow I like to add some binds for it:
<ul>
<li>Bind <code>rofi -show drun -icon-theme "Papirus-Dark" -show-icons</code> to super+d</li>
<li>Bind <code>rofi -show run</code> to super+r</li>
</ul>
There is much more I could use rofi for but this is all I need.
</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>
<table border="1" width="60%">
<tr>
<td>
<h1 id="gui">GUI apps</h1>
<p>
A lot of linux users dont like GUI apps. I think they are great
<a href="https://digdeeper.club/articles/design.xhtml" target="_blank">when they are done right</a>.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="icecat">icecat</h2>
<p>
I use to use firefox but switched to librewolf because
<a href="https://digdeeper.club/articles/mozilla.xhtml" target="_blank">mozilla is evil as fuck</a>.
If you don't know librewolf it its the ungoogled-chromium of firefox. Than I switched from librewolf to icecat.
<br/><br/>
The builtin plugins are decent. Librejs and its other contend blocking plugins are way more annoying
than something like umatrix but I am giving them a fair chance knowing that umatrix might not have
much of a future even if its still quite functional still. I still like to install ublock even with
everything that comes builtin.
</p>
<h3>Settings</h3>
<p>
The clipboard doesn't work in icecat by default so go into <code>about:config</code> and change
<code>dom.event.clipboardevents.enabled</code> to true.
</p>
<h3>Search engines</h3>
<p>
The best search engine is <a href="https://searx.space" target="_blank">searx</a>.
Finding instances can be annoying because a lot of time the engine you want to use
gets blocked.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="claws">Claws mail</h2>
<p>
I have used thunderbird in the past though like I said before
<a href="https://digdeeper.club/articles/mozilla.xhtml" target="_blank">mozilla is evil as fuck</a>.
I have some gmail accounts and haven't gotten them to work in claws yet though I am working on
moving everything away from gmail because fuck google!! Though my other accounts work in it just fine.
Its a quite basic mail client so you often have to play around with different things to get accounts to work.
Also tried evolution but it was too bloated but not nearly as bad as thunderbird.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="emacs">Emacs</h2>
<p>
<b>Don't use emacs. Its stupido.</b>
<br/><br/>
That is and will always be true but lately as of writing this I been bit by
the emacs bug. Using emacs is so bad and so wrong but feels so good to use. I defeated rsi
by doing hand exercises for nearly a year and a half as of writing this. I had to learn
the hard way being a guitarist and emacs user while taking CS classes and writing code
all the time wasnt a good idea. Now I play bass to but it balances out because I switched
over to IT and became too lazy to write code most of the time. I lost my lite weight hand
exercise tools and instead of buying new ones I just started using the heavy ones for hours
at a time until I had <b>the grip strength to crush a human skull</b>. Now my rsi is cured
<i>as long as I keep up the exercises</i>.
<br/><br/>
I dont use doom emacs, spacemacs... or any of that shit. Just good old gnu emacs with my own
config which can be found <a href="https://codeberg.org/nathansmith/dotfiles/src/branch/main/.emacs.d"
target="_blank">here</a>.
<br/>
<b>Fun fact: I use emacs to work on this site.</b>
</p>
</td>
</tr>
<tr>
<td>
<h2 id="mpv">mpv</h2>
<p>
I switched to mpv because vlc was acting weird with audio sometimes when watching anime and nothing
in this world is worse then something getting in the way of anime time! Just like lite-xl and neovim
mpv uses lua for its config files and is really simple by default. It also can play youtube videos
or other online streams just by giving it a url.<br/><br/>
The config can be found
<a href="https://codeberg.org/nathansmith/dotfiles/src/branch/main/.config/mpv" target="_blank">
here</a>.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="liferea">Liferea</h2>
<p>
Feed readers are one of those things I use on and off. A lot like mail clients feed readers
tend to be very bloated. Liferea is my favorite but
it has always had issues with nvidia drivers until I found out a trick.<br/><br/>
If liferea has issues add this to your /etc/environment and reboot<br/>
<code>WEBKIT_DISABLE_DMABUF_RENDERER=1</code>
<br/><br/>
Some cool tricks:
</p>
<ul>
<li>
Get <a href="https://github.com/shevabam/get-rss-feed-url-extension" target="_blank">
this plugin</a> to find feeds easier.
</li>
<li>
You can turn youtube channels into rss feeds with
<code>https://www.youtube.com/feeds/videos.xml?channel_id={channel_id}</code><br/>
This can be done for all your subscriptions with
<a href="scripts/youtube_subs_export.py" target="_blank">
this script</a>
</li>
<li>
You can drag and drop youtube urls from your feed reader into mpv so you can keep up with
your subscriptions without even touching youtube's website.
</li>
</ul>
</td>
</tr>
</table>
<table border="1" width="60%">
<tr>
<td>
<h1 id="commandline">Command line</h1>
<p>
Yes, the terminal is a GUI program. But I put it here because <b>fuck you</b>.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="alacritty">Alacritty</h2>
<p>
I only started using it very recently because I been using kitty for a long time.
I switched to alacritty because ssh in kitty is fucked up and I found out that
alacritty now has a option for toml files for the config. The yml files was
one of the biggest things keeping me away from alacritty.<br/><br/>
You can find my config on the
<a href="https://codeberg.org/nathansmith/dotfiles/src/branch/main/.config/alacritty" target="_blank">dotfiles repo</a>.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="zsh">zsh</h2>
<p>
zsh is pretty cool though I been playing with fish a bit and been thinking of switching to that.
zsh has lots of cool things like vi keys and is somewhat compatable with bash to.<br/><br/>
For my zsh config to work you need powerline and nerd fonts which can be installed with:
</p>
<ul>
<li><code>sudo dnf install powerline</code></li>
<li>
Download a nerd font from the <a href="https://www.nerdfonts.com/font-downloads" target="_blank">nerd fonts site</a>.
Personal I use hack font and configured neovim with it.
</li>
</ul>
</td>
</tr>
<tr>
<td>
<h2 id="vim">vim</h2>
<p>
For a long time I used neovim. I started using neovim becaues I wanted vim to act more
like a ide and have fancy shit. For most things I ended up using <s>lite-xl</s> emacs more
because well... emacs just make my autism happy. Neovim ended up just being used for editing
configs, quickly
throwing together scripts, crazy vim wizard edits... so I decided to just ditch neovim
(you can find my old config
<a href="https://gitea.com/nathansmithsmith/nvim_config" target="_blank">here</a>)
and instead go with a simple vimrc with only a few plugins.
<br/><br/>
My vimrc can be found <a href="https://codeberg.org/nathansmith/dotfiles/src/branch/main/.vimrc"
target="_blank">
here</a>.
<br/><br/>
<b><i>How dare someone use both emacs and vim!</i></b> Shut your fucking piehole stupido!
</p>
</td>
</tr>
</table>
<table border="1" width="60%">
<tr>
<td>
<h1 id="extras">Extras</h1>
<p>
These are programs I use to use, dont use much... that I wanted to add.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="lite-xl">lite-xl</h2>
<p>
I started using lite-xl because I wanted a simple little easy to config graphical text editor. lite-xl is
just that. I no longer have a need for it as I get into emacs again as of writing this but still a great
little editor.
</p>
<h3>lite-xl config</h3>
<p>
My old config can be found
<a href="https://codeberg.org/nathansmith/dotfiles/src/commit/2cf000e92d2aec0f6e679aa228b739388b8edb72/.config/lite-xl"
target="_blank">here</a>.
On different screen sizes lite-xl may look bad and to fix it you need to set the <code>LITE_SCALE</code>
environment variable.
<br/><br/>
My config has buttons for quickly opening a terminal and file explore in the current directory.
It doesn't know what your defaults are for those apps so to set them just change the varibles
in the "init.lua" file.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="vlc">vlc</h2>
<p>
Yes, mpv is better. Yes, vlc sometimes has issues. But vlc is still better than the default media player
on most systems and has its fair share of useful features. Even with mpv I still like to have vlc
installed just in case mpv breaks when I dont have internet and I like its file converting features. The
mobile version of vlc kicks ass.
</p>
</td>
</tr>
<tr>
<td>
<h2 id="evolution">Evolution</h2>
<p>
Evolution is one of the better mail clients out there. If for whatever reason you need to use gmail or some
other locked down shitty service evolution has you covered. By default it uses the gnome style window decorators
but unlike most gnome apps it lets you use your desktop/WM decorators instead. Its not as bad as most
mail clients (looking at you thunderbird) and it lets you <i>at least</i> hide most of that shit out of the way.
</p>
</td>
</tr>
</table>
</center>
</body>
</html>
|