• Breaking News

    [Android][timeline][#f39c12]

    Friday, July 16, 2021

    Linux How to fully close an application?

    Linux How to fully close an application?


    How to fully close an application?

    Posted: 16 Jul 2021 02:53 AM PDT

    Hello,

    I installed Whatsapp for Linux, and I thought if I closed the window, it would shut down the program. But I keep getting notifications of new messages, so it's clearly still running in the background. How do I close it completely?

    Thanks

    EDIT: Thanks all for the useful replies. This community is amazing. Also good to see that not everyone is a noob on this subreddit.

    submitted by /u/Rude-E
    [link] [comments]

    Dual boot with Windows 10, am wondering what that will do to my programs

    Posted: 16 Jul 2021 10:06 AM PDT

    I'm thinking about installing Zorin or Linux Mint on my computer. I have two hard drives so I can put Linux on one and leave Windows on the other. Thing is, I want to use my Windows programs (like AutoCAD, already set up and configured on 10) on Linux. Zorin claims to be able to have a native setup to run Windows programs, but I'm not sure if it can do that post install. (I know it can run them if it's installed on Linux.)

    My question is this: is there some way to install Linux and still access my programs and settings on my Windows drive? If I didn't have to rebuild my three-screen Rainmeter HUD, that would be phenomenal. Thanks in advance.

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

    How to remove an old inaccessible Linux distro?

    Posted: 16 Jul 2021 10:41 AM PDT

    I had Manjaro and Windows 10 (dual boot) on my hard drive.

    I added a new SSD and a newer windows 10 on that drive.

    I managed to manually delete the older Windows files but I can't access the Linux files from Windows.

    I'm planning to install Linux-lite distro on the new SSD but I want to remove the older Linux distro first (to free some space).

    I can't access Manjaro because i get an error

    > error : file /boot/vmlinuz-4.19x86_64 not found
    > error : you need to load the kernal first

    How do I remove/access that old distro?

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

    How to copy firmware for touchpad across kernels

    Posted: 16 Jul 2021 09:56 AM PDT

    my touchpad works fine in kernel 5.10 but isn't detected in kernel 5.13 (which i have to run to use my wifi chipset). how do i copy firmware across kernel. output of cat /proc/bus/input/devices for touchpad:

    I: Bus=0018 Vendor=04f3 Product=319f Version=0100

    N: Name="ASUE1209:00 04F3:319F Touchpad"

    P: Phys=i2c-ASUE1209:00

    S: Sysfs=/devices/platform/AMDI0010:03/i2c-1/i2c-ASUE1209:00/0018:04F3:319F.0001/input/input27

    U: Uniq=

    H: Handlers=mouse1 event15

    B: PROP=5

    B: EV=1b

    B: KEY=e520 10000 0 0 0 0

    B: ABS=2e0800000000003

    B: MSC=20

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

    Old disk suddenly won't mount, but TestDisk can read it?

    Posted: 16 Jul 2021 08:09 AM PDT

    I have a big old hard drive for file storage and an SSD for the OS. The hard drive has just started refusing to mount (with a 'location not available message'). I initially assumed that it had died of old age, but TestDisk can see (and copy) files from it.

    I tried running a SMART disk test, but it failed repeatedly. The disk stats show tens of thousands of bad sectors, and a couple of years of run time, so it's definitely need replacing, but is there any other reason it would stop mounting?

    Also, how can TestDisk see the files when the disk will no longer mount?

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

    Can someone tell me in simple words which is the linux working directory?

    Posted: 16 Jul 2021 12:51 AM PDT

    Update1:

    Thanks a lot for helping out! I'm done with these steps! :)

    I've been googling and such a simple question has taken an hour! This is ridiculous.

    • One page mentions using /users/yourusername
    • Another mentions using $home
    • Another says to use /home/username
    • Another asks to use the directory /usr/local/bin

    Also, I need to pull a github project. Is there any way I can achieve this via shell?

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

    Is this ok to install ubuntu on dual boot? (The video I was following said to use swap area but swap area doesn't show a tick to the partition when I select it, and doesn't let me select that as boot loader)

    Posted: 16 Jul 2021 05:32 AM PDT

    Linux noob - Is Arch an overkill for me?

    Posted: 16 Jul 2021 08:54 AM PDT

    I am a total noob to Linux and getting a used thinkpad and running linux off it for my daily driver. This is what i plan to do

    1) I know Arch is super advanced but i was going to take a stab at installing it

    2) What Desktop environments do you guys suggest i look into? need something minimalistic and that looks like mac

    3) I want to use this as my daily driver and learn as much as possible.

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

    Bluez error while connecting Bluetooth headset

    Posted: 16 Jul 2021 12:08 PM PDT

    connecting using bluetoothctl on DWM (Arch) giving me error

    Failed to connect: org.bluez.Error.Failed

    and while using Blueman getting error

    Connection Failed: Input/Output error

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

    Manjaro GNOME gets stuck on a black screen after clean install

    Posted: 16 Jul 2021 10:54 AM PDT

    I've been a Linux user for about 2 months now, I'm in the process of trying to find a distro to call home. So over the past couple months I've been dual booting W10 alongside a Linux distro. All other distros install just fine for me. but Manjaro GNOME just just launches into a black screen. I have a UEFI system with secure boot and fast boot disabled. This is how I manually partition my Linux Install drive:

    • 4GB of swap
    • I tried installing the EFI into a 512mb fat32 partition mounted as /boot/efi but that didn't work, so I tried installing it alongside my windows boot-loader but that also doesn't work.
    • Remaining space is set as root. Flag is set to root. FS= ext4

    I've tried a plethora of different distributions, including other spins of Manjaro like Plasma and XFCE, they all seem to install just fine. Could someone tell me if it's something I'm doing wrong? I tried googling but I couldn't find any help. Any advice would be helpful since I'm super new to Linux. Thank you for reading this!

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

    Arch hangs up after sleep randomly and everything takes too much time to respond.

    Posted: 16 Jul 2021 08:39 AM PDT

    I'm experiencing quite a few bugs recently with Arch. The whole thing just hangs up and stops responding for batches at a time, usually after sleep. Opening many tabs in firefox also seems to be causing the problem.

    Here's the output from journalctl

    Jul 16 20:40:21 wonderland-machine kernel: ------------[ cut here ]------------ Jul 16 20:40:21 wonderland-machine kernel: WARNING: CPU: 2 PID: 444 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7960 amdgpu_dm_atomic_commit_tail+0x25c1/0x2630 [amdgpu] Jul 16 20:40:21 wonderland-machine kernel: Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) vfat fat amdgpu uvcvideo snd_hda_codec_realt> Jul 16 20:40:21 wonderland-machine kernel: wmi k10temp tpm_crb tpm_tis tpm_tis_core pinctrl_amd tpm rng_core asus_wireless acpi_cpufreq drm agpgart crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c> Jul 16 20:40:21 wonderland-machine kernel: CPU: 2 PID: 444 Comm: Xorg Tainted: P W OE 5.12.15-arch1-1 #1 Jul 16 20:40:21 wonderland-machine kernel: Hardware name: ASUSTeK COMPUTER INC. TUF Gaming FX505DT_FX505DT/FX505DT, BIOS FX505DT.316 01/28/2021 Jul 16 20:40:21 wonderland-machine kernel: RIP: 0010:amdgpu_dm_atomic_commit_tail+0x25c1/0x2630 [amdgpu] Jul 16 20:40:21 wonderland-machine kernel: Code: ff ff 01 c7 85 1c fd ff ff 37 00 00 00 c7 85 24 fd ff ff 20 00 00 00 e8 3d 05 13 00 e9 05 fb ff ff 0f 0b e9 30 f9 ff ff 0f 0b <0f> 0b e9 a0 f9 ff ff 0f 0b e9 b> Jul 16 20:40:21 wonderland-machine kernel: RSP: 0018:ffffb09ec0c13928 EFLAGS: 00010002 Jul 16 20:40:21 wonderland-machine kernel: RAX: 0000000000000002 RBX: 00000000000025a3 RCX: ffff9b99136f5118 Jul 16 20:40:21 wonderland-machine kernel: RDX: 0000000000000001 RSI: 0000000000000297 RDI: ffff9b9913860178 Jul 16 20:40:21 wonderland-machine kernel: RBP: ffffb09ec0c13cc0 R08: 0000000000000005 R09: 0000000000000000 Jul 16 20:40:21 wonderland-machine kernel: R10: ffffb09ec0c13888 R11: ffffb09ec0c1388c R12: 0000000000000286 Jul 16 20:40:21 wonderland-machine kernel: R13: ffff9b99136f5000 R14: ffff9b99462f5000 R15: ffff9b99009fd300 Jul 16 20:40:21 wonderland-machine kernel: FS: 00007f0b112cb940(0000) GS:ffff9b9a17280000(0000) knlGS:0000000000000000 Jul 16 20:40:21 wonderland-machine kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jul 16 20:40:21 wonderland-machine kernel: CR2: 000056287a64ed6c CR3: 0000000119246000 CR4: 00000000003506e0 Jul 16 20:40:21 wonderland-machine kernel: Call Trace: Jul 16 20:40:21 wonderland-machine kernel: commit_tail+0x94/0x120 [drm_kms_helper] Jul 16 20:40:21 wonderland-machine kernel: drm_atomic_helper_commit+0x113/0x140 [drm_kms_helper] Jul 16 20:40:21 wonderland-machine kernel: drm_mode_obj_set_property_ioctl+0x156/0x3d0 [drm] Jul 16 20:40:21 wonderland-machine kernel: ? drm_property_create_blob.part.0+0xda/0x120 [drm] Jul 16 20:40:21 wonderland-machine kernel: ? drm_mode_obj_find_prop_id+0x40/0x40 [drm] Jul 16 20:40:21 wonderland-machine kernel: drm_ioctl_kernel+0xb2/0x100 [drm] Jul 16 20:40:21 wonderland-machine kernel: drm_ioctl+0x21e/0x3b0 [drm] Jul 16 20:40:21 wonderland-machine kernel: ? drm_mode_obj_find_prop_id+0x40/0x40 [drm] Jul 16 20:40:21 wonderland-machine kernel: amdgpu_drm_ioctl+0x49/0x80 [amdgpu] Jul 16 20:40:21 wonderland-machine kernel: __x64_sys_ioctl+0x82/0xb0 Jul 16 20:40:21 wonderland-machine kernel: do_syscall_64+0x33/0x40 Jul 16 20:40:21 wonderland-machine kernel: entry_SYSCALL_64_after_hwframe+0x44/0xae Jul 16 20:40:21 wonderland-machine kernel: RIP: 0033:0x7f0b11d1359b Jul 16 20:40:21 wonderland-machine kernel: Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8> Jul 16 20:40:21 wonderland-machine kernel: RSP: 002b:00007ffe54d59b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Jul 16 20:40:21 wonderland-machine kernel: RAX: ffffffffffffffda RBX: 00007ffe54d59b60 RCX: 00007f0b11d1359b Jul 16 20:40:21 wonderland-machine kernel: RDX: 00007ffe54d59b60 RSI: 00000000c01864ba RDI: 000000000000000d Jul 16 20:40:21 wonderland-machine kernel: RBP: 00000000c01864ba R08: 0000000000000059 R09: 00000000cccccccc Jul 16 20:40:21 wonderland-machine kernel: R10: 0000000000000fff R11: 0000000000000246 R12: 000056287a708a30 Jul 16 20:40:21 wonderland-machine kernel: R13: 000000000000000d R14: 0000000000000000 R15: 0000000000000003 Jul 16 20:40:21 wonderland-machine kernel: ---[ end trace e82f70c364f331c0 ]--- Jul 16 20:40:21 wonderland-machine kernel: ------------[ cut here ]------------ 

    It seems to be some problem with the processor. But I can't understand what the rest says.

    I'm on an Asus laptop with Ryzen 5 3550H with Vega 8 and Nvidia GTX 1650 with 8 GB of RAM.Arch + Windows dual-boot. KDE Plasma + SDDM + Xorg

    What could be the problem?

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

    How to run a script continuously?

    Posted: 16 Jul 2021 01:39 PM PDT

    Hey folks, I would like to run a script continuously, not at specific intervals like every 1 minute or every 1 hour. I just want a python script to run continuously as it completes the execution but I can't use a while loop because I am using a bunch of http requests and didn't write any end cases, it's quite possible that once in a while the request could fail because of internet connection issues but it won't effect my work flow, I just need the script to run continuously and even if it fails a few times, it's fine

    I am hoping I could setup something like a cronjob or a bash script for this, would that help to achieve my task?

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

    How to open new document in same Gedit window from cmd line?

    Posted: 16 Jul 2021 01:33 PM PDT

    Before, if i have no gedit windows open and i do "gedit somefile.txt" in terminal, it opens a new window.

    If i do it again, like "gedit somefile22.txt", it opens the new file in a new tab of the first window.

    If i go to another desktop in my linux, the first doc will open in a new window in that desktop, and future docs in new tabs of the same window.. Same for other desktops.

    Now, everytime i do "gedit file" it opens a whole new window even if im in the same desktop. I literally didn't change anything. I want all new docs to opens in the same gedit window in each given desktop.

    Can someone help?

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

    Bash script to edit files

    Posted: 16 Jul 2021 01:45 AM PDT

    i sone time change some lines or sometime single word in my configs and its really crumblesom to locate and open that special file and the navigate to that specific line, im wondering is there a way in bash so that i can edit a line or world in a line with just using a one liner

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

    BTRFS Usage Tips

    Posted: 16 Jul 2021 12:43 PM PDT

    Hi all. Currently using BTRFS on my fedora install.

    What I want to know is. How can I track what files are stored on what drive, and how can I tell how full each individual drive is?

    Much appreciated!

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

    Can't get xbacklight working on ArchLinux

    Posted: 16 Jul 2021 12:38 PM PDT

    I bought an GTX 1660 yesterday and built a new PC with it. Today I installed Arch and xbacklight didn't work. I've already tried every supposed fix on the Arch wiki backlight and nvidia page and It didn't help. Also something to note is that doing ls /sys/class/backlight outputs nothing...

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

    What is the best open source alternative to Nagios ?

    Posted: 16 Jul 2021 01:31 AM PDT

    Hello ,

    I have a question What is the best open source alternative to Nagios ?

    I really need an answer through an experience and thanks in advance

    Best Regards

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

    Small distro to recover a pc

    Posted: 16 Jul 2021 12:05 PM PDT

    So I accidentally ruined a working Windows installation and currently there is no way for me to boot into it. First thing I tried to do is to burn an iso to usb with my android phone (since I don't have a second PC to make an installation usb), but it only uses fat32 and the iso is almost 6gb. What I want to do now is to get a small linux distro on the usb and boot it, just for moving the data (since the ssd was almost full, which would be bad for reinstalling) and making the installation usb. Which one would you recommend, that would be small and easy to use?

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

    [Pop OS]I just learned about top today. Nothing crazy, but now I'm curious what else I don't know about. How do I learn what tools I have available in the CLI that I can use? Are there any "essential" apps I need to know?

    Posted: 15 Jul 2021 07:21 PM PDT

    I just started realizing there are a lot of really cool, built in features to my OS that I don't know about, and I would like to go through what Linux (or Debian I guess) comes with that I can use. I know learning how to read the top screen taught me some things, and I was curious if there's anything else out there that I could look at that might help me understand my computer a little better.

    I really just want to start doing as much from the console as possible tbh

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

    [Ubuntu] Pulseaudio broken

    Posted: 16 Jul 2021 11:17 AM PDT

    So basically, my whole audio is dead. The sound macro in the taskbar (I use kde plasma) is gone and the media keys wont do anything. Weirdly enough, the devices still show up in `pavucontrol` and discord, but they dont play any audio. Pulseaudio is installed but the service doesn't exist:

    `philipp4@yano:/$ sudo apt install pulseaudio

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    pulseaudio is already the newest version (1:13.99.1-1ubuntu3.11).

    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

    philipp4@yano:/$ sudo service pulseaudio restart

    Failed to restart pulseaudio.service: Unit pulseaudio.service not found.

    philipp4@yano:/$

    `

    How do I get it to work?

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

    Stability issues with Ubuntu

    Posted: 16 Jul 2021 10:34 AM PDT

    Hi I'm having stability issues with Kubuntu 20.04. Issue is not from KDE its from ubuntu itself. When some app crashes, every other app crashing too. For example when vscode crashes, I get the vscode crashed popup as expexted but after that 4-5 more popups coming from other apps and system components. But when I check these other apps. They are working fine. I heard arch is more stable than ubuntu even if its rolling release. Also heard arch is creating problems with nvidia optimus dual gpu and I have nvidia+intel on my laptop. Should I switch arch?

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

    Most of you guys must have heard about Steam Deck, now you must also be knowing that it runs on a system based on arch. Now my question is that if steam games are running on their SteamOS which in turn is based on arch, why can't we directly run steam games in arch linux or on linux basically?

    Posted: 16 Jul 2021 10:32 AM PDT

    For those who don't know what steam deck - https://www.youtube.com/watch?v=-S5_MQH9jDA

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

    How do I remove a partition?

    Posted: 16 Jul 2021 06:12 AM PDT

    Distro: Arch Linux

    I accidentally created a partition while I was following along with a video. I created an /dev/sda1 instead of /dev/nvme0n1

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

    How to change PS1 prompt to display size of the current working directory?

    Posted: 15 Jul 2021 11:11 PM PDT

    So I've been playing around with the prompt variables in terminal and I've found something I like. I wanted to see if it's possible to display the size of the current working directory, and this is what I've come up with

    $(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //') 

    However, apparently ls doesn't display the size of the content in the directory, just the directory itself.

    I also tried doing:

    $(/use/bin/du -sh .) 

    And although that works for the first instance the prompt opens on, it doesn't seem to update afterwards (for example if I open the terminal on /home it will show it's correct size of 100G, but as I navigate down into different folders the prompt doesn't keep updating itself to show the correct information as it does with the above ls command).

    This is my entire PS1 variable so far:

    PS1="\n\[\e[30;1m\]\[\016\]\[\017\](\[\e[34;1m\]\u@\h\[\e[30;1m\])-(\[\e[34;1m\]\j\[\e[30;1m\])-(\[\e[34;1m\]\@ \d\[\e[30;1m\])->\[\e[30;1m\]\n\[\016\]\[\017\](\[\[\e[32;1m\]\w\[\e[30;1m\])-(\[\e[32;1m\]$(/bin/ls -1 | /usr/bin/wc -l) files, $(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //')b\[\e[30;1m\])-->> \[\e[0m\]" 

    Can someone help me change the last bit to show the true size of each directory I navigate to. Thanks.

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

    Linux portable installation is a mess, whats my alternative for a privacy desktop OS.

    Posted: 16 Jul 2021 09:37 AM PDT

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel