• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
[QUOTE=lavacano;47227255]I think "eval $(slop)" provides $X and $Y for you to use, so...[/QUOTE] I...this is...What the heck kind of design is [I]this[/I]? To have a [U]primary[/U] use case for [B]eval[/B], if I've been reading the README correctly? [I]Why?[/I] Why couldn't Nael have just: [code] $ slop # Output a sensible "table" of values that can be used without fscking `eval`. 200 100 640 480 $ [/CODE] [CODE] #!/bin/ksh a=($(slop)) # defines an area (a) array with X Y W H ffmpeg -f x11grab -s ${a[2]}x${a[3]} -i $DISPLAY+${a[0]},${a[1]} # Whatever this is supposed to do. I don't use `ffmpeg` maybe except once. [/CODE] [editline]e[/editline] Not trying to be rude about it, but why was that thought a "good idea"? [editline]e[/editline] Never mind. That -f flag in `slop` is new. But reading that README just gives me bad vibes about how it was designed.
[QUOTE=PredGD;47227033]been trying to get .webm recording via bash to work for a while now, but I'm not able to get it to work like I want it to. [code]#!/bin/bash _date=`date +%s` _file="/home/vlad/Videos/Recordings/$_date.webm" eval $(slop) ffmpeg -f x11grab -s "$W"x"$H" -i $DISPLAY -f alsa -i pulse "$_file" scp -P 12345 "$_file" root@81.4.110.159:/home/predme/public_html/videos echo http://pred.me/videos/$_date.webm | xclip -selection clipboard[/code] it works, halfway. it starts recording, but once I cancel the recording and let it upload, it'll get the resolution right but it'll only display a black square. it doesn't record sound either, only picks up my microphone. I'm not terribly used to ffmpeg, nor am I able to find any posts etc which could point me in the right direction. what needs to be changed in my ffmpeg line for this to work?[/QUOTE] A bug in chromium causes this, it's recording fine, try playing it in firefox. To fix it you'll have to reencode it by throwing it into ffmpeg again (ffmpeg -i output.webm output2.webm). Or alternatively you can complain to chromium for fucking up webm playback again. Or alternatively (which i'm currently doing) you can use recordmydesktop as a cli. It works nicely. Let me show you how I scripted it. [editline]asdf[/editline] [url=https://gist.github.com/naelstrof/6530959]Here's the script[/url]. It basically sets up recordmydesktop to record an area, which is also capable of recording specific windows (haven't tested it though). It has a special keystroke to stop recording which I activate using xdotool, then I use ffmpeg to convert it to webm after. This has resulted in higher framerates, keeps gnome from bugging out and having artifacts appear in the video, and doesn't make chromium wig out. [editline]27th February 2015[/editline] [QUOTE=Stonecycle;47228172]Not trying to be rude about it, but why was that thought a "good idea"?[/QUOTE] It isn't and never was. That's why -f exists. Eval is easier to understand for me, and isn't as obscure as bash arrays; that's why it's in the readme.
[QUOTE=Stonecycle;47228172]I...this is...What the heck kind of design is [I]this[/I]? To have a [U]primary[/U] use case for [B]eval[/B], if I've been reading the README correctly? [I]Why?[/I] Why couldn't Nael have just: [code] $ slop # Output a sensible "table" of values that can be used without fscking `eval`. 200 100 640 480 $ [/CODE] [CODE] #!/bin/ksh a=($(slop)) # defines an area (a) array with X Y W H ffmpeg -f x11grab -s ${a[2]}x${a[3]} -i $DISPLAY+${a[0]},${a[1]} # Whatever this is supposed to do. I don't use `ffmpeg` maybe except once. [/CODE] [editline]e[/editline] Not trying to be rude about it, but why was that thought a "good idea"? [editline]e[/editline] Never mind. That -f flag in `slop` is new. But reading that README just gives me bad vibes about how it was designed.[/QUOTE] i'm still not sure why only selecting the area is a good idea, personally, I think it should actually start the ffmpeg process on its own and get recording but i'm not nael's mom, so
How good and well supported are the Realtek RTL8169SC & RTL8111DL ethernet chipsets in Linux and *BSD? Got a Intel Atom mini-itx mobo with one of them, and a spare ethernet card with the other, and I've been considering setting up a firewall/router with it, since the routers on the market are either dumbed down in one way or another (even after throwing DD-wrt on it if supported) or hilariously expensive.
snip
I've recorded a small Virtualbox session of me installing the base Arch Linux system. It serves as a small, voiceless, soundless and annotationless video of only the installation process. Lots of info in the description as well: [media]http://www.youtube.com/watch?v=XrzEXtjUUpw[/media]
[QUOTE=supervoltage;47230764]I've recorded a small Virtualbox session of me installing the base Arch Linux system. It serves as a small, voiceless, soundless and annotationless video of only the installation process. Lots of info in the description as well: [media]http://www.youtube.com/watch?v=XrzEXtjUUpw[/media][/QUOTE] The video is private.
Whoops, meant to click Unlisted. Please try again
Going to do a dual boot of Windows 7 Home Premium and Xubuntu on my netbook. I am stuck as to how to partition this, any recommendations?
[QUOTE=ThePunisher1;47231475]Going to do a dual boot of Windows 7 Home Premium and Xubuntu on my netbook. I am stuck as to how to partition this, any recommendations?[/QUOTE] If you're just gonna try out Xubuntu, then give Xubuntu around 20GB and a swap partition that's slightly larger than the computer's amount of RAM. Though I managed to make a fully fledged office and internet fun install (IM clients, browsers, handful tools and such) of Xubuntu on a 16GB USB drive with some spare space, but that's without swap.
[QUOTE=Van-man;47231503]If you're just gonna try out Xubuntu, then give Xubuntu around 20GB and a swap partition that's slightly larger than the computer's amount of RAM. Though I managed to make a fully fledged office and internet fun install (IM clients, browsers, handful tools and such) of Xubuntu on a 16GB USB drive with some spare space, but that's without swap.[/QUOTE] How do the OS's interact with each others partitions? Could I do a seperate partition for installing steam that can be accessed by both OS? For storing documents etc?
[QUOTE=ThePunisher1;47231610]How do the OS's interact with each others partitions? Could I do a seperate partition for installing steam that can be accessed by both OS? For storing documents etc?[/QUOTE] Linux can read & write NTFS partitions safely, as long as windows isn't hibernating. But I don't think Windows Steam and Linux Steam can share game install folder, but someone correct me if I'm wrong.
fuck grive
[QUOTE=JerryK;47232644]fuck grive[/QUOTE] what did it do
i've moved on with my life ocamlfuse 10/10
[QUOTE=Van-man;47229871]How good and well supported are the Realtek RTL8169SC & RTL8111DL ethernet chipsets in Linux and *BSD? Got a Intel Atom mini-itx mobo with one of them, and a spare ethernet card with the other, and I've been considering setting up a firewall/router with it, since the routers on the market are either dumbed down in one way or another (even after throwing DD-wrt on it if supported) or hilariously expensive.[/QUOTE] What features are you missing regarding configuration of a firewall or router system? I'm guessing that based on it being a Realtek ethernet, it'll be pretty well supported out of the box with zero configuration at all, but I haven't ever used one. Looking up the RTL8169SC chipset on wikidevi reveals that it is indeed supported in kernel as rt8169 with no issues.
My ram fucked up. Any ideas? [IMG]https://i.imgur.com/pm0A4OL.png[/IMG]
[QUOTE=T Unit959;47235247]My ram fucked up. Any ideas? [IMG]https://i.imgur.com/pm0A4OL.png[/IMG][/QUOTE] Use archey3 instead
[QUOTE=Sivics;47235261]Use archey3 instead[/QUOTE] Sweet thanks. Works just fine.
[QUOTE=JerryK;47232999]i've moved on with my life ocamlfuse 10/10[/QUOTE] Is it actually reliable? Because waiting 20 minutes for grive to sync on my laptop is painful.
i need more usage with it before i can really say i was just being dumb with the 10/10 thing
anyone here familiar with qemu and KVM? I've been trying to get Win8 working in this, and it works, but I'm having issues with the VirtIO drivers. it'll bluescreen if I start the VM's disk in VirtIO mode. my line for installing drivers [code]qemu-system-x86_64 -m 2G -enable-kvm -vga qxl -spice port=5930,disable-ticketing -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice0 -chardev spicevmc,id=spicechannel0,name=vdagent -drive file=Win8,if=ide,cache=none -drive file=fake.qcow2,if=virtio -net nic,model=virtio -usbdevice tablet -cdrom virtio-win-0.1-100.iso -cpu host -smp 2[/code] this works, obviously. running the drive in ide mode works and I've made sure there are no missing drivers in the device manager using the VirtIO driver iso in the cdrom. broken line [code]qemu-system-x86_64 -m 2G -enable-kvm -vga qxl -spice port=5930,disable-ticketing -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice0 -chardev spicevmc,id=spicechannel0,name=vdagent -drive file=Win8,if=virtio,cache=none -net nic,model=virtio -usbdevice tablet -cpu host -smp 2 [/code] this'll bluescreen on boot. all that's changed is the drive running in VirtIO mode, which drivers I've installed. the guest OS is running 8.1 [editline]1st March 2015[/editline] [QUOTE=PredGD;47185654]was finally able to get my Arch installation up and running, ended up tethering my phones connection to the internet to my PC. still doesn't work in my newly set up environment to use my ethernet so have to do this dirty fix for now[/QUOTE] update on this, it now seems to work everytime! after flashing Tomato Shibby on my RT-N66U, it's able to get a DHCP lease everytime I launch dhcpcd.
[QUOTE=PredGD;47237675]anyone here familiar with qemu and KVM? I've been trying to get Win8 working in this, and it works, but I'm having issues with the VirtIO drivers. it'll bluescreen if I start the VM's disk in VirtIO mode. [/QUOTE] [url]https://bbs.archlinux.org/viewtopic.php?id=162768[/url] Check this out if you dont already know about it.
[QUOTE=formatme;47238909][url]https://bbs.archlinux.org/viewtopic.php?id=162768[/url] Check this out if you dont already know about it.[/QUOTE] I previously used this thread to get my GTX 560 Ti passed through with success though this was before Nvidia starting giving code 43 under KVM.
[QUOTE=formatme;47238909][url]https://bbs.archlinux.org/viewtopic.php?id=162768[/url] Check this out if you dont already know about it.[/QUOTE] is that related to my current problem though? I'm trying to get VirtIO drivers to work, not passthrough my GPU. wish I could do this but I don't have a VT-d capable CPU
I know this will seem like a really silly question, but what does it actually mean to be "proficient" in Linux? Or a better way of phrasing it, if someone wanted to learn Linux and become someone with a thorough working knowledge of it, where do you start? For me I've never had any use for Linux personally, beyond just installing a distro, playing with the package manager and maybe messing with a few terminal commands and configuration files, so it's hard to do the "learn it by using it" way that I've done through OSX and Windows. I'm interested in Linux and how it all works but I don't really know where to go beyond just basic operation, because that's all I really need from it.
[QUOTE=srobins;47241153]I know this will seem like a really silly question, but what does it actually mean to be "proficient" in Linux? Or a better way of phrasing it, if someone wanted to learn Linux and become someone with a thorough working knowledge of it, where do you start? For me I've never had any use for Linux personally, beyond just installing a distro, playing with the package manager and maybe messing with a few terminal commands and configuration files, so it's hard to do the "learn it by using it" way that I've done through OSX and Windows. I'm interested in Linux and how it all works but I don't really know where to go beyond just basic operation, because that's all I really need from it.[/QUOTE] Start installing servers and services that are not your usual apache installation. For instance, I believew setting up a mail server can take a bit of time. It took me 3-4 weeks anyway. Although I just forgot to remove some quotation marks.
[QUOTE=srobins;47241153]I know this will seem like a really silly question, but what does it actually mean to be "proficient" in Linux? Or a better way of phrasing it, if someone wanted to learn Linux and become someone with a thorough working knowledge of it, where do you start? For me I've never had any use for Linux personally, beyond just installing a distro, playing with the package manager and maybe messing with a few terminal commands and configuration files, so it's hard to do the "learn it by using it" way that I've done through OSX and Windows. I'm interested in Linux and how it all works but I don't really know where to go beyond just basic operation, because that's all I really need from it.[/QUOTE] Thing that always helped me the most is ubuntu server. There's stupid amounts of guides out there for anything imaginable, and really gives you some hands-on experience.
[QUOTE=srobins;47241153]I know this will seem like a really silly question, but what does it actually mean to be "proficient" in Linux? Or a better way of phrasing it, if someone wanted to learn Linux and become someone with a thorough working knowledge of it, where do you start? For me I've never had any use for Linux personally, beyond just installing a distro, playing with the package manager and maybe messing with a few terminal commands and configuration files, so it's hard to do the "learn it by using it" way that I've done through OSX and Windows. I'm interested in Linux and how it all works but I don't really know where to go beyond just basic operation, because that's all I really need from it.[/QUOTE] Read a book. Get certified. Take a course. [URL=http://www.amazon.com/gp/aw/d/1593275676?vs=1]How Linux Works[/URL] is a good start, for thoroughness [editline]2nd March 2015[/editline] You can spend years learning about services that sit atop Linux, but that's not Linux. Start from the most basic layer, and work up.
I'm going to install Linux again, probably going to be Arch again (though I have never tried Fedora). I was using i3 previously however I did find it annoying that a lot of applications made no concessions for tiling window managed. I'm considering using OpenBox as it's lightweight and the config can be easily transferred, any better ideas? Maybe XFCE 4.12?
Sorry, you need to Log In to post a reply to this thread.