• Breaking News

    [Android][timeline][#f39c12]

    Saturday, August 31, 2019

    Linux A collection of funny bash scripts

    Linux A collection of funny bash scripts


    A collection of funny bash scripts

    Posted: 31 Aug 2019 03:08 AM PDT

    Hi

    I made this project to encourage you guys to learn bash scripting or show you can what to do with that.

    Please take a look at that and feel free to share your ideas and report issues.

    https://github.com/Naategh/Funny-Scripts

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

    BIOS recognizing all 16 gb of RAM but Debian 10 only seeing 8?

    Posted: 31 Aug 2019 08:04 AM PDT

    Ryzen 5 2600
    Asrock B450 pro4
    gskill 16gb ram (only 8 being recognized)
    cat /proc/meminfo & neofetch only shows 8 gigs

    Any ideas?

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

    getting better quality out of PulseAudio?

    Posted: 30 Aug 2019 07:57 PM PDT

    hello, all! i'm kind of an audiophile and i'm used to the realtek quality that windows used to give me.

    the only pulse configs i've changed is tsched=0 to make sure Discord would stop hurting my ears during calls.

    i've been thinking of following this guide but i have no clue if it's good advice or not.

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

    Is there any way to get Bang & Olufsen drivers on pop os?

    Posted: 31 Aug 2019 01:56 PM PDT

    So I finally got pop os on my hp envy 13 and I've got it mostly set up but I realized that only the 2 bottom facing speakers work, not the ones that say Bang & Olufsen that fire upwards. So is there any way to get them to work?

    Oh also, is there any way for me to get my fingerprint scanner to work on there?

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

    I want to print XPS files from Linux with CUPS - is this possible?

    Posted: 31 Aug 2019 01:55 PM PDT

    I have a specialist printer with drivers only for windows which uses the XPS drivers. There are no linux solutions provided by the manufacturer.

    Is it possible to print from Linux somehow?

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

    Gulsterfs how to expand - no bricks

    Posted: 31 Aug 2019 01:40 PM PDT

    hello, i have a two node cluster with glusterfs.

    i want to expand the volume but i dont want to add a new brick ( new node)

    devices/partitions (dev/sdb1) are without LVM on both nodes.

    What is the best way to expand the glusterfs volume?

    online i can only find where i need to add a new brick (new host).

    I am new to glusterfs and purpose of this is only learning. thanks

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

    Linux for a laptop - complete noob

    Posted: 31 Aug 2019 01:09 PM PDT

    Microsoft has screwed me over again. I may not be able to do my work without MS Word (though I am trying out LibreOffice now), but I at least want to dual boot a laptop with some Linux os. Ideas? I may try to make the other laptop exclusively Linux something. I have read that most Linux distros are more private than Windows10 (I am pretty sure one of my security programs viewed it as spyware--accurately, I think--and screwed up a laptop), which is a rather low bar. I am attracted to Solus, or Mint Cinnamon, but I know too little. Ready to stop yelling F U at machines for a while.

    I thought this might be a good place for recommendations. Thanks for any ideas.

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

    automatic unrar and cleanup script for Synology

    Posted: 31 Aug 2019 01:01 PM PDT

    Hi all!

    I've been playing around with Synology unrar capabilities and came across this small script.

    #!/bin/sh if [ x"$1" == x"" ]; then echo "usage: $0 /dir_with_rars" exit 1 fi find "$1" -name "*.rar" | while read fff do mydir=`dirname "$fff"` unrar x "$fff" "$mydir" done 

    now I am trying to figure out

    1. How I can apply --clean=all
      in this script so the rar files would be automatically deleted
    2. How I can "monitor" the dir that it automatically checks every 5 minutes if there is a rar in the dir to extract

    All help would be appreciated!

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

    Is it possible to encrypt arch installation after the install process?

    Posted: 31 Aug 2019 12:21 PM PDT

    Hi,

    I live in a country where there's a potential for my computer to be confiscated for my activity, and I have a lot of stuff there that I would rather not have anyone have access.

    I know that disk encryption is usually done during the installation process, but I didn't do it while installing arch. What are my possibilities for encryption after the fact? And how secure are those methods?

    thanks in advance

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

    I am trying to install linux Solus Gnome as my second OS to dual boot with windows 10. But cant get to install

    Posted: 31 Aug 2019 12:15 PM PDT

    I cant get to installing the OS, i have made the USB with rufus and everything like the manual says but cant get it to work and i dont know why.

    I tried googling but i cant find the solution, some people says that if you Control Shift F1 brings up the terminal but doesnt for me for some reason that i dont get

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

    What is the equivalent to control alt delete for linux??

    Posted: 30 Aug 2019 12:28 PM PDT

    Need help

    Posted: 31 Aug 2019 11:41 AM PDT

    I have an old PC with the infamous 671MX SiS graphics, and I can't use a resolution higher of 640x480@73hz on Kubuntu and Lubuntu. Can someone help me out, or give me a tip about a Linux distro that support this GPU...thanks everybody!

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

    Can I have two monitors with different sizes, different resolutions and different refresh rates on i3-gaps?

    Posted: 31 Aug 2019 11:17 AM PDT

    Hi,

    I currently have a 24 inch 75 hz 1080p monitor. If I get a second one, which will be 27 inch 1440p 120 hz, will it be possible to have them work together? What are some potential problems I can encounter? Does anyone have any experience with a similar setup?

    thanks in advance

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

    i3+polybar question regarding app menu

    Posted: 31 Aug 2019 11:13 AM PDT

    Is there anyway to implement a dropdown application menu like whisker. I know i3 uses dmenu by default but rofi/dmenu are only good if you remember the application name but it doesn't really work well for apps you rarely use and cant recall the name off the top of your head or you have to manually go through the entire run/drun menu.

    alternatively, anyway to organize drun into category "folders"?

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

    How can I lower monitor refresh rate on i3 wm?

    Posted: 31 Aug 2019 11:09 AM PDT

    Hi,

    For some specific testing purposes I need to lower my monitor refresh rate from 100 down to 75 Hz. Is this possible to do on x.org? What would be the steps to do this on i3-gaps? (i3 user guide doesn't really mention refresh rate anywhere ...)

    thanks in advance

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

    A large list of issues I've been having with Manjaro KDE, help?

    Posted: 31 Aug 2019 10:41 AM PDT

    • Icons keep resetting every restart

    • Nextcloud logs me out and I need to keep logging into KDE Wallet

    • Startup application settings get reset.

    • Color schemes won't change when I change them in system settings.

    • Can't ever seem to mount my OnePlus 6, always gives me an error even though I have file transfer turned on (it worked in XFCE).

    • Unreadable text in menus, dark theme + dark text. I can't change the text color since I can't even change the scheme.

    My original install was Manjaro XFCE, I installed the Plasma desktop over it and after several reinstalls it still has the same nagging bugs. I don't want to reinstall my entire OS just using the KDE Manjaro ISO since I have files, apps, etc. on here I want to keep.

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

    I just installed Lubuntu on a 2012 Acer One subnotebook worth $30.

    Posted: 30 Aug 2019 09:40 PM PDT

    It worked. It even found the Atheros wifi drivers. Everything just works. It's a little slow, but not unbearably slow. I plan on working in the terminal as much as possible.

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

    Is there any way to create script, that will click something on the screen and paste value from variable gui?

    Posted: 31 Aug 2019 10:37 AM PDT

    Hi, I'm using app called cryptomator very often (for encrypting folders). I want to automate decrypting of my folders with a script, that will ask me for all of the passwords and decrypt folders pasting passwords from variables. The problem is, that cryptomator doesn't have any serious cli interface. The one is here, but it is not supporting FUSE type of folders, and this is the only way I'm encrypting my folders. My question is, is there any solution that will paste something to gui and click on button?

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

    Broken ethernet on RTL8102e

    Posted: 31 Aug 2019 10:37 AM PDT

    I'm using an HP-G62 laptop, and about a year ago an update broke ethernet, and I'm just getting around to fixing it. nm-applet shows the ethernet network as "disconnected." I'm running Xubuntu 19.04, kernel 5.0.0-25-generic. When I load kernel 4.9, ethernet works as expected.

    Output of dmesg | grep eth0

    [ 1.515665] r8169 0000:03:00.0 eth0: RTL8102e, 60:eb:69:30:af:ab, XID 24e, IRQ 25

    [ 1.536970] r8169 0000:03:00.0 enp3s0: renamed from eth0

    Output of dmesg | grep enp3s0

    [ 1.536970] r8169 0000:03:00.0 enp3s0: renamed from eth0

    [ 8.039889] r8169 0000:03:00.0 enp3s0: Link is Down

    [ 263.029153] r8169 0000:03:00.0 enp3s0: Link is Down

    Output of inxi --network

    Network:

    Device-1: Realtek RTL8191SEvA Wireless LAN driver: rtl8192se

    Device-2: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169

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

    "Cannot find your kernels" error when trying to download OpenSuse network image and checksums?

    Posted: 31 Aug 2019 03:21 AM PDT

    I get directed to a "sorry, we cannot find your kernels" page when I click the network image or checksum link to download off of OpenSuse's download page for TumbleWeed

    Was able to download the .iso off a mirror link but still unable to get the SHA256 checksums

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

    I think I found a solution to a OpenVPN problem with Ubuntu/Kubuntu network-manager. (With guide)

    Posted: 30 Aug 2019 02:51 PM PDT

    Hi.

    I was having some problems with getting network manager under Kubuntu 19.04 to connect too my openVPN server hosted on a DigitalOcean droplet set up with "https://github.com/angristan/openvpn-install".

    After some troubleshooting I got it to work by doing the following following steps that I figured out by trial and error. I thought maybe others would like to get a solution to this problem as from my google-foo there was no actual solution out on the web as far as I could see. This seems to me (with my currently limited Linux experience) to be an error with the openVPN implementation in Network manager not reading the ovpn file correctly.

    The list of packages I have in the guide are all the packages I installed during this troubleshooting so all may not be relevant but I could not say for sure wich of them that might be so I included all of them. I know for sure the network-manager-openvpn package is necessary as the ovpn import will not work at all from my experience with Pfsense openvpn tinkering. I am also fairly sure easy-rsa is a must but not 100% sure on that either.

    PS!: This guide assume that you have A ovpn file that works when running it from the terminal but times out when using Networkmanager.

    PPS!: My assumption that this also are a problem in Ubuntu as well as Kubuntu is from others posting about having the same problem on Ubuntu I have not tested this on an Ubuntu install, but I remember having the same type of problems with OpenVPN on ubuntu the last time I ran it.

    1. Install the packages: network-manager-openconnect, network-manager-openvpn, network-manager-openssh, network-manager-l2tp, easy-rsa
    2. Copy and paste openvpn TLS key from the ovpn file into a new file name it <name\_of\_ovpn-file>.tls (Not sure about if the .TLS is needed but it worked for me and I have not tested if I just lucked upon this need.).
      We are interested in the block starting with: -----BEGIN OpenVPN Static key V1-----
      and ending with: -----END OpenVPN Static key V1-----
    3. Open Networkmanager import the ovpn file if you have not yet done so.
    4. Under the VPN tab click advanced, go to the TLS settings tab Check "Verify peer (server) certificate usage signature", in the "Remote peer certificate TLS type" dropdown choose Server
    5. Set Mode to TLS-crypt and key file to the TLS file you made
    6. click OK, then apply
    7. Connect to VPN

    I am thinking about Crossposting this to other subs, at the moment I think I will crosspost to r/Ubuntu and r/Kubuntu. If you have tips for more subs to crosspost to where this might be relevant please tell me.

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

    I messed up using 7za.

    Posted: 31 Aug 2019 09:07 AM PDT

    On Debian Buster. So I've been downloading stuff from Google Drive with GDrive via terminal. I wanted to back up these files into archives with 7za, encrypt them in 7z, encrypt file names, have NO compression. In addition, I want the output of these files to be on external media because I don't have the space on my drive to create the archive on the same drive.

    So here was what I thought I should type based on the man page

    7za a -mhe=on -p_password_ -mx=0 -o'/media/user/Backup/Photography' Photography.7z '/home/user/git/gdrive/Photography' 

    -mhe=on (enables header encryption)

    -p designates archive password

    -o output location

    -mx=0 no compression

    and at the end- i have the desired location i wanted to archive, with the 7z archive name before that.

    So for those of you used to 7za you can probably already tell me what I did wrong. Here's my current conundrum, I ran this line and monitored my disk space closely because I didn't have enough of it on my main drive to complete the file if it were t o output there. I quickly noticed that this was actually sucking up data on my main drive and not outputting it to my external. At this point I killed the process in the middle of compression. So I'm wondering, where are these massive temp files located now that I need to somehow remove to free up space again? And how is it that I can format this command for 7za to do what I want properly?

    Thanks so much for any help. I really just want these archived locally for redundancy. I would use the GUI but there is no option to set compression level that I can find (I want no compression).

    Edit: https://www.mankier.com/1/7za

    Edit 2: Navigated to the external drive as my working directory and used this instead.

    7za a -mhe=on -p_password_ -mx=0 Photography.7z /home/user/git/gdrive/Photography 

    Located incomplete 7z in /home/user/git/gdrive/Photography, which only appeared after a restart. Deleted. Also queried largest files on the drive to clean up/locate.

    submitted by /u/mturk-
    [link] [comments]

    What are the %<letter> arguments called in command launchers/.desktop files

    Posted: 31 Aug 2019 01:24 AM PDT

    One example, the %u in an XFCE edit launcher menu. Hoping for a name or where to find a list of all of them since I'm having trouble searching a literal percent sign

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

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

    Running Classic Shell with Wine?

    Posted: 31 Aug 2019 05:04 AM PDT

    I really want to have a Windows start menu and style in Linux, and the best program I know that can do this is Classic Shell, which is unfortunetely not supported for Linux. Is there a way to run this program in Linux using Wine or another program? I don't know how Wine works as I am new to Linux. The Linux UI is literally the only thing that is preventing me from switching from Windows.

    Also, Classic Shell is open source apparently, so why hasn't anybody made Classic Shell available for Linux yet? The program has been out for years.

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

    CPUFreq and Ryzen 5 3600 - not enough information?

    Posted: 31 Aug 2019 08:39 AM PDT

    Hi, I'm fairly new to linux and all the stuff around I have a question, I installed CPUFreq on my PC (Fedora 30 KDE, kernel 5.2.9) with Ryzen 5 3600 as a CPU however I don't have any fancy information about the CPU in KDE widget that I added to my taskbar. Is there any patch, or something, that I can install that will provide some functions for Ryzen 3000 series? If yes, can you give me a short 'how-to'? Here's a photo of how it looks. https://imgur.com/a/bIzKJqr

    EDIT: About a informations that I don't have, I saw the recent Level1Techs video where Wendel is showing CPUFreq from Ryzen 7 3900X i belive where he got plenty of stuff there.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel