LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-05-2019, 11:51 AM   #1
aversatech
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Rep: Reputation: Disabled
Linux Mint 19.1 no longer opens a terminal window using a [Desktop Entry] with Terminal=true


Can someone else please try this out.

Using Linux Mint 19.1

Note: this worked under Linux mint 19 and earlier versions.


create a simple bash script called test.sh on the desktop

add these lines

#!/bin/bash
echo "IT Works"
sleep 5

make it executable and when you run it from a terminal you can run it using /home/$USER/Desktop/test and it will say "IT Works" on the terminal screen.


create a desktop icon called test.desktop on your desktop.
Edit this so it includes the following

[Desktop Entry]
Type=Application
Name=test
Terminal=true
Exec=/home/$USER/Desktop/test.sh

make it executable.

When you click on it, it does not open a terminal window to display the output, Why would this functionality of Terminal=true be removed for 19.1?

If you change the Exec line to Exec=gnome-terminal -- /home/$USER/Desktop/test.sh then of coarse it does work.
 
Old 01-05-2019, 12:57 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
A quick scour of the web sees that similar problems have been reported for MATE and LXQt (in the absence of information, I've assumed that you're using Cinnamon). It seems that the "Terminal=true" may default to using xterm so if that isn't installed then no dice. I suggest you install xterm and see what happens.

https://github.com/lxqt/qterminal/issues/510

https://github.com/mate-desktop/mate-panel/issues/57
 
Old 01-05-2019, 01:34 PM   #3
aversatech
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks, but installing xterm didn't help.

I tried installing xterm, but there was no change. I looked at the threads as well.

You would think that glib would include gnome-terminal anyway. Does anyone know if there any way to post a bug report to the Linux Mint Cinnamon developers? I just want to make sure they are aware of this.
 
Old 01-05-2019, 04:12 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Quote:
Originally Posted by aversatech View Post
I tried installing xterm, but there was no change. I looked at the threads as well.

You would think that glib would include gnome-terminal anyway. Does anyone know if there any way to post a bug report to the Linux Mint Cinnamon developers? I just want to make sure they are aware of this.
Oh well, it was worth a go.

The Cinnamon Github page is here: https://github.com/linuxmint/Cinnamon

Please let us know what response you get. Also, it might be worth your while posting a thread on the Mint forums (https://forums.linuxmint.com/) to see if anyone there knows why this behaviour has changed.
 
Old 01-27-2019, 04:24 AM   #5
papist
LQ Newbie
 
Registered: Jan 2019
Posts: 1

Rep: Reputation: Disabled
Smile .desktop file problem - Linux Mint 19.1

A .desktop installer didn't work on LM 19.1

This same .desktop installer worked no problem in LM 18.3


Solution:

I copied the .desktop file and the hidden .setup file it called to: /usr/share/applications (did this via a file manager window opened as root).

This created a menu item which I clicked and the installer worked no problem.

I cleaned up by deleting the copied files from the /usr/... folder.

The installer was for the Zoho Workdrive client if this helps anyone.

Last edited by papist; 01-29-2019 at 02:56 AM. Reason: typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which is true? more than one could be true? ddomiray Linux - General 3 10-26-2009 02:41 AM
Suse 10.0 opens Just Opens In Console ? bluesky2_1986 Linux - Newbie 2 07-24-2006 07:17 AM
terminal no longer opens in FC3 hywaydave Linux - Software 1 01-11-2005 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration