LinuxQuestions.org
Help answer threads with 0 replies.
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 10-25-2017, 06:38 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,992

Rep: Reputation: 175Reputation: 175
Can't install font in /usr/share/fonts/opentype


I'm using Midnight Commander and I know how to copy and paste a file in the regular home directory but when I go to do it in the file system, it won't let me. (screenshots) I figure I need to be root to do it but I couldn't figure out how. Thanks.
Attached Thumbnails
Click image for larger version

Name:	Selection_228.png
Views:	10
Size:	20.2 KB
ID:	26175   Click image for larger version

Name:	Selection_229.png
Views:	6
Size:	18.5 KB
ID:	26176  
 
Old 10-25-2017, 08:03 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,521
Blog Entries: 28

Rep: Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451
Midnight Commander is an ncurses program, so you can started from the command line with sudo or after su, depending on how your distro is configured. In that way, root will be running the program and it will have root privileges.

Indeed, depending on your desktop environment, you may be able to start GUI programs in the same way without difficulties.

Last edited by frankbell; 10-25-2017 at 08:06 PM.
 
2 members found this post helpful.
Old 10-26-2017, 03:20 AM   #3
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Location: Apples
Distribution: Apple-selling shops, markets and direct marketing
Posts: 1,176
Blog Entries: 30

Rep: Reputation: 669Reputation: 669Reputation: 669Reputation: 669Reputation: 669Reputation: 669
Quote:
Originally Posted by frankbell View Post
Indeed, depending on your desktop environment, you may be able to start GUI programs in the same way without difficulties.
gksudo and kdesudo come to mind.
Otherwise, write your own graphical sudo with yad or zenity.

Last edited by Michael Uplawski; 10-26-2017 at 03:21 AM. Reason: "Z"
 
1 members found this post helpful.
Old 10-26-2017, 12:45 PM   #4
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,992

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by frankbell View Post
Midnight Commander is an ncurses program, so you can started from the command line with sudo or after su, depending on how your distro is configured. In that way, root will be running the program and it will have root privileges.

Indeed, depending on your desktop environment, you may be able to start GUI programs in the same way without difficulties.
Thanks Frank. The sudo mc in the terminal worked perfectly.
 
Old 10-26-2017, 12:46 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,992

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by Michael Uplawski View Post
gksudo and kdesudo come to mind.
Otherwise, write your own graphical sudo with yad or zenity.
Thanks Michael.
 
  


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
[SOLVED] Confusion. PDF export with OpenType fonts Michael Uplawski Linux - Software 8 12-25-2016 05:25 PM
LXer: Linux: OpenType Font Challenge LXer Syndicated Linux News 0 06-20-2011 03:42 AM
[SOLVED] How to get MS fonts installed on /usr/share/fonts ? marco@slack Linux - Software 3 06-27-2009 06:59 AM
OpenType Fonts? carboncopy Slackware 4 06-11-2007 09:12 AM
Adding OpenType (OTF) fonts to X in Slackware 10.2 Yalla-One Slackware 24 06-11-2007 09:06 AM

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

All times are GMT -5. The time now is 03:11 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