Search This Blog

Showing posts with label it arsenal. Show all posts
Showing posts with label it arsenal. Show all posts

Thursday, May 28, 2020

Linux Ubuntu How to add Eclipse or Other Applications to Desktop Favourite or In Desktop Grid

1. create a file name with /usr/share/applications/filename.desktop extension
2. add the exec=, icon= key value in that file.
3. give the execute permission
4. click the Grid ::: in desktop, see your added .desktop application is will show. right click and select Add to favourite. 


ex 1:

#> gedit /usr/share/applications/eclipse.desktop

[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/media/drvijay/Eclipse-20/eclipse
Type=Application
Icon=/media/drvijay/Eclipse-20/icon.xpm
StartupWMClass=Eclipse


ex 2:
[Desktop Entry]
Comment=mapaint
Terminal=false
Name=mspaint
Exec=wine /home/drvijay/.wine/drive_c/windows/mspaint.exe
Type=Application
Icon=/home/drvijay/.wine/drive_c/windows/mspaint.jpeg
#StartupWMClass=mspaint

#run the below cmd for execute.

#> chmod a+x ~/.local/share/applications/.desktop

Linux Ubuntu Change Complexity Length & Strong Password

vim /etc/pam.d/common-password


#Remove obscure word and add minlen=1


password    [success=1 default=ignore]  pam_unix.so minlen=1 sha512
 

Hit Counter


View My Stats