User Tools

Site Tools


computing:linux:launcher

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:linux:launcher [2015/05/04 11:00]
jcooper created
computing:linux:launcher [2015/05/04 12:24] (current)
jcooper
Line 1: Line 1:
-====== Linux Memory ======+====== Create A Desktop Launcher Icon ======
  
-===== Clear Buffers & Cache =====+===== Create .desktop File ===== 
 + 
 +:!: Example done on Ubuntu 15.04 with Unity Desktop. 
 + 
 +Open Gedit or your favorite text editor and create a file on the desktop yourchosenname.desktop 
 + 
 +This example of the text is for an RDP Remmina connection. 
 + 
 +The ''Exec'' line is pointing at a ''Remmina'' connection configured and saved in the ''Remmina'' application.
  
 <file> <file>
-sync && echo 3 > /proc/sys/vm/drop_caches+[Desktop Entry] 
 +Version=1.1 
 +Name=remmina 
 +Comment=remote desktop 
 +Exec=remmina -c /home/user/.remmina/1430501694252.remmina 
 +Icon=/usr/share/icons/hicolor/48x48/apps/remmina.png 
 +Terminal=false 
 +Type=Application 
 +Categories=remote desktop;
 </file> </file>
  
-If you use sudo:+:!: After creation ''right click'' the icon and select ''Properties''. On the ''Permissions'' tab tick the box to make it executable ''Allow executing file as a program''.  
 + 
 +You can edit that Remmina file to point at different servers etc.
  
 <file> <file>
-su -c "sync && echo 3 > /proc/sys/vm/drop_caches"+vi /home/user/.remmina/1430501694252.remmina
 </file> </file>
  
-This one-liner also shows before and after stats:+This is an example of the text in that file.
  
 <file> <file>
-echo Before: && free -m && echo After: && sync && echo 3 > /proc/sys/vm/drop_caches && free -m+[remmina] 
 +disableclipboard=0 
 +ssh_auth=0 
 +clientname= 
 +quality=9 
 +ssh_charset= 
 +ssh_privatekey= 
 +sharesmartcard=0 
 +resolution= 
 +group= 
 +password= 
 +name=CPTSSERVER 
 +ssh_loopback=0 
 +shareprinter=0 
 +ssh_username= 
 +ssh_server= 
 +security= 
 +protocol=RDP 
 +execpath= 
 +sound=local,44100,
 +exec= 
 +ssh_enabled=0 
 +username= 
 +sharefolder= 
 +console=0 
 +domain=jw 
 +server=192.168.1.2 
 +colordepth=16 
 +viewmode=4 
 +window_maximize=1 
 +window_height=1153 
 +window_width=1920
 </file> </file>
computing/linux/launcher.1430758855.txt.gz · Last modified: 2015/05/04 11:00 by jcooper