[ Home ] [ wiz / dep / hob / lounge / jp / meta / games / music ] [ all ] [  Rules ] [  FAQ ] [  Search /  History ] [  Textboard ] [  Wiki ]

/hob/ - Hobbies

Video game related hobbies go on /games/
Email
Comment
File
Embed
Password (For file deletion.)

  [Go to bottom]   [Catalog]   [Return]   [Archive]

File: 1503769133911.png (106.37 KB, 1548x870, 258:145, img.png) ImgOps iqdb

 No.38920[View All]

Anyone here use Linux for fun and profit?

I'm currently running debian with dwm as my window manager. I was curious to see what all the hubbub was about when it comes to minimalism and I gotta say I like some things about it. However, I'm still not fully convinced it's the end all be all of desktop computing or anything. There are still plenty of programs I like to use that are considered "bloated" by true minimalists.

Overall I'm more productive on my Linux system than I am on my Windows system. It feels good to know all the keyboard shortcuts in my system and be able to program new ones quickly and easily through config.h, and to be able to launch many programs near instantaneously. And the tiling and workspaces? It's absolutely gorgeous. I love having control of where everything goes without having to much about with window borders. I love having a group of programs open dedicated to performing a certain task, and then being able to instantly switch to another group of programs by just pressing alt+[num].
150 posts and 21 image replies omitted. Click reply to view.

 No.53062

File: 1588197820985.jpg (338.42 KB, 1310x947, 1310:947, WP-1196-705P.jpg) ImgOps iqdb

>>38920

GNU/Linux stuff is the only thing that keeps computer stuff interesting for me. I work as tech support now but I plan to move into sysadmin and devops stuff in the near future. My O/S is arch with dwm as the window manager.

 No.55242

I installed Debian a couple days ago in dual boot with Windows.

I can see why it's not as popular as Windows or Mac for a run-off-the-mill person. There is a lot of voodoo and trial and error involved to get it working properly, to get different programs work together and not interfere. Perhaps it's involves less hassle with more popular components (GNOME etc.).

> Two monitors setup. Pick Xfce as desktop environment. Can't pick the primary monitor, always takes the left monitor in the settings as primary, no matter the actual primary setting. Problem has been existing for years.


> Try LXQt. 1. Locking the screen just doesn't work. 2. Can't configure wallpapers properly: sees both screens as one big screen, and stretches the wallpaper across it. 3. Experience screen tearing, but only on my external monitor and only in Firefox.


> Try fix screen tearing. I need to enable composition pipeline settings for Nvidia. A little bit better, but didn't fix the issue. Looks like I also need compton package, I'm not sure why and what it is (does a bunch of things). But, now compton interferes with nitrogen program that I used as a workaround to set wallpaper. It also interferes with Nvidia pipeline settings that I set in autostart as one guy recommended in a video about screen tearing. Ok, I'll set this setting in a config file instead, maybe that will help. It did help. To cut the story short: after a million different combinations and permutations of settings, million times logging in and out, rebooting, I finally got it working.


Still it's not ideal. Here's how my boot looks:
1. Display manager. Before I configured the pipeline settings for Nvidia I had a duplicate screen on my external monitor. Now I only see the login screen on my laptop screen, the external monitor is fully black, yet I see a cursor on it (I don't remember whether the cursor movement is duplicated or if I can just move my cursor in there).

2. After I log in. I see debian background on both screens. Screens start flickering off intermittently a couple times. Debian background gets distorted on my external monitor. Panels appear. Finally proper wallpapers are loaded.

3. When I switch the user, I see the old wallpapers for half a second before this new user's wallpapers get loaded.

 No.55318

>>55242
https://forums.bunsenlabs.org/viewtopic.php?id=3946

Found these keybinds to allow tiling in openbox, and I find it very convenient.

 No.55320

I don't really care about minimalism (I use emacs and stumpwm) but I really like tiling wms because it's so much easier to organize windows. It's hard to go back to floating window managers.

If you're new to linux I think that ubuntu is the best option for distro, I have never had any trouble when using ubuntu(that wasn't my own creation).

 No.55322

>>51674
>>51653
anyone bitter with win10 can check out the win10 AME project

quoted from https://ameliorated.info/ :

