0

I work in Ubuntu 16.04 LTS and I have Unreal Engine installed. As you know, UE is only for MacOS and Windows, so I had to use the source code from Github. I installed it, but if I move the UE folder from Desktop to Downloads and try to run the shortcut, it says that it couldn't(even if I modify the UE's folder's location from Properties). Because I hate putting too much shortcuts/files on Desktop, I want to hide the file for UE. Do you think if I hide the folder,the shortcut will work? If yes, can you tell me how to hide it?

The UE's folder is on the Desktop. If I move it anywhere on the PC and change the path in the shortcut:

enter image description here

OR

enter image description here

So, what should I do?

P.S. : This video shows you how does the UE responds to the modify.

Thanks, Matthew

Matthew
  • 75
  • 1
    You can hide files and folders by adding a dot, ".", to the beginning of the name. For example, if the name is EU, then .EU will be hidden. – mikewhatever Mar 30 '18 at 19:28
  • Put a dot at the beginning of the folder on desktop, then change the location in properties, see if it works. – Ravexina Mar 30 '18 at 19:33
  • 1
    @mikewhatever Renaming a file/folder to include a leading . (dot) character will make that folder unaccessible by the application that uses it. – heynnema Mar 31 '18 at 01:06
  • @Ravexina Renaming a file/folder to include a leading . (dot) character will make that folder unaccessible by the application that uses it. – heynnema Mar 31 '18 at 01:08
  • So, as I can understand, if I hide the UE's folder, the shortcut won't open UE because it can't see the folder. Do you think that if I move the folder to usr/share or /opt and then modify the path to the folder in shortcut's properties will work? If no, do you have another idea to make this issue working? – Matthew Mar 31 '18 at 07:50
  • @heynnema not if you change its path in the application, right? – Ravexina Mar 31 '18 at 08:08
  • What do you mean? To modify from the setup.sh? – Matthew Mar 31 '18 at 09:43
  • 1
    @Ravexina IF you have access to the source code for the application, and IF you're able to locate all references to the UE folder, etc. – heynnema Mar 31 '18 at 13:04
  • @Matthew please see my updated answer. If it works for you, it would be the easiest solution. – heynnema Mar 31 '18 at 13:06
  • @heynnema read my first comment again, I didn't say (just rename the directory) ;) – Ravexina Mar 31 '18 at 15:06

1 Answers1

4

Create a text file called .hidden at the top level of your home directly. In this text file, add the name of the file/folder to hide. Log out, log in, and that file/folder will no longer be displayed.

Update: #1 As was pointed out, the .hidden file that you create may need to be placed in the directory where the file that you wish to hide is, so in your case, in ~/Desktop.

In terminal...

pico ~/Desktop/.hidden # to create/edit the file

UnrealEngine

control+o # to save your edits

hit Return key to confirm filename to save to

control+x # to exit the editor

log out

log in

heynnema
  • 70,711
  • Don't you mean in "Create a text file called .hidden in ~/Desktop/" instead of "at the top level of your home"? OP wants to hide a file located at Desktop. I don't think putting Desktop/filename in ~/.hidden will work. – pomsky Mar 31 '18 at 02:11
  • 1
    @pomsky you may be right. I've updated my answer. – heynnema Mar 31 '18 at 12:59
  • Please read the question again... – Matthew Mar 31 '18 at 13:15
  • @Matthew I reread the question. I made a slight edit to my update. Is there something specific that you'd like to point out that maybe I'm missing? – heynnema Mar 31 '18 at 13:22
  • Do you think the shortcut will see the folder? – Matthew Mar 31 '18 at 13:34
  • @Matthew are you asking about the "UnrealEngine Editor" icon that's on your Desktop? Using the .hidden method won't change how that works. The UE folder will just not be visible in Nautilus. – heynnema Mar 31 '18 at 13:43
  • No. I'm asking about the folder with UE's source code. – Matthew Mar 31 '18 at 18:38
  • @Matthew you're going to have to clarify what the path to UE's source code folder is. What shortcut? I thought that your problem was with the UnrealEngine folder on your desktop. You've lost me. – heynnema Mar 31 '18 at 20:19
  • So I have a shortcut and the folder of UE. I want to move the folder from Desktop, because I don't want to have too much things on it. If I move the UE's folder from Desktop anywhere on the PC and change the path to the folder from the shortcut, it displays 2 error messages that are displayed in the question. The question is "How to move UE's folder to make it working?". – Matthew Apr 01 '18 at 14:40
  • @Matthew Leaving the shortcut, and the UnrealEngine folder, in their normal places on the Desktop, go ahead and follow the instructions that I put into Update #1 in my answer. When you log back in the UnrealEngine folder should be hidden. Report back. – heynnema Apr 01 '18 at 16:00
  • Can you make a video to show me exactly? Sorry for my bad knowledge...because I write pico ~/Desktop/.hidden then write"UnrealEngine", then I press control-o and then I have other commands excluding control-x... – Matthew Apr 01 '18 at 19:05
  • @Matthew after control-o you have to hit the return key to confirm the filename to save to. – heynnema Apr 01 '18 at 19:25
  • Yeah I press control-c (return), then control-x. It asks if i want to save the changes and I press Y. It returns me at the main menu. – Matthew Apr 01 '18 at 19:33
  • 1
    Not control-c. Please read the updated instructions carefully. control-o, return, control-x. – heynnema Apr 01 '18 at 20:19