Unable to use or open Notepad++ after installation [duplicate]











up vote
1
down vote

favorite
1













This question already has an answer here:




  • Notepad++ snap package doesn't launch

    1 answer



  • notepad-plus-plus snap does not start on Ubuntu

    1 answer




I have recently installed Ubuntu 18.04 on my laptop. I tried installing Notepad++ using the following commands:



sudo snap install notepad-plus-plus  


However, after installing it, I can see Notepad ++ is installed but I am unable to open it.



When I run snap run notepad-plus-plus I get the following results:



wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message   
"wine: WINEARCH set to win64 but '/home/my-username/snap/notepad-plus-plus/common/.wine'
is a 32-bit installation."


I also tried the suggestion mentioned in



notepad-plus-plus snap does not start on Ubuntu



but can't get Notepad ++ to open.










share|improve this question









New contributor




user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by N0rbert, Eric Carvalho, karel, Tom Brossman, Fabby 2 days ago


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.











  • 1




    @N0rbert the link does not seem to solve the issue
    – user3571389
    2 days ago















up vote
1
down vote

favorite
1













This question already has an answer here:




  • Notepad++ snap package doesn't launch

    1 answer



  • notepad-plus-plus snap does not start on Ubuntu

    1 answer




I have recently installed Ubuntu 18.04 on my laptop. I tried installing Notepad++ using the following commands:



sudo snap install notepad-plus-plus  


However, after installing it, I can see Notepad ++ is installed but I am unable to open it.



When I run snap run notepad-plus-plus I get the following results:



wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message   
"wine: WINEARCH set to win64 but '/home/my-username/snap/notepad-plus-plus/common/.wine'
is a 32-bit installation."


I also tried the suggestion mentioned in



notepad-plus-plus snap does not start on Ubuntu



but can't get Notepad ++ to open.










share|improve this question









New contributor




user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by N0rbert, Eric Carvalho, karel, Tom Brossman, Fabby 2 days ago


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.











  • 1




    @N0rbert the link does not seem to solve the issue
    – user3571389
    2 days ago













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1






This question already has an answer here:




  • Notepad++ snap package doesn't launch

    1 answer



  • notepad-plus-plus snap does not start on Ubuntu

    1 answer




I have recently installed Ubuntu 18.04 on my laptop. I tried installing Notepad++ using the following commands:



sudo snap install notepad-plus-plus  


However, after installing it, I can see Notepad ++ is installed but I am unable to open it.



When I run snap run notepad-plus-plus I get the following results:



wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message   
"wine: WINEARCH set to win64 but '/home/my-username/snap/notepad-plus-plus/common/.wine'
is a 32-bit installation."


I also tried the suggestion mentioned in



notepad-plus-plus snap does not start on Ubuntu



but can't get Notepad ++ to open.










share|improve this question









New contributor




user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












This question already has an answer here:




  • Notepad++ snap package doesn't launch

    1 answer



  • notepad-plus-plus snap does not start on Ubuntu

    1 answer




I have recently installed Ubuntu 18.04 on my laptop. I tried installing Notepad++ using the following commands:



sudo snap install notepad-plus-plus  


However, after installing it, I can see Notepad ++ is installed but I am unable to open it.



When I run snap run notepad-plus-plus I get the following results:



wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message   
"wine: WINEARCH set to win64 but '/home/my-username/snap/notepad-plus-plus/common/.wine'
is a 32-bit installation."


I also tried the suggestion mentioned in



notepad-plus-plus snap does not start on Ubuntu



but can't get Notepad ++ to open.





This question already has an answer here:




  • Notepad++ snap package doesn't launch

    1 answer



  • notepad-plus-plus snap does not start on Ubuntu

    1 answer








18.04 snap






share|improve this question









New contributor




user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago





















New contributor




user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 20 at 8:13









user3571389

83




83




New contributor




user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user3571389 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




marked as duplicate by N0rbert, Eric Carvalho, karel, Tom Brossman, Fabby 2 days ago


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 N0rbert, Eric Carvalho, karel, Tom Brossman, Fabby 2 days ago


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.










  • 1




    @N0rbert the link does not seem to solve the issue
    – user3571389
    2 days ago














  • 1




    @N0rbert the link does not seem to solve the issue
    – user3571389
    2 days ago








1




1




@N0rbert the link does not seem to solve the issue
– user3571389
2 days ago




@N0rbert the link does not seem to solve the issue
– user3571389
2 days ago










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










That issue is due to big changes made to the snap. This is now using 64bit version of Notepad++ with wine64 on amd64 systems and 32bit version of Notepad++ on i386 systems. This snap is now using wine-platform snap so this has both i386 & amd64 wine pkgs earlier it was using wine-platform-i386 snap which only had wine i386 pkgs. So currently migrating to wine-platform snap from older wine-platform-i386 snap which is not done automatically when user updates the snap caused issue. I'm currently pushing changes to detect if user is still connected snap on older platform should ask to do these commands.



Run these commands will fix your issue.




  • snap disconnect notepad-plus-plus:wine-platform-plug


  • snap install wine-platform


  • snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable



If issue still exists then you have to remove win32 WINEPREFIX in order to create win64.




  • rm -r $HOME/snap/notepad-plus-plus/common/.wine






share|improve this answer





















  • It seems that I can add any comment. I tried using snap disconnect notepad-plus-plus:wine-platform-plug but it gives me the following error: error: snap "notepad-plus-plus" has no plug or slot named "wine-platform-plug" The command snap install wine-platform and does the due to installation. However, snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable gives an error message: snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable
    – user3571389
    2 days ago












  • I haven't tried rm -r $HOME/snap/notepad-plus-plus/common/.wine.Since I am new to Linux, can you please be more elaborate?
    – user3571389
    2 days ago












  • @user3571389 I tried this answer on my Ubuntu 18.04 and it worked without needing to run rm -r $HOME/snap/notepad-plus-plus/common/.wine. All I needed to do to fix the problem with Notepad++ not opening was to run the first three bullet point commands from this answer, one after another.
    – karel
    2 days ago








  • 1




    @karel not sure what I have done but it seems to be working now.
    – user3571389
    2 days ago


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










That issue is due to big changes made to the snap. This is now using 64bit version of Notepad++ with wine64 on amd64 systems and 32bit version of Notepad++ on i386 systems. This snap is now using wine-platform snap so this has both i386 & amd64 wine pkgs earlier it was using wine-platform-i386 snap which only had wine i386 pkgs. So currently migrating to wine-platform snap from older wine-platform-i386 snap which is not done automatically when user updates the snap caused issue. I'm currently pushing changes to detect if user is still connected snap on older platform should ask to do these commands.



Run these commands will fix your issue.




  • snap disconnect notepad-plus-plus:wine-platform-plug


  • snap install wine-platform


  • snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable



If issue still exists then you have to remove win32 WINEPREFIX in order to create win64.




  • rm -r $HOME/snap/notepad-plus-plus/common/.wine






share|improve this answer





















  • It seems that I can add any comment. I tried using snap disconnect notepad-plus-plus:wine-platform-plug but it gives me the following error: error: snap "notepad-plus-plus" has no plug or slot named "wine-platform-plug" The command snap install wine-platform and does the due to installation. However, snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable gives an error message: snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable
    – user3571389
    2 days ago












  • I haven't tried rm -r $HOME/snap/notepad-plus-plus/common/.wine.Since I am new to Linux, can you please be more elaborate?
    – user3571389
    2 days ago












  • @user3571389 I tried this answer on my Ubuntu 18.04 and it worked without needing to run rm -r $HOME/snap/notepad-plus-plus/common/.wine. All I needed to do to fix the problem with Notepad++ not opening was to run the first three bullet point commands from this answer, one after another.
    – karel
    2 days ago








  • 1




    @karel not sure what I have done but it seems to be working now.
    – user3571389
    2 days ago















up vote
2
down vote



accepted










That issue is due to big changes made to the snap. This is now using 64bit version of Notepad++ with wine64 on amd64 systems and 32bit version of Notepad++ on i386 systems. This snap is now using wine-platform snap so this has both i386 & amd64 wine pkgs earlier it was using wine-platform-i386 snap which only had wine i386 pkgs. So currently migrating to wine-platform snap from older wine-platform-i386 snap which is not done automatically when user updates the snap caused issue. I'm currently pushing changes to detect if user is still connected snap on older platform should ask to do these commands.



Run these commands will fix your issue.




  • snap disconnect notepad-plus-plus:wine-platform-plug


  • snap install wine-platform


  • snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable



If issue still exists then you have to remove win32 WINEPREFIX in order to create win64.




  • rm -r $HOME/snap/notepad-plus-plus/common/.wine






share|improve this answer





















  • It seems that I can add any comment. I tried using snap disconnect notepad-plus-plus:wine-platform-plug but it gives me the following error: error: snap "notepad-plus-plus" has no plug or slot named "wine-platform-plug" The command snap install wine-platform and does the due to installation. However, snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable gives an error message: snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable
    – user3571389
    2 days ago












  • I haven't tried rm -r $HOME/snap/notepad-plus-plus/common/.wine.Since I am new to Linux, can you please be more elaborate?
    – user3571389
    2 days ago












  • @user3571389 I tried this answer on my Ubuntu 18.04 and it worked without needing to run rm -r $HOME/snap/notepad-plus-plus/common/.wine. All I needed to do to fix the problem with Notepad++ not opening was to run the first three bullet point commands from this answer, one after another.
    – karel
    2 days ago








  • 1




    @karel not sure what I have done but it seems to be working now.
    – user3571389
    2 days ago













up vote
2
down vote



accepted







up vote
2
down vote



accepted






That issue is due to big changes made to the snap. This is now using 64bit version of Notepad++ with wine64 on amd64 systems and 32bit version of Notepad++ on i386 systems. This snap is now using wine-platform snap so this has both i386 & amd64 wine pkgs earlier it was using wine-platform-i386 snap which only had wine i386 pkgs. So currently migrating to wine-platform snap from older wine-platform-i386 snap which is not done automatically when user updates the snap caused issue. I'm currently pushing changes to detect if user is still connected snap on older platform should ask to do these commands.