Windows 10 AME aims at delivering a stable, non-intrusive yet fully functional build of Windows 10 to anyone, who requires the Windows operating system natively. Spyware systems, which are abundant in Windows 10 by default, have not been disabled using group policy, registry entries or various other workarounds – they have been entirely removed and deleted from the system, on an executable-level. This includes Windows Update, and any related services intended to re-patch the system via what is essentially a universal backdoor. Core applications, such as the included Edge web-browser, Windows Media Player, Cortana, as well as any appx applications, have also been successfully eliminated. The total size of removed files is about 2 GB.

Great effort has been invested in maintaining the subsequent system’s stability, bug-free operation and user experience, as many of these removed services conflict with core Windows 10 features.

 No.55323

File: 1600106146884.jpg (127.07 KB, 700x1000, 7:10, cirno.jpg) ImgOps iqdb

>>55242
>two monitor setup problems
Slow down, friend. Neither xfce, lxqt, compton, etc, are doing much themselves. Remember, all these programs are built on top of X (also called xorg, x server, x11, etc, for historical reasons but I will simply call it X).

1. Multiple monitors

If you want to use mulitple monitors, projectors, or external monitors this is to be addressed through your X configuration in /etc. When a window manager/desktop environment like XFCE presents you options to use multiple monitors, all it's doing is changing the configuration files under /etc/X11. You can edit these files yourself with any text editor.

https://wiki.gentoo.org/wiki/Xorg/Multiple_monitors#Configuration

A program like xrandr can be helpful for retrieving information on monitors and creating new X configuration files.

https://wiki.archlinux.org/index.php/Multihead#RandR

2. Screen tearing

Why do we have screen tearing? X doesn't know how programs want to be rendered, as X is used on everything from laptops to fridges, so it doesn't perform double buffering. Additional rendering like this (double buffering, screen effects, transparency, etc) is the role of a compositor program. X provides a composite extension, but it's up to compositors like compton, picom, or your window manager to do the work. Depending on which window manager you're using you may not need to install anything.

https://wiki.archlinux.org/index.php/Picom

3. Wallpapers

In X the background is just another window, called the root window. Programs like nitrogen or feh just replicate what xsetroot does. You could add xsetroot to your .xinitrc in ~/, and it will set the root window to a colour or background image you want. That's likely what's happening behind the scenes.

The main point here is that installing lots of programs oftentimes confuses things more. There's no mystery to how Linux works: the kernel presents everything as regular files, and programs read or write to these files, including your screen (/dev/fb0, /dev/dri/card0, /dev/tty). Therefore, the program that writes to your screen (run top and look for Xorg) is where your attention is best spent.

 No.55324

>>55323
> xfce - monitors
my dual monitor issue is actually a bug in xfce, which was, I believe, fixed in a later version than Debian has (currently 4.12.5)

https://bugzilla.xfce.org/show_bug.cgi?id=8328
https://bugzilla.xfce.org/show_bug.cgi?id=10688#c15

at least i didn't have any of these issues in lxqt, everything worked right away, and it uses the same X11 configuration

> wallpapers

thanks for idea, i will try to set it through the config file

 No.55329

>>55324
>my dual monitor issue is actually a bug in xfce
Yes, and as you read in the first report:

>2012-01-10: The problem is that you cannot specify the primary display in a dual head setup. Normally you would use the xrandr command: xrandr –output CRT1 –primary to set the external screen as primary, so it gets the XFCE panel.

>2012-01-11: Xfce does not call xrandr CLI. It uses directly the API functions of libxrandr. That means, additional logic that is in xrandr executable should be reimplemented in Xfce code.
>2012-01-11: There's already code in xfce4-display-settings to support that feature. It should set an output as primary if the property /Default/<screen id>/Primary is true (e.g. /Default/LVDS1/Primary). And if you set an output as primary using xrandr and open xfce4-display-settings later, it shouldn't override the property.

This means you can fix it yourself if you wanted, using xrandr or by manually configuring the files under /etc/X11. There's no difference between what XFCE does and what xrandr does, they both use the same library which itself is built on an extension X offers.

 No.55341

>>55324
>>55323
>In X the background is just another window, called the root window. Programs like nitrogen or feh just replicate what xsetroot does. You could add xsetroot to your .xinitrc in ~/, and it will set the root window to a colour or background image you want. That's likely what's happening behind the scenes.

