• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, August 28, 2018

    Linux Emacs vs Vim

    Linux Emacs vs Vim


    Emacs vs Vim

    Posted: 28 Aug 2018 12:15 PM PDT

    I have been using Linux for just over a month and have decided it's time I learned a serious text editor. I installed Micro which is easy but very simple. So as far as I can see, Emacs is extremely multifunctional while I haven't seen any actual advantages for Vim(I'm sure there are many). Would somebody be so kind to point out cons about each one?

    Enlighten me!

    submitted by /u/ImANintendoSwitch
    [link] [comments]

    Dropbox To End Sync Support For All Filesystems Except Ext4 on Linux | It's FOSS

    Posted: 28 Aug 2018 02:56 AM PDT

    Can we have a COMMUNITY ICON for this subreddit, please?

    Posted: 28 Aug 2018 06:18 AM PDT

    Well... if you see the following screen shot, almost all the communities in the dropdown menu has the default community icon (I believe, this happens not only to me but to the other redditors as well), which makes it difficult to identify this subreddit from the others. Can we have a community icon for this subreddit to make it stand out from the other subreddits?

    https://i.redd.it/pkof677ueti11.png

    submitted by /u/maqtanim
    [link] [comments]

    Wi-Fi signal weak/non existent after latest upgrade

    Posted: 28 Aug 2018 01:46 PM PDT

    Hello!

    I'm using linux mint 19 xfce on HP notebook model-an062sa with Realtek radio mode RTL8723BE.

    It had weak signal after I installed linux on it a while back but managed to fix it using a simple guide.

    Now however, it seemed to have gone non-existent. This happened after the last update I did through the update manager.

    Can anyone give me some guidance on this please? It is my work laptop and I need it to function...

    Thank you so much in advance!

    submitted by /u/man_from_earth_
    [link] [comments]

    [Question] I'm using a VPS with ubuntu, and I have a monthly bandwidth limit. My provider says if I exceed the limit I'll automatically be charged for the next tier. How can I limit my monthly data usage so I don't run into any trouble?

    Posted: 28 Aug 2018 02:23 PM PDT

    How do I manually 'install' an executable into a $PATH directory if it depends on other files in the old directory?

    Posted: 28 Aug 2018 10:44 AM PDT

    So, I've compiled a program, but the makefile has no install commands. I'm trying to do this manually in the correct Unix way. I've tried

    install -D /opt/mydir/myprogam /usr/local/bin/ 

    and also

    ln -s /opt/mydir/myprogram /usr/local/bin/ 

    Both allow me to run the program, but it fails because it can't find the resource files in it's original directory.

    What's the proper way to do this? The only answer I could find suggested making the executable in /usr/local/bin into a short script that jumps to original directory and just runs it from there.

    I understand that I could move the entire directory into a $PATH directory, but is that the proper way?

    submitted by /u/PlaneWall
    [link] [comments]

    State of Nvidia Drivers on Linux

    Posted: 28 Aug 2018 12:59 AM PDT

    I wanted to install Linux on my new Laptop with a gtx 1060 and was wondering about the state of Nvidia Drivers on Linux. I read constantly about the open source drivers being a pain in many instances but also the proprietary drivers having problems like hardware acceleration not working properly on KDE. I just want to know what to expect

    submitted by /u/MrD7
    [link] [comments]

    Fresh install of Linux Mint 19 Cinnamon has broken packages out of the box

    Posted: 28 Aug 2018 10:41 AM PDT

    X370 board capable of Linux?

    Posted: 28 Aug 2018 07:49 AM PDT

    I've tried to install Debian based distros with zero success. This week I've been trying to get opensuse running with some success. After setting acpi off it would install but after rebooting it wouldn't boot back up stating kernel panic. I'm not capable of understanding errors or troubleshooting beyond basic stuff. I've looked around and I'm wondering if it's a hardware limitation. I'm using a MSI X370 board with a Ryzen 5 2400G. Is it possible to run Linux on these? Very fed up with Windows.

    submitted by /u/Darkieth
    [link] [comments]

    Installing Battle.net and it's games on ubuntu is proving difficult.

    Posted: 28 Aug 2018 07:00 AM PDT

    I tried using Lutris to install Battle.net, and WoW. I have WINE installed, and further installed all the dependencies described on their site. The original error I occurred was that "Agent went to sleep, Attempting to wake it up" error. I tried deleting the folders in ProgramFiles to no extra success. My next step was to attempt to install wine-staged.

    The wine-staged website no longer contains any installation instructions or links. I found some terminal commands from a 3rd party website, but the repository could not be built to download the libraries.

    Through lutris I changed the WINE 'runner' to staging-3.14 and to esync-3.14 (Already selected), and that broke the installation process for Battle.net. It now freezes on installation, with no chance of getting it to work.

    Anyone got any suggestions or workarounds to these problems?

    submitted by /u/crazyad
    [link] [comments]

    Trying to mix some mp3 files on CentOS, need help.

    Posted: 28 Aug 2018 11:54 AM PDT

    Hi,

    I am trying to merge multiple mp3 files on top of each other on a CentOS 7 server.

    I am trying with ffmpeg but I have mixed results. When mixing 4 files, the last one for example does not mix with the others and is not audible in the final output.

    If I mix this file with another one or two(so max 3 files merged), it works.

    Is there a limit when merging ? For reference, each file is about 10mb is size and 5:00 minutes long.

    This is the command I am using

    ffmpeg -i /var/www/vhosts/site/httpdocs/uploads/tracks/1.mp3 -i /var/www/vhosts/site/httpdocs/uploads/tracks/2.mp3 -i /var/www/vhosts/site/httpdocs/uploads/tracks/3.mp3 -i /var/www/vhosts/site/httpdocs/uploads/tracks/4.mp3 -filter_complex amerge -ac 2 -c:a libmp3lame -q:a 4 /var/www/vhosts/site/httpdocs/uploads/mix.mp3 

    The output after merging is this:

    ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 [mp3 @ 0x1c8ba60] Skipping 0 bytes of junk at 1044. Input #0, mp3, from '/var/www/vhosts/site/httpdocs/uploads/tracks/1.mp3': Duration: 00:05:44.08, start: 0.025057, bitrate: 320 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s Metadata: encoder : LAME3.98r Side data: replaygain: track gain - 6.000000, track peak - unknown, album gain - unknown, album peak - unknown, [mp3 @ 0x1c8eac0] Skipping 0 bytes of junk at 2446. [mp3 @ 0x1c8eac0] Estimating duration from bitrate, this may be inaccurate Input #1, mp3, from '/var/www/vhosts/site/httpdocs/uploads/tracks/2.mp3': Metadata: genre : Other Duration: 00:05:44.19, start: 0.000000, bitrate: 320 kb/s Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s [mp3 @ 0x1c9d640] Skipping 0 bytes of junk at 1044. Input #2, mp3, from '/var/www/vhosts/site/httpdocs/uploads/tracks/3.mp3': Duration: 00:05:44.08, start: 0.025057, bitrate: 320 kb/s Stream #2:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s Metadata: encoder : LAME3.98r Side data: replaygain: track gain - 3.400000, track peak - unknown, album gain - unknown, album peak - unknown, [mp3 @ 0x1cc2b80] Skipping 0 bytes of junk at 1044. Input #3, mp3, from '/var/www/vhosts/site/httpdocs/uploads/tracks/4.mp3': Duration: 00:05:44.08, start: 0.025057, bitrate: 320 kb/s Stream #3:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s Metadata: encoder : LAME3.98r Side data: replaygain: track gain - 12.100000, track peak - unknown, album gain - unknown, album peak - unknown, [Parsed_amerge_0 @ 0x1cc34e0] No channel layout for input 1 [Parsed_amerge_0 @ 0x1cc34e0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels Output #0, mp3, to '/var/www/vhosts/site/httpdocs/uploads/mix.mp3': Metadata: TSSE : Lavf56.40.101 Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p (default) Metadata: encoder : Lavc56.60.100 libmp3lame Stream mapping: Stream #0:0 (mp3) -> amerge:in0 Stream #1:0 (mp3) -> amerge:in1 amerge -> Stream #0:0 (libmp3lame) Press [q] to stop, [?] for help size= 2360kB time=00:05:44.03 bitrate= 56.2kbits/s video:0kB audio:2360kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.010468% 

    Is there a way to solve this, or at least to know what the issue is ?

    Also, some people recommended sox, but I can't figure how to install it on CentOS. ( If someone will provide a good tutorial/instructions it will also be great )

    Any other alternatives will also help.

    Thank you.

    submitted by /u/toateslafel
    [link] [comments]

    How can I best examine partitioning, LVM and file systems on a drive? I want to see the exact contents of a drive after I've played with it for a while, not with high-level tools.

    Posted: 28 Aug 2018 11:47 AM PDT

    Which commands would be most useful to actually see the partition table, headers, PVs, VGs, LVs, and file systems on a drive? I don't want to use high level tools (fdisk, pvdisplay, etc.). I want to see the actual formatting of a drive.

    I imagine some of this will be easier to read as text, while other parts will be binary? Am I wrong? I'll use a USB flash drive first, but I'll later want to repeat the experiment with an HDD or an SSD.

    I want to do this, because I want to learn best what's going on under the hood. There are a lot of illustrations on how a drive is formatted, but I feel like seeing it first hand will definitely help me more.

    Edit: I would also like to be able to make changes to the drive without the high level tools. This will probably be a long and hard process, but it seems like a fun idea.

    So basically I'm looking for tools that will let me read and modify the contents of a drive byte by byte easily.

    submitted by /u/Beautiful_Raspberry
    [link] [comments]

    Dual Boot With Windows 10 And Linux Manjaro Gnome.

    Posted: 28 Aug 2018 09:32 AM PDT

    I've tried finding tutorials on YouTube but none of them are clear about what they are doing or why. If anyone knows how to do this please tell me.

    submitted by /u/miles_the_panda
    [link] [comments]

    Dead HD I’m putting to use xD

    Posted: 28 Aug 2018 03:01 PM PDT

    Kubuntu 18.04 on my Failed HD, I need to run C++ and C code. But I don't know how to install them in GCC from the terminal. Is there a method, or a program I can use? Thanks!

    submitted by /u/Kitten622
    [link] [comments]

    Running Fortnite on Ubuntu?

    Posted: 28 Aug 2018 02:44 PM PDT

    I personally don't play Fortnite, but my brother does. He used my computer for a while and then started playing it on the Nintendo Switch. However, for reasons unknown, some of his V-Bucks are only usable on my computer.

    I want to switch from Windows 10 to Ubuntu, but I don't want him to lose his V-Bucks, so I was wondering: is there a way to run at least the main menu and shop on Ubuntu? That way, he could still use them, and I would get to use Linux.

    Ninja edit: I've seen that the game itself doesn't work because the anti-cheat system doesn't work with Wine, but I'm not sure if it also applies to the menus.

    submitted by /u/santumerino
    [link] [comments]

    Why won't my systemd-service run but the script that does the same runs without any issues?

    Posted: 28 Aug 2018 02:27 PM PDT

    Help! Cannot boot to Windows after installing Ubuntu 18.04 alongside Windows 10.

    Posted: 28 Aug 2018 02:09 PM PDT

    I was attempting to set up dual boot for Windows 10 and Ubuntu 18.04. I followed this tutorial:https://www.youtube.com/watch?v=qNeJvujdB-0.

    I cannot find the Windows Boot Loader in my laptop's BIOS or grub menu. Doing fdisk -l in the terminal gives this. I have no idea how to boot up windows. Does anybody have an idea on how to fix this?

    Also, my laptop is an Acer Aspire E574-N15Q1 if that is any help.

    submitted by /u/farazsfh
    [link] [comments]

    CCTV

    Posted: 28 Aug 2018 10:23 AM PDT

    Hello.

    I have a unique problem. Someone keeps driving by my window beeping a horn at 5am.

    Ive decided to set up cctv via a webcam connected to my laptop and point it outside my window.

    I'm looking for recommendations for webcam software that will automatically record video on a schedule at a high fps rate so I can capture the plates of a moving vehicle.

    Recording audio as well would be great so I have evidence of the beep.

    Tia

    submitted by /u/klain42
    [link] [comments]

    Disable display sleep Openbox/Xorg

    Posted: 28 Aug 2018 10:18 AM PDT

    I'm setting up a digital calendar with Ubuntu 18.04 and Openbox. I've mostly followed this guide.

    I can't work out how to prevent the display from going to sleep. So far I've played with xset and checked that there isn't a BIOS setting. I'm not sure what else to look at.

    This is the script I'm using to start Openbox and open Firefox:

    #!/bin/bash openbox-session & # Hopefully disable screensaver #xset s 0 0 xset s off # Hopefully disable display sleep #xset -dpms #xset dpms 0 0 0 #xset dpms force off xset dpms off # Rotate display xrandr -o left while true ; do killall firefox firefox "https://www.icloud.com/#calendar" done 
    submitted by /u/DIWesser
    [link] [comments]

    Bash Plugin Editing Help

    Posted: 28 Aug 2018 02:01 PM PDT

    I am using bash insults (see here: https://github.com/hkbakke/bash-insulter) on zsh. I am in love with it as it makes me laugh. Now I am curious, it doesn't show everytime I enter a wrong command. How can I make it so everytime I enter a wrong command it shows? Also, I am having a side issue. I use URxvt and this doesn't show unless I am in a tmux session. Is there a way to fix that? Thank you all so much for all the help y'all give to everyone. Have a mice day :D

    submitted by /u/FOSSilized_Daemon
    [link] [comments]

    Work computer crashes when running our sbt project

    Posted: 28 Aug 2018 10:14 AM PDT

    So my laptop crashes a few times a day, and I'd really like to figure out why. When I run our sbt task to start the app it will lock up with it compiles (due to loading the page in the browser).

    Here is the syslog output when it crashes:

    myuser@hansolo ~/work/project $ tail -50f /var/log/syslog | grep -v "Discord" Aug 28 13:10:35 hansolo kernel: [88463.208547] kauditd_printk_skb: 59 callbacks suppressed Aug 28 13:10:40 hansolo kernel: [88468.214062] kauditd_printk_skb: 60 callbacks suppressed Aug 28 13:10:45 hansolo kernel: [88473.218227] kauditd_printk_skb: 60 callbacks suppressed Aug 28 13:10:45 hansolo kernel: [88473.220929] audit: audit_backlog=65 > audit_backlog_limit=64 Aug 28 13:10:45 hansolo kernel: [88473.220931] audit: audit_lost=22 audit_rate_limit=0 audit_backlog_limit=64 Aug 28 13:10:45 hansolo kernel: [88473.220932] audit: backlog limit exceeded Aug 28 13:10:45 hansolo kernel: [88473.220956] audit: audit_backlog=65 > audit_backlog_limit=64 Aug 28 13:10:45 hansolo kernel: [88473.220957] audit: audit_lost=23 audit_rate_limit=0 audit_backlog_limit=64 Aug 28 13:10:45 hansolo kernel: [88473.220957] audit: backlog limit exceeded Aug 28 13:10:45 hansolo kernel: [88473.220978] audit: audit_backlog=65 > audit_backlog_limit=64 Aug 28 13:10:45 hansolo kernel: [88473.220979] audit: audit_lost=24 audit_rate_limit=0 audit_backlog_limit=64 Aug 28 13:10:45 hansolo kernel: [88473.220979] audit: backlog limit exceeded Aug 28 13:10:55 hansolo kernel: [88483.218365] kauditd_printk_skb: 137 callbacks suppressed Aug 28 13:11:00 hansolo kernel: [88488.221633] kauditd_printk_skb: 59 callbacks suppressed Aug 28 13:11:00 hansolo kernel: [88488.224486] audit: audit_backlog=65 > audit_backlog_limit=64 Aug 28 13:11:00 hansolo kernel: [88488.224488] audit: audit_lost=26 audit_rate_limit=0 audit_backlog_limit=64 Aug 28 13:11:00 hansolo kernel: [88488.224490] audit: backlog limit exceeded Aug 28 13:11:00 hansolo kernel: [88488.224523] audit: audit_backlog=65 > audit_backlog_limit=64 Aug 28 13:11:00 hansolo kernel: [88488.224524] audit: audit_lost=27 audit_rate_limit=0 audit_backlog_limit=64 Aug 28 13:11:00 hansolo kernel: [88488.224525] audit: backlog limit exceeded Aug 28 13:11:00 hansolo kernel: [88488.224749] audit: audit_backlog=65 > audit_backlog_limit=64 Aug 28 13:11:00 hansolo kernel: [88488.224750] audit: audit_lost=28 audit_rate_limit=0 audit_backlog_limit=64 Aug 28 13:11:00 hansolo kernel: [88488.224750] audit: backlog limit exceeded Aug 28 13:11:00 hansolo nm-applet[1214]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed Aug 28 13:11:00 hansolo nm-applet[1214]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed Aug 28 13:11:00 hansolo nm-applet[1214]: Can't set a parent on widget which has a parent Aug 28 13:11:00 hansolo nm-applet[1214]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed Aug 28 13:11:00 hansolo nm-applet[1214]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed Aug 28 13:11:00 hansolo nm-applet[1214]: Can't set a parent on widget which has a parent Aug 28 13:11:05 hansolo kernel: [88493.224631] kauditd_printk_skb: 74 callbacks suppressed Aug 28 13:11:10 hansolo kernel: [88498.229430] kauditd_printk_skb: 62 callbacks suppressed Aug 28 13:11:15 hansolo kernel: [88503.232141] kauditd_printk_skb: 62 callbacks suppressed Aug 28 13:11:17 hansolo /usr/lib/gdm3/gdm-x-session[1024]: [5042:5042:0828/131117.779047:ERROR:media_internals.cc(103)] Cannot get RenderProcessHost Aug 28 13:11:20 hansolo kernel: [88508.238321] kauditd_printk_skb: 62 callbacks suppressed Aug 28 13:11:25 hansolo kernel: [88513.240627] kauditd_printk_skb: 63 callbacks suppressed 
    submitted by /u/profesh_2_death
    [link] [comments]

    How to Exclude .git or Any Filename From scp

    Posted: 28 Aug 2018 09:50 AM PDT

    Accent Aigu in bash?

    Posted: 28 Aug 2018 12:23 PM PDT

    Just wondering, posting in this sub because I'm afraid it's probably a stupid question - I've known for a long time that accent grave xyz is interchangeable with and shorter than $(xyz) for nested commands, but what about the other accent? Next to §, which I think is not in all countries' keyboards, ´ is just about the only non-localized character I can't associate any meaning with in a Linux/Bash context. Does it do anything?

    submitted by /u/blablubblba90008
    [link] [comments]

    Can't remove lxqt

    Posted: 28 Aug 2018 04:20 AM PDT

    I installed lxqt, didn't like it and tried to remove it. I ran apt-get remove lxqt and package lxqt is no longer installed but I can still log into lxqt DE. when I try sudo apt-get remove --auto-remove it says that lxqt isn't installed and then offers to remove all other packages I have installed.

    submitted by /u/oracleguy99
    [link] [comments]

    Horrible lag with Ubuntu 18.04 LTS but not Ubuntu 16.04 LTS

    Posted: 28 Aug 2018 07:38 AM PDT

    Hey there, friends.

    To begin, I'm using an HP laptop with an AMD A4-3305M APU processor, Radeon HD 68**M Graphics, 2GB of RAM and an old SSD I had laying around.

    A while back, I wrote a post about not being able to play videos in VLC without stutter in Xubuntu. The responses I received, and some other problems I had, lead me to believe it was a graphics card problem. In the meantime, I tried a bunch of fixes and even tried Ubuntu (18.04 LTS) to see if it was a problem with the distro.

    Turns out the stutter and lag were even more pronounced with Ubuntu, to the point that opening the terminal was extremely hard!

    A couple days ago I found an old USB drive with UBuntu (16.04 LTS) with persistence that I forgot about. Having nothing to lose, I tried it on my PC and lo and behold, the problems were gone. VLC was fine, web surfing was smooth, and I was even able to run some old Windows games at full speed with WINE straight out of the box.

    This makes me question if there's a compatibility problem with the new versions of Ubuntu, or if it's something I didn't configure correctly.

    I also feel the need to share a message that was displayed every time I booted up:"No IRQ handler for vector". Not sure if that has anything to do with this problem.

    This is not an urgent problem, by any means, I'm quite happy with the older versions of Ubuntu as I'm more familiarized with them. It's just something I thought I should share, maybe someone else is having the same problem.

    In any case, I appreciate all the help and support this sub has given me so far!

    submitted by /u/Bic10mm
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel