If you want to disable keybindings and the info panel on the webcam as well, just add these settings: --no-osc --no-input-default-bindings --input-conf=/dev/null Thanks to Micah who led me to this!
@LundMr16 жыл бұрын
man mpv has a paragraf about File-specific Configuration Files: " In addition, the --use-filedir-conf option enables directory-specific configuration files. For this, mpv first tries to load a mpv.conf from the same directory as the file played and then tries to load any file-specific configuration." Thereby, you should be able to set other configurations or keybindings, if that make sense in you setup :)
@indiantechnologyguy4 жыл бұрын
My 2 cents. One thing bothering me was even I have disabled keyboard shortcut. I saw `[input] No key binding found for key 'Alt+1'.` and that keyboard shortcut did not work. I used simple hack in i3 config 'no_focus [title="video0 - mpv"]' this will not steal focus. and webcam script will work seamlessly.
@LukeSmithxyz6 жыл бұрын
I should say, to get the names and properties of windows so you can give them properties in i3wm, use the command `xprop`, which lets you click on a window and get its meta-data.
@mehalter6 жыл бұрын
If you use the flag '--no-input-default-bindings' for mpv, all of the keyboard shortcuts will be disabled. Also the flag '--no-osc' will disable the on-screen controls and will leave you just the video. I personally prefer both so you are just left with a window just showing the video with no controls at all! Hope this is what you are looking for and helps!
@LukeSmithxyz6 жыл бұрын
Yeah I was going to add in the --no-input-default-bindings, but I actually have custom bindings that are not overwritten by that that I sort of want to get rid of as well. There doesn't seem to be an option to do that easily (other than making a file specific config that overwrites them I guess).
@LukeSmithxyz6 жыл бұрын
Actually thanks for noticing the --no-osc thing because it had slipped my reading of the manual!
@LukeSmithxyz6 жыл бұрын
Actually, actually, I guess to overwrite the custom configs I can just add --input-conf=/dev/null. That works. Thanks!
@mehalter6 жыл бұрын
You can also set multiple profiles in your mpv config (wiki.archlinux.org/index.php/mpv#Profiles), you could have a profile set for no custom keybindings and call that profile in your camtoggle script. I believe that is the cleanest solution if you want your custom keybindings any other time you open mpv.
@mehalter6 жыл бұрын
Oh true, you can just pass /dev/null as your config and that would save some typing. No problem! Great video by the way, love your stuff!
@tutituti43446 жыл бұрын
Sometimes you have to watch a video of a guy that looks like a drug dealer to learn some cool i3 tricks
@MGJoe936 жыл бұрын
Again a nice video about i3wm. Please show us more about your i3 settings and some tips. Thank you.
@a.phuyal3203 жыл бұрын
Can you help me Luke? In Manjaro i3, the browser is Palemoon. And then I installed Librewolf from Flathub. I want it to be associated with key binding mod+F2 and when I do that from the config file in .i3 folder, nothing happens. And yes Palemoon does not work either after I do that. Can you please help me with it?
@GoogleUser-id4sj4 жыл бұрын
Can we set the recording quality and fps when using the command mpv /dev/video0?
@pging83284 жыл бұрын
How are you managing to record your screen while using i3?
@cmcm66766 жыл бұрын
Is your .xdefaults / .Xresources file on github updated with the current color scheme ?
@LukeSmithxyz6 жыл бұрын
I used solarized colors in st, which doesn't ready my .Xdefaults file anymore.
@cmcm66766 жыл бұрын
Thanks, after some initial digging i found them.
@renarsgrigorjevs8126 жыл бұрын
Cool I like it :)
@carlosmontero73866 жыл бұрын
There's a way to change the camera's resolution?
@LundMr16 жыл бұрын
Seems like you are learning new stuff every day - how the tårks are you doing that? Don't you have a PhD to finish?! Jeez :D
@pcfreak19926 жыл бұрын
Did you try running the camtoggle command like this: sh -c "pkill .... || ..." ? This way it is only one command for i3 but it's launching the whole thing in the quotes in a subshell.
@LukeSmithxyz6 жыл бұрын
That wasn't working either. I'm not actually 100% what the problem is because come to think of it, I have a line that toggles printscreen which works just fine: bindsym $mod+Print exec --no-startup-id "killall screenkey || screenkey"
@troy64076 жыл бұрын
Meu careca favorito
@showyouathingortwo6 жыл бұрын
Great tip
@MaximusRitterVon5 жыл бұрын
Has anyone a solution for the positioning in dwm?
@polypus744 жыл бұрын
Annoying (to me anyways) that the webcam window is focused when created, so in i3 config along with the for_window directives, you can also: no_focus [title="video0 - mpv"]
@Benrob03296 жыл бұрын
Put the command in quotes?
@Benrob03296 жыл бұрын
Also, you can load a custom profile with MPV that disables the keybindings and gui
@mandeep6ill6 жыл бұрын
blue border, i guess mod + Backspace is way too tiring :P btw how to make the right side border brighter man
@LukeSmithxyz6 жыл бұрын
It's automatic in i3. The side you're set to tile on automatically lights up.
@Redalef156 жыл бұрын
>making a forum instead of anonymous imageboard Absolute botnet
@LukeSmithxyz6 жыл бұрын
>using a closed source imageboard that uses your cpu for mining bitshekels instead of a /comfy/ mid 2000s free software bulletin board
@Redalef156 жыл бұрын
But there are like shitton open source imageboard engines on Github: github.com/imageboards
@jesperb.2456 жыл бұрын
What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX. Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
@IlKuchen6 жыл бұрын
Pinguinguy most free software users have the alias linux="gnu slash Linux" in their brainrc
@jesperb.2456 жыл бұрын
But then how do i refeer to the kernel?
@IlKuchen6 жыл бұрын
I call it the kernel. It really works. What is Linus Job? He works on the Kernel. Where is Linus from? He is not from norway. What does he use to work on the Kernel? Linux, no Debian he finds that it is too hard to install.