I only see the backgrounds I set with feh or xsetroot when I stop the desktop service (pcmanfm-qt).

 No.55345

File: 1600266331900.png (129.48 KB, 800x800, 1:1, rin_nadeshiko_kotatsu.png) ImgOps iqdb

>>55341
I'm not familiar with lxqt, but the readme for pcmanfm-qt (https://github.com/lxqt/pcmanfm-qt#pcmanfm-qt) says:

>The file manager functionality should be self-explanatory, handling of the desktop deserves some notes:

>To handle the desktop binary pcmanfm-qt has to be launched with switch –desktop set. Optionally switch –profile can be used to save settings specific to certain session types like the different desktop environments.
>In LXQt sessions, PCManFM-Qt is launched with theses switches set as LXQt Module.
>To configure the desktop there's a dialogue "Desktop Preferences". Technically it corresponds with launching pcmanfm-qt with switch –desktop-pref set. It is available in the desktop's context menu and included as topic "Desktop" in sub-menu Preferences - LXQt settings of the panel's main menu as well as the Configuration Center of lxqt-config.
>All switches (command line options) mentioned above are explained in detail in man 1 pcmanfm-qt.

It may be then that you can disable pcmanfm-qt from overwriting the wallpaper set using xsetroot, feh, or nitrogen if launched without the –desktop switch (likely under ~/.config/lxqt). That way you could keep the file manager side of pcmanfm-qt and use your own solution, like nitrogen, to handle your wallpaper.

You may also find these articles useful:
* https://wiki.archlinux.org/index.php/LXQt
* https://wiki.archlinux.org/index.php/LXDE
There are sections on compositors to stop screen tearing and setting up a lock screen, which were things mentioned earlier.

There's also this issue which appears to mirror >>55242 (if you're the same anon): https://github.com/lxqt/lxqt/issues/1175

The dev seems pretty intransigent about addressing this issue with wallpapers, which is a poor attitude to have to users. My impression is this is being made more complicated than it needs to be. If you like openbox, which lxqt is built around, you can run it by itself without lxqt if you want (https://wiki.archlinux.org/index.php/Openbox) then you are free to set your wallpapers and monitors up however you want.

 No.55355

>>55345
I've actually been thinking almost since the the installation of Debian about using only a window manager, i like simplicity, but I'd been a bit intimidated to migrate, since I'd never used only a window manager much before for everyday use. I guess I'll do it sometime soon. Gotta read about what components I would need, what to install, what to delete, perhaps this Arch wiki page will help. Shouldn't be too hard.

 No.55362

File: 1600509702513.png (364.55 KB, 1366x768, 683:384, desktop.png) ImgOps iqdb

GNU/Linux user since 2004 reporting in. Only using for simple tasks and it just works. Started with Debian and recently moved to Busenlabs (going to Devuan someday).

 No.55368

File: 1600631254249.png (214.36 KB, 1366x768, 683:384, erudite.png) ImgOps iqdb

Started reading 2 or 3 days ago. Fell asleep reading last night. Was very sleepy while absorbing lots of knowledge. Started with programming documentation, and am now no longer stagnant. Also reading math and such.

Here's what I'm reading right now aside from documentation for specific programs:
>Calculus, by Stewart
>Computer Architecture, by Dumas II
>The C Programming Langauge
>Digital Logic with Verilog Design, by Brown and Vranesic
>Euclid's Elements
>Structure and Interpretation of Computer Programs

Have my .xinitrc set to open all the pdfs I'm currently reading or might read with zathura+tabbed. Going to always keep them open so I can decide to read in an instant.

 No.55371

>>55368
I started reading SICP, but I already have difficulties solving 1.7 (the new formula won't be a problem, it's the explaining of why this function fails for really big or small numbers that I find difficult).

> zathura

I like zathura, the only issue is that it doesn't support epubs on debian, there is no zathura-pdf-mupdf in the repositories.
But I use it for pdfs. When I read a PDF book, I like to open two zathura windows next to each other with the same book and in one I read the book, and in the other look up additional information if there is any: maps, additional notes, etc.

 No.55372

File: 1600695638405.png (65.32 KB, 1366x768, 683:384, noindex.png) ImgOps iqdb

>>55371
Hmm interesting idea. Do you happen to know how to add indexes to ebooks without them?

 No.55373

>>55372
I think there is no easy way to do it, but you can probably do it somehow manually. .epub is an archive, so you would probably have to unpack it, edit it, and then convert it back to .epub again.

As for PDFs, I suspect it should be possible too. You could also manually add bookmarks with zathura for every chapter. This wouldn't be a proper index, but you can still list your bookmarks etc.

 No.55410

File: 1601084375715.png (45.54 KB, 1200x1000, 6:5, 1442460973921.png) ImgOps iqdb

>haven't updated in nearly a year
>prepare for the worst
>everything works besides gtk file picker

 No.55706

File: 1602770838794.jpeg (18.24 KB, 495x620, 99:124, images.jpeg) ImgOps iqdb

I haven't touched my computer (a shitty little laptop) in a while.

But I m still interested in linux. Not really from a user perspective, I am interested in linux at the lower level: kernel development, putting together a system, etc.
Lately I've been toying with the idea of getting back into it. Especially learning aboht the kernel.
I guess I'm trying to figure out what to do first, for some reason my lappy no longer can boot most usb live images of linux (it does manage to boot the bsds and plan9, but on linux it almost always panics right away).
Perhaps I should try older versions, so far I have managed to boot only tiny core linux (I also have a limited bandwidth and downloading 1G every time I want to try some distribution is a problem).
I tried once to do LFS from tiny core and ran into compilation issues, as expected. Perhaps I try again.
>>39171
Sourcemage was actually my first stop, but sadly it's been unmantained since 2017 or so. I might try running it anyhow, if it worked 3 years ago in my lappy it hould still run, perhaps I could take it from there.

Afterwards I would take a dive into kernel source code and see if I can fulfill my dream. One particular thing that interests me is to learn how exactly the components are interdependent on a specific version scheme, how they fit together and also why they break apart. Does anyone have any resources on that?
Thank you.

 No.55708

>>55706
>for some reason my lappy no longer can boot most usb live images of linux
probably because most distros don't offer 32bit images anymore

 No.55724

>>55708
because the developers are faggots

 No.55726

>>55708
>>55724
It's not that, distributions almost always come in 32bit and 64bit flavors. But they both won't boot. Failed to moint rootfs or something like that, most of the time. They're live iso images. O suppose there's some bootloader setting I need to set.
Anyway tinycore does load, and I just realized sourcemage's latest version is actually from 2019. I'll try installing with the chroot image.

 No.55815

>>55726
That sounds like it could miss some drivers for whatever medium you're booting off.
If it's complaining about the rrotfs it must have booted the kernel and initramfs already and croaks because it can't see your device anymore once the kernel takes control.

 No.55835

File: 1603325847478.png (72.24 KB, 1366x768, 683:384, timekeeping.png) ImgOps iqdb

Been using ledger (ledger-cli.org) to do personal accounting, trying out using it for accounting time instead of money. Made this crude script to try to make it a bit easier to use. This script is bound to super + t so when I press that it prompts me to choose what activity I am recording in dmenu, and then it records it until I press super + t again and then it adds it to the ledger.

 No.55836

>>55835
Embarrassing, two of those lines did nothing. Here's the script with those removed and comments added.

#!/bin/bash

# If another process of this script is already running...
if [[ "`pidof -x $(basename $0) -o %PPID`" ]] 

then	# ... then end the 'sleep' process withinin that process, which will cause it to finish.
	kill "$(pstree -lp | grep -- -lfun\([0-9]*\)---sleep | sed "s/.*sleep(\([0-9]\+\)).*/\1/")" 

else	# Else it will record the starting time, the activity name and wait to be finished by another process of this script.
	START=$(date +"%s")	
	NAME="$(echo -e "Amusement\nReading\nCoding\nWalking" | dmenu -i)"
	sleep infinity
	
	# When it finishes it will add data to the ledger file
	echo -e "\n$(date --date="$STARTs" +"%Y-%m-%d")\n\tTime:$NAME\t\t\t$(echo "$(date +"%s") - $START" | bc)s\n\tmyday" &gt;&gt;~/dox/fin/time
fi

 No.55840

File: 1603341945309.png (114.03 KB, 1366x768, 683:384, timeledger.png) ImgOps iqdb

>>55836
Made it more robust and also made use of the double entry. I can now set goals and records of an activity will take away from the goal time.

On the left is the file that:
a. my script writes to
b. I manually added goals to
c. ledger reads from

and the right is the actual use of ledger. The 'bal ac' line show the balance of Activity entries and 'bal goal' lines show the balance of Goal entries. using -d or –display "amount > 0" makes it show only positive entries, so I can use it to show time left on goals.

#!/bin/bash

ACTIVITY_LS=~/.local/share/activities-accounted
LEDGER=~/dox/fin/time

function log_activity {
	start=$(date +"%s")	
	activity="$(dmenu -i &lt; $ACTIVITY_LS)"

	# whitespace not allowed
	if [[ ! $(echo $activity | grep "^\S\+$") ]]
	then return
	fi

	sleep infinity

	echo -e "\n$(date --date="$starts" +"%Y-%m-%d")
\tActivity:$activity\t\t\t$(echo "$(date +"%s") - $start" | bc)s
\tGoal:$activity" &gt;&gt;$LEDGER
}

function endprevprocess {
	kill "$(pstree -lp |
		grep -- -lfun\([0-9]*\)---sleep |
		sed "s/.*sleep(\([0-9]\+\)).*/\1/")" 
}

