The officially official Devuan Forum!

You are not logged in.

#226 Re: DIY » Minimalism Tips » 2021-04-13 11:14:21

andyprough wrote:
MiyoLinux wrote:

People may not realize that despite his lack of curly locks, Miyo still has one of the prettiest wives in all of Linux land: https://yewtu.be/watch?v=OYgZib8z6uY

Thanks andy!

...she married me when I still had hair...

Hahahaha! tongue

#228 Re: DIY » Minimalism Tips » 2021-04-09 16:10:41

dice wrote:
anticapitalista wrote:
 1.8 MiB + 796.5 KiB =   2.6 MiB	mpg123.bin

we have a new winner!

But.

ps_mem.py -p 31564                                                                                                               
 Private  +   Shared  =  RAM used       Program

  1.1 MiB + 633.5 KiB =   1.7 MiB       mpg123.bin
---------------------------------
                          1.7 MiB
=================================

Nice!

Different machines will give different results. I boot Miyo-Rolling x86_64 on my laptop, and it boots at 180 MBs of RAM. Same exact setup boots on my old HP dx5150. desktop at 130 MBs of RAM.

We need a new "How to get the same results on every computer" thread.

tongue LOLOLOLOLOLOLOLOLOL

#229 Re: DIY » Minimalism Tips » 2021-04-09 16:04:16

Perhaps we need a "Tips for Low Resource Usage" thread? tongue LOLOL!

I guess minimalism means different things though. My idea behind it was tips for using less (or unneeded) applications.

The new thread request was a joke. smile  Lots of great info here! Thanks everyone....keep it coming.

#230 Re: Off-topic » What other distro are you using (besides devuan)? » 2021-04-08 18:21:52

Well...aside from a certain rolling-release respin of Devuan tongue , I also use...

Venom Linux - to satisfy my source-based distroism.
OpenBSD - to satisfy my BSDism.
Void Linux - to satisfy my ... well ... I just like it. smile

#231 Re: DIY » Minimalism Tips » 2021-04-08 17:57:37

Head_on_a_Stick wrote:
MiyoLinux wrote:

this is for alsa-only

Actually those commands will also work for PulseAudio (or PipeWire). But that's not very minimal smile

cool

Thanks. I didn't know that since I don't use them. Could've sworn I saw different execute command for pulse at some point.

Thanks HoaS. smile

#232 Re: DIY » Minimalism Tips » 2021-04-08 17:34:58

Don't use a bloated volume icon on your panel tongue ; just use the volume keys on your keyboard.

Here's what I have in my Openbox rc.xml file; adjust it to the needs of your WM/DE. By the way, this is for alsa-only...

    <keybind key="XF86AudioRaiseVolume">
      <action name="Execute">
        <command>amixer set Master 5%+</command>
      </action>
    </keybind>
    <keybind key="XF86AudioLowerVolume">
      <action name="Execute">
        <command>amixer set Master 5%-</command>
      </action>
    </keybind>
    <keybind key="XF86AudioMute">
      <action name="Execute">
        <command>amixer set Master toggle</command>
      </action>
    </keybind>

#234 Re: DIY » Minimalism Tips » 2021-04-07 16:52:48

Head_on_a_Stick wrote:

^ Multiple options can be combined in a single command:

xset s off -dpms

HEY! Don't be minimalizing my minimalism! mad

Bwahahahaha! tongue

#235 Re: DIY » Minimalism Tips » 2021-04-07 15:55:00

If you are only interested in keeping your screen from turning off, don't use a bloated power manager or screen saver...just add this to your autostart...

xset s off && xset -dpms

wink

#236 Re: DIY » Minimalism Tips » 2021-04-06 14:22:55

More ffmpeg minimal minimalist minimalism...  tongue

Don't use a bloated screen recorder like Simple Screen Recorder, OBS, etc...

Just use ffmpeg to record your screen and alsa to record the audio at the same time...

This is the command that I use; adjust it to your needs wink, because I have alsa set to use my USB microphone default:CARD=U0x46d0x825, my screen size -video_size 1366x768, frame rate -r 15 etc...

ffmpeg -y -f alsa -i default:CARD=U0x46d0x825 -f x11grab -r 15 -video_size 1366x768 -i :0.0+0,0 -c:v libx264rgb -preset ultrafast ~/Videos/output.mkv

If you're not sure how to find your USB microphone (if you use one), use this command to find it, then exchange your "card" in the command...

arecord -L

#237 Re: DIY » Minimalism Tips » 2021-03-25 20:44:56

Head_on_a_Stick wrote:

I think ffplay is also bloat...

Despite HoaS's aversion to the bloatiness of ffplay, here's another one tongue ...

Don't use a bloated webcam app like guvcview, cheese, etc., just use ffplay...

ffplay -f v4l2 -noborder -video_size 320x240 -i /dev/video0

If you want a titlebar, leave -noborder out of the command. wink

#238 Re: DIY » Minimalism Tips » 2021-03-24 12:22:56

zapper wrote:

If you consider moc to be bloated, I wonder what you would think of vlc and smplayer... tongue

Hahaha! I was just kidding around about the bloat.

Actually, MOC is my preferred audio player...I like it so much that I made my own theme for it. big_smile

...and VLC...I always install it. It has too many useful tools in its arsenal not to have it on my system. wink

#239 DIY » Minimalism Tips » 2021-03-23 21:40:41

MiyoLinux
Replies: 91

If anyone has some tips for those of us who prefer minimalism, post it here! big_smile

Here are a couple that I use, because I don't need a bloated video player like mpv or a bloated audio player like CMUS or MOC. tongue

I will leave out any scripts/aliases for simplicity/minimalism in this post, because it's about minimalism...LOLOLOL!!! tongue  I'll just give the basics...

1. Play your downloaded videos with ffmpeg/ffplay...

CD into (or open a terminal in) the folder containing the desired video to watch, and enter this command (as an example)...

ffplay the-name-of-your-video.mp4 

BAM!!! Your video plays.

2. Play your music folders with ffmpeg/ffplay...

CD into (or open a terminal in) the folder containing the desired music to listen to, and enter this command (as an example)...

for f in *.mp3 ; do ffplay -nodisp -autoexit "$f"; done

BAM!!! Your music plays.

The player will automatically move to the next song and quit when finished playing the files; however, you do have a little bit of...minimalistic control wink ...

CTRL + C = move to next song
CTRL + Z = stop the player

Have more than one folder in the folder you want to listen to? Enter this command (as an example)...

