Converting a linux alias to a desktop launcher [duplicate]
This question already has an answer here:
Create a .desktop file that opens and execute a command in a terminal
3 answers
I would like to know how to convert the following simple alias to a desktop launcher:
cat ~/info1.txt
.desktop alias cat
marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Create a .desktop file that opens and execute a command in a terminal
3 answers
I would like to know how to convert the following simple alias to a desktop launcher:
cat ~/info1.txt
.desktop alias cat
marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Create a .desktop file that opens and execute a command in a terminal
3 answers
I would like to know how to convert the following simple alias to a desktop launcher:
cat ~/info1.txt
.desktop alias cat
This question already has an answer here:
Create a .desktop file that opens and execute a command in a terminal
3 answers
I would like to know how to convert the following simple alias to a desktop launcher:
cat ~/info1.txt
This question already has an answer here:
Create a .desktop file that opens and execute a command in a terminal
3 answers
.desktop alias cat
.desktop alias cat
edited Dec 13 '18 at 20:07
pomsky
28.5k1188112
28.5k1188112
asked Dec 13 '18 at 19:27
user93809
63
63
marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by vanadium, karel, Eric Carvalho, pomsky, RoVo Dec 14 '18 at 13:53
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Create a .desktop
file, say read-info1.desktop
and add the following lines:
[Desktop Entry]
Name=Read info1
Comment=Read the info1.txt file in Terminal
Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
Terminal=false
Type=Application
Icon=text-x-generic
Of course put your actual username in place of YOUR-USERNAME
in the Exec=
line.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Create a .desktop
file, say read-info1.desktop
and add the following lines:
[Desktop Entry]
Name=Read info1
Comment=Read the info1.txt file in Terminal
Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
Terminal=false
Type=Application
Icon=text-x-generic
Of course put your actual username in place of YOUR-USERNAME
in the Exec=
line.
add a comment |
Create a .desktop
file, say read-info1.desktop
and add the following lines:
[Desktop Entry]
Name=Read info1
Comment=Read the info1.txt file in Terminal
Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
Terminal=false
Type=Application
Icon=text-x-generic
Of course put your actual username in place of YOUR-USERNAME
in the Exec=
line.
add a comment |
Create a .desktop
file, say read-info1.desktop
and add the following lines:
[Desktop Entry]
Name=Read info1
Comment=Read the info1.txt file in Terminal
Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
Terminal=false
Type=Application
Icon=text-x-generic
Of course put your actual username in place of YOUR-USERNAME
in the Exec=
line.
Create a .desktop
file, say read-info1.desktop
and add the following lines:
[Desktop Entry]
Name=Read info1
Comment=Read the info1.txt file in Terminal
Exec=gnome-terminal -x sh -c 'cat /home/YOUR-USERNAME/info1.txt; exec bash'
Terminal=false
Type=Application
Icon=text-x-generic
Of course put your actual username in place of YOUR-USERNAME
in the Exec=
line.
answered Dec 13 '18 at 20:01
pomsky
28.5k1188112
28.5k1188112
add a comment |
add a comment |