function main {
	if [[ "`pidof -x $(basename $0) -o %PPID`" ]] 
	then endprevprocess
	else log_activity
	fi
}

main

 No.55841

>>55840
>sleep infinity
god i wish that were me

 No.55869

File: 1603773628205.png (194.83 KB, 638x783, 22:27, 1596324058714.png) ImgOps iqdb

I've been using Linux for about 5-6 years now. Started out going through all the distros and DEs (if I had to rank them, I honestly kind of miss Unity. Ended up settling for KDE, with a soft spot for XFCE. Solus/Budgie was kind of cool, but it sort of lost its luster after Ikey left. As far as distros, I mostly have a hard time seeing anything but Arch as being sensible at this point, but I'm strongly considering NixOS or Guix. Currently using Arch with suckless stuff like dwm, dmenu, st, etc.).

My end goal was always the cool, WM-only, TUI driven setups you saw in desktop threads and the like. Finally got around to setting something up like that recently, and while it's nice in some ways, I've quickly realized the limitations of such a setup. It's honestly starting to seem like something like Emacs is a superior option, if a largely text-based interface is what you're after–consistent keybindings across every program, a more unified configuration file/configuration language, and a much greater degree of flexibility and interoperability between the programs you use. The fact that it's a graphical program and capable of supporting images and the like without janky hacks is nice, too. The "help" functions are incredibly robust, and I can see them lending themselves to making it very easy to modify and extend Emacs.

Still, I'm finding it to be a tough nut to crack. The default keybindings seem a little cumbersome compared to vim so far, and most of the internal manual seems geared largely at its use as a text editor. I'm a little reluctant to use evil mode, since I suspect it might detract from the tightly integrated experience I keep hearing about with Emacs. Maybe I'm missing something, but the buffer/window management seems a little cumbersome, too. Still, I'd like to get autistic with the "Emacs as an OS" concept, so I'll share my experiences eventually.

 No.55870

File: 1603775798227.png (20.83 KB, 512x512, 1:1, nosystemd.png) ImgOps iqdb

>>55869
>Arch
I like Arch a lot, but I hate systemd even more. I really wish they'd ditch it, but that will probably never happen.

>Emacs

I've never cared for Emacs; I've always greatly preferred vi. Then again, I cut my teeth on IRIX and SunOS where vi was factory installed, and Emacs wasn't. It's a matter of opinion, unlike systemd which is objectively crap.

 No.55871

>>55870
>I like Arch a lot, but I hate systemd even more. I really wish they'd ditch it, but that will probably never happen.
Well, there's always Artix. I think it even supports oddball stuff like s6. I've thought about moving over to it myself because I quite like runit.

>I've never cared for Emacs; I've always greatly preferred vi. Then again, I cut my teeth on IRIX and SunOS where vi was factory installed, and Emacs wasn't. It's a matter of opinion, unlike systemd which is objectively crap.

So far, I dislike Emacs from the perspective of text editing, over which I'd take vi/vim any day. I'm much more interested in Emacs from the perspective of being an "OS", as the memes often go. To my understanding, "evil mode" is quite effective in implementing vim as a subset of Emacs, and I may still try it out yet, but I figured I'd at least give the default Emacs experience a chance.

 No.55877

>>55869
I generally prefer vi over Emacs. But I see the value in Emacs and often miss some things about it. I actually found it's buffer management more convenient than that of vi. Also I like it better as a GUI editor (as opposed to CLI), but I never cared to earn enough to use it as my daily workspace, though the idea seems nice. It's just the huge manual, and I feel lost.
I am also very much used to the terminal workflow, a bit too much.
The editing bindings for vi are far superior, and the CTS inducing ones of Emacs turn me away, but I gotta admit some of them are super convenient and I actually use them all the time in the terminal (C-e, C-a, M-b, M-f, M-Del, and so on).
Also lisp.
But I just don't care to learn enough of it to use it as it is intended, modifying it's behavior here and there. Perhaps I should…

 No.56268

Right now I'm working with user account control stuff. I'm learning how to add, delete, and modify accounts. I want to learn more about chmod too since I don't have much of a grasp on it. Also, I want to make shortcuts so I can access the terminal quickly. I'm running Manjaro right now, but I might change to something related to Ubuntu's(?) style of commands to learn about it. I like Manjaro for the rolling updates. I might want to learn more about manually updating since that scares me.

I use Linux for fun but want to turn it into profit.

 No.56472

By Jove Windows is garbage.
I want to compile a C program to output some data and then use R to create several graphs and save them as PNGs. On Linux I would do this:
>Press CTRL+T to open terminal
>nano myfile.c
>g++ myfile.c
>./a.out | R (some arguments)
>viewerprogram 01.png 02.png 03.png 04.png
>Done. Simple as.
On Windows there are a lot of retarded trials involved just to get a compiler for C. VC++ is the most common, but that's 12 gigabyte program that uses 2 gigabytes in RAM and takes nearly 10 seconds to compile printf("hi"); instead of g++'s 0.05 seconds. You can use MinGW but it's completely retarded to get working reliably in Windows 10 and getting it to output the data to R will either require even more ridiculous fooling around or programming file input and output into the program instead of just piping the std output. Then of course you have to get R working.
Why do people say Windows just werks?

 No.57114

>>55869
>>55871
Well, after "living in Emacs" for a couple of months, I'm back to my old setup. It was a fun experience, but I just couldn't really get into it. I never really found the workflow or the keybindings to be terribly comfortable, and performance was a real issue, especially because I was using EXWM (which would, for example, freeze my entire desktop every time I reloaded my RSS feeds). Coming from a very terminal-centric environment, I felt like using it as "desktop environment" just felt too "detached" from the rest of the system–it doesn't help that all of the terminal emulators in Emacs kind of suck. It also felt more limited–like, you kind of have to do everything the "Emacs way". It also aggravated my autism a little bit that there were so many superfluous packages installed by default–Emacs comes bundled with multiple IRC clients, multiple mail clients, multiple terminal emulators, etc. It was kind of fun discovering some of the little easter egg programs, though.

A lot of the things that seemed advantageous on the surface didn't really pan out–for example, the built in documentation system was cool, but it seems like beyond the core documentation, most Emacs packages have pretty lackluster documentation and don't even bother including a manual half of the time. Having everything in one config file wasn't as nice as I thought it was going to be (I had to split a bunch of stuff into the early-init.el to keep boot times down, and you end up having to keep around a bunch of traditional dotfiles anyway). It was nice that everything had a consistent configuration language, but I also sometimes found myself missing the simplicity of traditional .conf files (one thing that annoyed me is that many packages alternate between setting options with variables and functions, the syntax is slightly different for both, and it's not always immediately clear which is which). Some things were really nice, though–the idea of everything being an editable text buffer was cool, and the keybindings were incredibly consistent across every package. dired is a fantastic file manager.

As soon as I returned to my old setup, which is focused around vi keybindings, it felt like a weight had been lifted off of me and I was so much more comfortable & efficient. Granted, a lot of that is probably just due to familiarity. I didn't deep dive into elisp, and I didn't take the time to really get a feeling for Emac's innards, so I wasn't able to accomplish as much with it as I can with shell scripting. I might still return to it someday, maybe I just didn't spend enough time really deep diving into it. I am definitely going to miss the hell out of org-mode.

 No.57120

>>57114
>>56268
I had never understood why people would go out of their way to complicate their own lives with no-gui/CLI only setups.

Why use vim/emacs when you can get the same done with an IDE and a mouse in half the time?

I can understand it if its only for fun and aesthetics but then I see people boasting about increased ""productivity"".

How? How would you even benefit from this?

 No.57121

>>57120

>t. permanently stunted and crippled by gui since childhood


wiz we hardly knew ya :(

 No.57123

>>57120
CLI only operating systems are more hardware efficient. They can also be more secure as they have less of an attack surface. It's ideal for hosting web services and I'm sure many other reasons.

 No.57651

>>57120
I don't get it either. Spent a bunch of time using emacs and I just don't see the benefits. By that time I could've learned a new framework or programmed something useful. What a waste of time.

>>57123
what's the point of hardware-efficiency in 2021? Seems like an excuse to "rock a cool looking cyberdeck".

 No.57867

>>57120
>>57651
I don't agree with the implication that CLI/TUI tools necessarily 'complicate' your life. To the contrary, half of the appeal (namely of CLI programs) is that they allow you to accomplish certain tasks in a far simpler, automatable way, contrast to a GUI that would require a lot of "manual labor" to achieve the same thing. For instance, in a very simple example, I could effortlessly move every file with ".jpg" as the extension to another directory with a command like "mv *.jpg ~/destination". In most GUI file managers, I would need to click a button to sort by filetype, then drag my mouse to select those files, then open the directory I want in the sidebar or another tab, then drag the files over to the destination. Of course, much of the appeal of Unix-like systems is that command-line programs are small, focused, and chainable with one another, such that you can perform fairly complex tasks simply. Scaled up to programs like dmenu, you can even simply implement custom interfaces and menus for your system, and your imagination/use cases are the only limit.

In the case of TUI programs, the appeal is generally that they treat keyboard control as a first class citizen, and are extremely configurable and extensible. For instance, in my file manager, 'ranger', I have keybindings that allow me to quickly travel to any directory on my system–I can type 'gmb' as shorthand for 'go ~/Media/Books', for instance. Or, I have another keybinding that runs a command that uploads the file(s) I have selected to a file-hosting or pastebin-style website, then copies that link to my clipboard. With a typical GUI file manager, I'd have to tediously open up my browser, then navigate to the file hosting website, then upload the file, then copy the link. It's also got useful built-in commands, like a bulk-rename feature that allows you to open up all of your listed files in a vim buffer, and rename them all at once (Emacs can do something similar in dired), or a 'flatten-directory' feature that allows you to view several nested directories as one single directory.

In either case, I think hardware efficiency is just a side-benefit (although, it can be a very meaningful benefit if you're using older or underpowered hardware). It's fair to argue that you pass a point where these micro-optimizations give diminishing returns, but I think it's absolutely worth it to learn how to use the CLI even if you still intend to primarily use a regular desktop with graphical applications. There are naturally some applications where a graphical interface makes more sense (like a video or image editor), but even then, you'd genuinely be surprised at how useful CLI tools (like ffmpeg or imagemagick) can be for certain tasks, particularly where automation is concerned. Emacs is kind of its own beast if you go deep enough down the rabbit hole, or just want a super extensible editor that you can do everything in. And lastly, as >>57120 hinted at, it's just plain fun to tinker around with.

 No.58191

File: 1622803744607.png (541.94 KB, 1080x1920, 9:16, whatitslike.png) ImgOps iqdb

My life is much better after I found out how to rotate my screen. Makes using my computer at night when I'm laying on my side way better. It's like I have a super tall monitor. Tall images are way better this way also.

>xrandr –output [your output] –rotate [normal, invert, left, right]

>find your output device with just xrandr

 No.58319

>>57120
Keyboard-only is much more efficient if you know what you're doing, but GUIs can have advantages; it's important not to be religious about it. I use an IDE because some of its features are useful, but have a vi plugin so that I can write and edit code more quickly. Another thing to consider is that you often encounter headless servers, so there is no GUI available. While you might think that a light DE doesn't cost much on modern hardware, it really does add up at scale.

 No.58344

>>39171
I can't think of anything I want to customize or control on my computer that I can't do on windows.
I just browse the internet, watch things I've downloaded and play games.

 No.58380

YEESS! I've never seen somebody also tracking time with ledger. I personally use it to track the time I spend on social media (mostly YouTbe). Per hour I convert the time spent to like 1$ liabilities. Those I have to donate (for example to foss-projects).
If somebody wants to try it:
= /FreeTime:SocialMedia/
(Allocation:Harm)1 ;Value: (1/3600 USD)
= tag("allocation") == "Harm"
(Allocation:Harm)1
Just tag the donation transaction with "allocation: Harm" to pay the liabilities. Track the time in the account FreeTime:SocialMedia:Whatever

 No.58381

>>58380
The post was directed to >>55840

 No.58382

>>58344
How about the telemetry that is actively sending all sorts of data about you to various groups that you cannot turn off?

 No.58497

File: 1625188669689.png (63.93 KB, 1920x1080, 16:9, about-config.png) ImgOps iqdb

youtube-dl currently doesn't work downloading age restricted videos from youtube, even with log in and cookies. The way I download such videos for now is by changing this setting in about:config then right clicking the video and saving it. You need an add-on that allows you to right click anywhere (I just have to hold shift and then no site can stop me from right clicking like on any other site). Without changing this option, on youtube the download video option will be greyed out. The option disables something that allows them to load videos in chunks vs altogether. Supposedly you cannot download high quality vids this way though.

 No.58498

>>58497
i use invidio.us usually it works

 No.60786

Made a script to copy my ebooks to my ereader. Probably kinda bloated cause I was impressed with what I learned making it and I wanted to make it robust. Obscured my UUID in this.

#!/bin/bash

ereader_uuid='****-****' #this is my kobo ereader
ereader_mount_point='/mnt/my_kobo'

# error: e-reader not found
blk=$(lsblk -o +UUID | grep "$ereader_uuid")
if [ -z "$blk" ]; then
	echo 'e-reader not found; exiting';
	exit 1;
fi

# makes the mount point directory if it doesn't exist
if [ ! -e "$ereader_mount_point" ];
then
	mkdir "$ereader_mount_point" &amp;&amp; echo "created '${ereader_mount_point}' mount point..."; || echo "Cannot create '${ereader_mount_point}' probably because of permissions; exiting" &amp;&amp; exit 1 # error: cannot create mount point directory, probably because of permissions
fi

# mounts, copies files into and then unmounts the e-reader
echo 'e-reader found...';
mount "/dev/disk/by-uuid/${ereader_uuid}" "$ereader_mount_point" &amp;&amp; echo 'mounted e-reader'
cp -n *.{pdf,epub} "$ereader_mount_point" &amp;&amp; echo 'copied files...';
umount "$ereader_mount_point" &amp;&amp; echo 'unmounted e-reader...'
rmdir "$ereader_mount_point" &amp;&amp; echo "removed '${ereader_mount_point}' mount point..."

 No.60807

>>38931
>Linux can make much more of old hardware performance wise.

This isn't always true especially now that AGP has been depreciated. In the case of PPC hardware, I know of at least one project that gutted Altivec code because it had been unmaintained.

One thing Linux does have going for it is running modern software on old hardware. You get important security updates. The push to put HTTPS everywhere and depreciation of SHA1 cuts off a large portion of the WWW on old Windows and Mac browsers.

 No.60808

>>60807
Speaking of which, I saw this nugget on Hacker News and Lobste.rs. It's impressive, but I'd probably put Windows 95 on there if I still had a 486 machine.

https://ocawesome101.github.io/486-linux.html

 No.60855

File: 1643250696804.png (5.14 MB, 2048x1536, 4:3, post.png) ImgOps iqdb

Debian with DWM?
You have my respect.


[View All]
[Go to top] [Catalog] [Return][Post a Reply]
Delete Post [ ]
[ Home ] [ wiz / dep / hob / lounge / jp / meta / games / music ] [ all ] [  Rules ] [  FAQ ] [  Search /  History ] [  Textboard ] [  Wiki ]