for f in */*.mp3 ; do ffplay -nodisp -autoexit "$f"; done

BAM!!! It will play each folder. It will move from one folder to the next as each folder finishes.

smile

#240 Re: Desktop and Multimedia » PulseAudio always resets to mute » 2020-12-18 23:59:51

I guess that's why it works for me. I only use speakers that plug into my headphone jack. Hahaha!

Carry on. I'll be quiet now. big_smile

#241 Re: Desktop and Multimedia » PulseAudio always resets to mute » 2020-12-18 21:46:48

Well, the directions that I gave always does away with the global automate on startup for me. Good luck.

#242 Re: Desktop and Multimedia » PulseAudio always resets to mute » 2020-12-16 19:14:41

I don't know if this will work, but there are a couple of things you can try...

1. Open a terminal, and enter alsamixer. If it opens in the terminal, use your arrow keys to move to the right until Automute is highlighted. Then press the down arrow to disable it.

You may have to choose your sound card first by pressing F6...

If alsamixer isn't working on your system, then you can try...

2. When you first boot your computer up...BEFORE adjusting the volume on the panel, open Pavucontrol. Go to Output Devices. If the volume icon is highlighted (muted), press it to unmute it. THEN move the slider beneath it.

Both of those options have always worked for me, but I'm unfamiliar with Cinnamon.

Good luck

#243 Re: Desktop and Multimedia » Obmenu-generator problem » 2020-12-07 15:10:41

Not sure what the problem could be. The instructions on the MiyoLinux website always works for me...on Ascii, Beowulf, and Ceres.  ???

If HoaS's package works for you then, by all means use it. smile

Did you install the depends according to the "Debian-based" instructions on the website?

For Debian-based systems...

apt install make git cpanminus libgtk2-perl

You may now need to install libtgtk3-perl too. wink  I need to update the site.

Hi, What are the permissions for the location "/home/groucho/.config/obmenu-generator"?

I'm lazy and just open the file manager, go to ~/.config/ and create the obmenu-generator folder as myself...the regular user. wink Did you mistakenly create it as root instead?

Now I have a problem with a couple of Openbox entries I use frequently.
In my previous non-configurator menu, I had entries for reboot and shutdown.

execute --> lxterminal sudo -e shutdown -r now and execute --> lxterminal sudo -e shutdown -r now.

These still work perfectly well from the command line ie: sudo -e shutdown -r/h now but using the stanza in schema.pl won't work.

What am I missing?

elogind commands...

Shutdown = loginctl poweroff

Reboot = loginctl reboot

#244 Re: Off-topic » What other distro are you using (besides devuan)? » 2020-11-16 22:51:18

BSDs in order (according to my PPs...aka...Personal Preferences)

1. OpenBSD
2. NetBSD
3. FreeBSD (and its derivatives)

Why?

Because that's the way I roll baby!  tongue

#245 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2020-11-11 12:56:01

If anyone is using MiyoLinux-Rolling, and an update broke your right-click menu, you can fix it by running the following commands in a terminal...

Preface this first command with su (or sudo)...

cpanm Linux::DesktopFiles

Don't use su or sudo for this second command...

obmenu-generator -p -i

#246 Re: Devuan Derivatives » dwm on Miyo (Devuan Ceres- rolling) » 2020-10-31 12:55:36

anticapitalista wrote:

He removed connman and saw that network-manager is also faulty on his box.
So, connman did not bork his system, something else did.

Oh...I must have somehow missed that.

#247 Re: Devuan Derivatives » dwm on Miyo (Devuan Ceres- rolling) » 2020-10-31 00:46:08

manyroads wrote:

@MiyoLinux... it went pear shaped on me for the third time.  No network connects through the browser.  This time I left the partition alive and just put MXLinux running dwm on a second partition.  I'm happy to work with you or @Head_on_a_Stick or others to see if we can find the problem.

yikes

There is some hardware that doesn't like connman no matter what. I don't remember which ones.

If you boot a live version of Miyo-Rolling with an Ethernet cable, can you successfully run an apt update?

If so, after the apt update, do a...

apt install network-manager-gnome

...

...then do a...

apt remove cmst

After that, use the terminal or Run Command and enter...

nm-applet

It should appear in your system tray. Click on it to see if you can connect to your network. If everything works, then install the system. It will keep network-manager-gnome on the installed system and not have CMST.

#248 Re: Devuan Derivatives » dwm on Miyo (Devuan Ceres- rolling) » 2020-10-30 22:22:03

manyroads wrote:

@MiyoLinux, I was the guy pestering you on Sourceforge.... smile

tongue big_smile

manyroads wrote:

So here is what I have done and am testing.  For the last few hours things have worked. Yay! 
As @Head_on_a_Stick will confirm, I do beat on my systems.  I'm also reasonably tenacious.  lol   Anyway here's what I have done:

Miyo (Devuan) dwm Install/ Build

Replace Network Connman and start MiyoLinux:   

sudo apt update
sudo apt upgrade
sudo apt install firefox network-manager nm-tray network-manager-gnome
sudo apt remove connman cmst
sudo reboot

After First reboot (I install the stuff I want.  btw. I have also used deb files for various apps like skype, zoom, etc because I prefer to avoid appimages flatpaks, snaps.) :

sudo apt update
sudo apt upgrade
sudo apt autoclean && sudo apt autoremove
sudo apt install firefox thunderbird dunst rofi geany conky filezilla nnn ranger feh luckybackup timeshift virtualbox libreoffice bpytop celluloid gimp neofetch keepassxc qpdfview transmission zathura zenity yad zim sxiv i3lock-fancy xarchiver xcompmgr conky sxhkd variety mousepad

For use in installing and setting up dwm (st & slstatus):

sudo apt install make gcc libx11-dev libxft-dev libxinerama-dev xorg

Note
I keep all my suckless tools in ~/.local/bin and place that in my path via bashrc with the following:

# Add local 'pip' to PATH: (In your .bashrc, .zshrc etc)
export PATH="${PATH}:${HOME}/.local/bin/"
export PATH=/usr/local/bin:/usr/local/sbin:$PATH

editing your config.h files, compiling suckless tools are beynd the scope of this brief tutorial.

Misc. Tools

calibre:

sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

I'll let folks know what I encounter... or when I really give up.

Hey...thanks! smile

It has been a long time since I've used DWM. I might give it a try soon. wink

#249 Re: Devuan Derivatives » dwm on Miyo (Devuan Ceres- rolling) » 2020-10-30 22:15:26

brocashelm wrote:

Sync problems sometimes happen. I recommend retrying a few more times. I usually succeed after the second or third attempt.

This has been my experience also. Strange thing is, it has only happened after a fresh installation. After that, I personally haven't experienced it again...but I'm special. LOL! tongue

#250 Re: Devuan Derivatives » dwm on Miyo (Devuan Ceres- rolling) » 2020-10-30 19:24:06

I understand.

Someone recently said the same thing on Sourceforge about CMST on Miyo-Rolling a couple of weeks ago. So...I suggested they...

First install network-manager-gnome.
Then remove CMST.

It worked for me on Ceres...but I don't like network-manager-gnome, so I removed it and installed CMST again. Hahaha! smile tongue

Might be an option if you ever want to try it again in the future.

Ceres has been absolutely stable for me, but then again, I have very minimal setups, so there's not much to break.

LOLOLOLOLOLOLOLOLOL!

Board footer

Forum Software