KDE Connect Not showing any devices: Solution

If you also faced same problem after installing KDE-connect to both your PC and phone and on same network but still not able to connect. As when you open KDE-connect it does not show any device.

Then you are at right place to get the solution.

REASON:  KDE Connect uses dynamic ports in the range 1714-1764 for UDP and TCP. So if you are behind a firewall, make sure to open this port range for both TCP and UDP. Otherwise, make sure your network is not blocking UDP broadcast packets.

Solution: Make some changes in IPtables;

Run following 2 commands in your terminal.

sudo iptables -I INPUT -p tcp --dport 1714:1764 -j ACCEPT
sudo iptables -I INPUT -p udp --dport 1714:1764 -j ACCEPT

And that’s it now you hopefully see the devices, now you can pair it and start using it. Leave a comment if you still facing some error.

Solved: Manjaro not able to update, invalid or corrupted package, Fresh Install

Here is the solution if you are not able to update or install anything in your freshly installed Manjaro. I am copying the content that worked for me from manjaro forum.

If you’re getting an error similar to “Can’t update: signature from *** is marginal trust” or “invalid or corrupted package” you probably just need to update your package signing keys:

sudo pacman -Sy archlinux-keyring manjaro-keyring
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys
sudo pacman -Syu

If one fails, try the next then retry, and once all succeed retry the operation.

Of course, it’s also possible that the package file actually is corrupt. Remove it from /var/cache/pacman/pkg so pacman will download it again.

If this still don’t work, read the rest of this thread: Issues with “signature is marginal trust” or “invalid or corrupted package”

Continue reading

Solved: Majaro No sound after Fresh Install

Here is the solution that worked for me, I tried a lot of things.

Here is the simple solution.

I created a file at /etc/modprobe.d/alsa-base.conf with the content

options snd_hda_intel index=1

then I rebooted.

But if you want to go into detail how it works you can read further from below links.

I read up on how to test your sound devices here

https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture 576
I ran speaker test and it complained that no device was found and as convenient the wiki was it also told me how to target my default device.

ran the following command:
speaker-test -D default:PCH -c 8
and voila i started hearing the white noise which speaker test outputs.

So it was just a matter of sound not being output to the correct device.
I fixed this by following this
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card

MP3( MPEG, audio layer 3)

MP3 is the name of the file extension and also the name of the type of file for MPEG,audio layer 3. Layer 3 is one of three coding schemes (layer 1, layer 2 and layer 3) for the compression of audio signals. Layer 3 uses perceptual audio coding and psychoacoustic compression to remove all superfluous information (more specifically, the redundant and irrelevant parts of a sound signal. The stuff the human ear doesn’t hear anyway). It also adds a MDCT (Modified Discrete Cosine Transform) that implements a filter bank, increasing the frequency resolution 18 times higher than that
37Scratch Your Mind of layer 2. The result in real terms is layer 3 shrinks the original sound data from a CD (with a bit rate of 1411.2 kilobits per one second of stereo music) by a factor of 12 down to 112-128kbps) without sacrificing sound quality.MP3 file structure can be expressed in this scheme (TAGs are optional):[TAG v2] Frame1 Frame2 Frame3… [TAG v1]
MP3 file is divided into a small blocks – frames. Each frame has constant time length0.026 sec.
But size of one frame (in Bytes) varies according to bitrate. Eg. for 128kbps it is(normally) 417 Bytes and for 192kbps 626 Bytes. The first 4 Bytes of each frame is frame header and the rest is audio data. Frame header consists of information about frame (bitrate, stereo mode…) and because of that frames are independent items.
Each of them can have its own characteristic. It is used eg. in Variable Bitate files, where each frame can have different bitrate.

image.DY3FAY.png

Figure : The MP3 frame header

Screnshot of Application

3 Implementation with Screen Shots

After studying and the requirements and all study now it turns out to be the time to implement the project we did all the coding work and UI design all the work within 3 weeks of time after that its testing work is left here is the Screenshot of our app SCRATCH YOUR  MIND

Figure : Adding item

Figure :Main Screen

 

 

Figure :Mainactivity menu

Figure Type of item

Figure :Marking as return

 


Figure :History

 

Figure :Edition In entered item

 

Figure :Backup and Restore