LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2014, 02:13 AM   #1
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Rep: Reputation: Disabled
configuration of wyrd


I am trying to use wyrd and remind on my computer (latest Crunchbang Linux)

Editing from wyrd is not possible. I get the error message:
Quote:
Error when launching editor; configure a different editor in ~/.wyrdrc .
I found the configuration file for wyrd in etc/wyrdrc

Opening up the file gives:
Code:
# Wyrd run-configuration file

# command for the Remind executable
set remind_command="remind"
# the default reminder file to display
set reminders_file="$HOME/.reminders"
# command for editing an old appointment, given a line number %line% and filename %file%
set edit_old_command="${VISUAL:-$EDITOR} +%line% %file%"
# command for editing a new appointment, given a filename %file%
set edit_new_command="${VISUAL:-$EDITOR} +999999 %file%"
# command for free editing of the reminders file, given a filename %file%
set edit_any_command="${VISUAL:-$EDITOR} %file%"
QUESTION: how to configure this? Suppose I want to use nano?
 
Old 07-20-2014, 04:03 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try this.

In a terminal, enter echo $EDITOR. If you get no return, then you haven't set the bash environment variable EDITOR.

Edit your .bashrc and add this line: export EDITOR=/bin/nano, or the path to nano on your system (in a ternimal, which nano will give the path).

Then give the command source .bashrc to reload your environment variables and get the new EDITOR variable.

Then try running wyrd.
 
1 members found this post helpful.
Old 07-21-2014, 03:37 AM   #3
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Original Poster
Rep: Reputation: Disabled
Thank you for your answer, bigrigdriver.
 
Old 07-21-2014, 03:50 AM   #4
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Original Poster
Rep: Reputation: Disabled
wyrd

That didn't work out. I put this in my .bashrc file:
Code:
# setting the editor
export EDITOR=usr/bin/nano
Then I restarted my computer. And got the same message from wyrd:"Error when launching editor; configure a different editor in ~/.wyrdrc ."
 
Old 07-21-2014, 03:55 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by validator456 View Post
That didn't work out. I put this in my .bashrc file:
Code:
# setting the editor
export EDITOR=usr/bin/nano
Then I restarted my computer. And got the same message from wyrd:"Error when launching editor; configure a different editor in ~/.wyrdrc ."
Should be:
Code:
export EDITOR=/usr/bin/nano
Forward slash before usr.
 
1 members found this post helpful.
Old 07-21-2014, 04:19 AM   #6
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Original Poster
Rep: Reputation: Disabled
Yes, that worked. Thank you, BrianL.
 
  


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] configuration error: Can't find Tcl configuration definition schattkab Linux - Software 3 01-28-2015 11:22 AM
System wide configuration parameters in configuration files (/etc, e.g.) Kromitvs Linux - Newbie 15 06-06-2013 05:11 PM
Where to Add mod_evasive configuration to Apache configuration file.? Unknown3r Linux - Newbie 1 11-04-2012 10:09 AM
[SOLVED] Equivalent files in Arch configuration of services to Debian configuration... Alexvader Debian 2 10-17-2011 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 PM.

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