Run these commands will fix your issue.




  • snap disconnect notepad-plus-plus:wine-platform-plug


  • snap install wine-platform


  • snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable



If issue still exists then you have to remove win32 WINEPREFIX in order to create win64.




  • rm -r $HOME/snap/notepad-plus-plus/common/.wine






share|improve this answer












That issue is due to big changes made to the snap. This is now using 64bit version of Notepad++ with wine64 on amd64 systems and 32bit version of Notepad++ on i386 systems. This snap is now using wine-platform snap so this has both i386 & amd64 wine pkgs earlier it was using wine-platform-i386 snap which only had wine i386 pkgs. So currently migrating to wine-platform snap from older wine-platform-i386 snap which is not done automatically when user updates the snap caused issue. I'm currently pushing changes to detect if user is still connected snap on older platform should ask to do these commands.



Run these commands will fix your issue.




  • snap disconnect notepad-plus-plus:wine-platform-plug


  • snap install wine-platform


  • snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable



If issue still exists then you have to remove win32 WINEPREFIX in order to create win64.




  • rm -r $HOME/snap/notepad-plus-plus/common/.wine







share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









Taqi Raza

762




762












  • It seems that I can add any comment. I tried using snap disconnect notepad-plus-plus:wine-platform-plug but it gives me the following error: error: snap "notepad-plus-plus" has no plug or slot named "wine-platform-plug" The command snap install wine-platform and does the due to installation. However, snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable gives an error message: snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable
    – user3571389
    2 days ago












  • I haven't tried rm -r $HOME/snap/notepad-plus-plus/common/.wine.Since I am new to Linux, can you please be more elaborate?
    – user3571389
    2 days ago












  • @user3571389 I tried this answer on my Ubuntu 18.04 and it worked without needing to run rm -r $HOME/snap/notepad-plus-plus/common/.wine. All I needed to do to fix the problem with Notepad++ not opening was to run the first three bullet point commands from this answer, one after another.
    – karel
    2 days ago








  • 1




    @karel not sure what I have done but it seems to be working now.
    – user3571389
    2 days ago


















  • It seems that I can add any comment. I tried using snap disconnect notepad-plus-plus:wine-platform-plug but it gives me the following error: error: snap "notepad-plus-plus" has no plug or slot named "wine-platform-plug" The command snap install wine-platform and does the due to installation. However, snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable gives an error message: snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable
    – user3571389
    2 days ago












  • I haven't tried rm -r $HOME/snap/notepad-plus-plus/common/.wine.Since I am new to Linux, can you please be more elaborate?
    – user3571389
    2 days ago












  • @user3571389 I tried this answer on my Ubuntu 18.04 and it worked without needing to run rm -r $HOME/snap/notepad-plus-plus/common/.wine. All I needed to do to fix the problem with Notepad++ not opening was to run the first three bullet point commands from this answer, one after another.
    – karel
    2 days ago








  • 1




    @karel not sure what I have done but it seems to be working now.
    – user3571389
    2 days ago
















It seems that I can add any comment. I tried using snap disconnect notepad-plus-plus:wine-platform-plug but it gives me the following error: error: snap "notepad-plus-plus" has no plug or slot named "wine-platform-plug" The command snap install wine-platform and does the due to installation. However, snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable gives an error message: snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable
– user3571389
2 days ago






It seems that I can add any comment. I tried using snap disconnect notepad-plus-plus:wine-platform-plug but it gives me the following error: error: snap "notepad-plus-plus" has no plug or slot named "wine-platform-plug" The command snap install wine-platform and does the due to installation. However, snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable gives an error message: snap connect notepad-plus-plus:wine-platform-plug wine-platform:wine-base-stable
– user3571389
2 days ago














I haven't tried rm -r $HOME/snap/notepad-plus-plus/common/.wine.Since I am new to Linux, can you please be more elaborate?
– user3571389
2 days ago






I haven't tried rm -r $HOME/snap/notepad-plus-plus/common/.wine.Since I am new to Linux, can you please be more elaborate?
– user3571389
2 days ago














@user3571389 I tried this answer on my Ubuntu 18.04 and it worked without needing to run rm -r $HOME/snap/notepad-plus-plus/common/.wine. All I needed to do to fix the problem with Notepad++ not opening was to run the first three bullet point commands from this answer, one after another.
– karel
2 days ago






@user3571389 I tried this answer on my Ubuntu 18.04 and it worked without needing to run rm -r $HOME/snap/notepad-plus-plus/common/.wine. All I needed to do to fix the problem with Notepad++ not opening was to run the first three bullet point commands from this answer, one after another.
– karel
2 days ago






1




1




@karel not sure what I have done but it seems to be working now.
– user3571389
2 days ago




@karel not sure what I have done but it seems to be working now.
– user3571389
2 days ago



Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