[rkward] [Bug 454725] R files are not longer linked to RKWard after update to 0.7.4

Jan bugzilla_noreply at kde.org
Fri Jun 3 11:02:11 BST 2022


https://bugs.kde.org/show_bug.cgi?id=454725

Jan <yzle at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |RESOLVED
         Resolution|WORKSFORME                  |NOT A BUG

--- Comment #2 from Jan <yzle at gmx.de> ---
Thank you for your quick response.

> 1. Check your file assocations for text/r in your system settings.
This settings was not set. That was the problem. More about this below.

> 2. Verify that you can open the file from the command line using 'rkward filename.R' .
This is working.

> 3. What's the result of 'which rkward'?
/usr/bin/rkward

> 4. In your Application Launcher, find RKWard, right click on it, select "Edit Application". What path is shown for the desktop file?
I use Lubuntu with LXQT. Unfortunately, right click inside the application menu
does not work. I havn't found a configuration file that contains the path.
But I can start RKWard from the application menu without any problems.

> It also seems odd that "nothing happens" when you click the file.
The command "xdg-open anyfile.R" at the terminal just showed the contents of
the file. With "ps ax | grep anyfile.R" I saw, that anyfile.R had been opened
with "less". This makes it clear that nothing happens when you double-click a R
file.

Solution:
I've added to "/home/jan/.config/mimeapps.list", section "[Default
Applications]": text/r=org.kde.rkward.desktop;
Then logout, login.
Double-click R file: RKWard opens.

I also tried it on two other systems, there the problem did not occur.
Therefore I close the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the rkward-devel mailing list