LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2014, 08:15 AM   #1
nacef
LQ Newbie
 
Registered: Nov 2014
Posts: 4

Rep: Reputation: Disabled
RHEL 7 - Create an empty file graphically


Okay this may seem weird, it's been 1 mounth i've been using RHEL7 and it's the first time I've noticed that the Right Click -> Create Empty file is not present, only create folder is there.

I've always, and still, used the touch command to achieve that but a friend using rhel7 in graphic mode most of the time encountered this?

Any idea about that? has this feature been removed in RHEL 7?

Thanks.
 
Old 11-14-2014, 07:47 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i use 6 and will likely for a long time yet
but
there should be a "create new folder"
and "create new text file "

but
you might have to set the r-click menu activities
 
Old 11-17-2014, 04:29 AM   #3
nacef
LQ Newbie
 
Registered: Nov 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you John for your reponse, I can confirm there is no create new file entry.

Could you please tell how the r-click menu can be customized in rhel7?

Last edited by nacef; 11-17-2014 at 08:18 AM.
 
Old 11-19-2014, 09:53 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
from a VM with cent7
i still hate Gnome 3 even more now than last year with fedora 18 and 19

for gnome3
open a terminal
Code:
cd /to/the/location
touch NewText.txt
the terminal solves the problem
 
Old 11-19-2014, 10:07 PM   #5
nbritton
Member
 
Registered: Jun 2013
Location: Dubuque, IA
Distribution: Red Hat Enterprise Linux, Mac OS X, Ubuntu, Fedora, FreeBSD
Posts: 89

Rep: Reputation: Disabled
http://unix.stackexchange.com/questi...ght-click-menu
 
Old 11-19-2014, 10:14 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
that stackexchange post is for cent6 with Gnome2

not cent7 with gnome3
 
Old 11-20-2014, 05:42 AM   #7
nacef
LQ Newbie
 
Registered: Nov 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you guys, I finally found out that creating an empty folder named Templates under home ~ and touching a file named new brought back the create new file with r-click.

Source: https://wiki.archlinux.org/index.php..._3.6_and_above
 
Old 11-20-2014, 06:09 AM   #8
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by nacef View Post
Thank you guys, I finally found out that creating an empty folder named Templates under home ~ and touching a file named new brought back the create new file with r-click.

Source: https://wiki.archlinux.org/index.php..._3.6_and_above
wow, what a solution,
any gnome guy who knows what the advantage of this solution with the template dir is?
 
Old 11-20-2014, 10:03 AM   #9
nacef
LQ Newbie
 
Registered: Nov 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
What I've understood, is the fact that like its name indicates, the template folder can contain "Templates" of documents (or other files) that would be displayed in the context menu. If for example you create an empty LibreOffice Sheet file (with or without content), you'll find it in your right click menu.
 
2 members found this post helpful.
  


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
Program (or code?) to create empty file with specified permissions hydraMax Programming 14 01-06-2011 01:24 PM
[SOLVED] logrotate not create empty file malikperera Linux - Server 1 03-24-2010 06:30 PM
create empty file in script roadrash Linux - General 2 10-26-2009 07:33 PM
how do i create an empty bash(.sh) file in command line? bbmak Linux - Newbie 1 10-26-2007 02:39 AM
Can you create an empty file and specify the byte length? harryo Linux - General 3 02-25-2004 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 AM.

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
Open Source Consulting | Domain Registration