Reza

joined 2 years ago
[–] Reza@programming.dev 1 points 1 month ago

Yes, the problem has been solved! But the phone says Format the SD card to use it! I have much data on the SD card.

[–] Reza@programming.dev 1 points 1 month ago* (last edited 1 month ago) (2 children)

I did clean flash and wipe all of my data, but the problem exists! I went through this guide.

[–] Reza@programming.dev 2 points 1 month ago

Encryption is disabled in the settings.

 

Recently I have installed lineageOS 20 on my galaxy J7 2015. Everything works properly, but I have no access to my internal storage! File manager only shows the SD cards content and I can not access the internal storage via any apps. Even when I connect my phone to my laptop, the laptop lists only SD card. Also maybe I should mention that in other hand, TWRP only has access to my internal storage and shows the volume of my SD card 0. What could be the problem?

[–] Reza@programming.dev 1 points 2 months ago (1 children)

Thanks! I wasted your time. As you said the problem caused a headache to me. I stop trying on it for some days.

[–] Reza@programming.dev 1 points 2 months ago (3 children)

Thank you for spending your time. Yes, resolvectl status's output is like yours in Global part, but in the end of the output there is this:

Link 3 (wlp3s0)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 mDNS/IPv4 mDNS/IPv6
         Protocols: +DefaultRoute +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.1
       DNS Servers: 192.168.1.1
     Default Route: yes

As you see, wlp3s0 uses the default ISP DNS. Wireshark's output confirms this.

[–] Reza@programming.dev 1 points 2 months ago (5 children)

I ran the command with sudo and got the error. I created the file with sudoedit and added the contents in it and systemctl reload systemd-resolved. But the DNS requests are sent with port 53 to the default DNS server yet and:

cat /etc/resolv.conf 
# This is /run/systemd/resolve/resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.1
nameserver 192.168.1.1
search .
[–] Reza@programming.dev 1 points 2 months ago* (last edited 2 months ago) (7 children)

install -o0 -g0 -m644 <(cat <<EOF [Resolve] DNS=127.0.0.1:9053 EOF ) /etc/systemd/resolved.conf.d/90-dns_port.conf

The output is an error: install: cannot stat '/dev/fd/63': No such file or directory.

 

I want to set the system to send DNS queries with a custom port, not 53. I added DNS=127.0.0.1 9053 to /etc/systemd/resolved.conf and DNS=127.0.0.1:9053 to /etc/systemd/networkd.conf. But now DNS queries are sent via the default DNS with port 53. What can I do?

 

I use a VPN n my system which works properly in firefox, but does not work at all in librewolf. Both network settings are same. What could be the problem?

[–] Reza@programming.dev 2 points 1 year ago

These are qv2ray's filesystem permission section in flatseal:

[–] Reza@programming.dev 1 points 1 year ago (1 children)

In my opinion there shouldn't be any permission problem. I run the app with user and as the permissions I mentioned, user has access to execute it.

Yes, it is a binary file.

 

In qv2ray when I set the core path in the settings and click on Check v2ray core settings, I get this message:

Core control file is lacking executable permission for the current user.Qv2ray tried to set, but failed because permission denied.

I have installed qv2ray from flatpak. The permissions of the core file is:

-rwxrwxrwx

What is the problem?

[–] Reza@programming.dev 1 points 2 years ago

I found it. I should set pyright.disableDiagnostics to true in CocConfig.

[–] Reza@programming.dev 1 points 2 years ago (1 children)

Thank you for your complete explanation! Now I have a question. I know that this note that coc-pyright shows does not hurt code's running. But the note hurts me when I am coding. Do you know how to remove pyright's type hint?

4
submitted 2 years ago* (last edited 2 years ago) by Reza@programming.dev to c/neovim@programming.dev
 

I use coc-pyright as python code completer in debian. When I work on a django file, I get errors like this error in neovim env. But django runs codes without any problem. I have installed django with apt and not with pip and also I am not in a venv.

view more: next ›