Jump to content

ogle error


aze
 Share

Recommended Posts

Hi Folks! :headbang:

 

When starting ogle:

warning: failed to load external entity "/etc/oglerc"
WARNING[ogle_gui]: Couldn't load config file
ERROR[ogle_gui]: interpret_config(): Couldn't read /etc/oglerc

Edited by aze
Link to comment
Share on other sites

man oglerc

will give you and idea of what the file needs to look like, then just create it w/your favorite text editor (as root of course).

 

there should've been a copy of that file already there, however

 

but to make things a bit easier, here's a copy of my oglerc:

<?xml version="1.0"?>
<!DOCTYPE ogle_conf SYSTEM "/usr/share/ogle/ogle_conf.dtd">
<!-- This is the configuration file for ogle. (man oglerc(5)) -->
<ogle_conf>
 <dvd>
   <nav>
     <defaults>
<DefaultMenuLanguage>en</DefaultMenuLanguage>
<DefaultAudioLanguage>en</DefaultAudioLanguage>
<DefaultSubtitleLanguage>en</DefaultSubtitleLanguage>
<ParentalCountry>US</ParentalCountry>
<ParentalLevel>15</ParentalLevel>
<PlayerRegion>1</PlayerRegion>
     </defaults>
   </nav>
   <device>
     <path>/dev/dvd</path>
   </device>
 </dvd>
 <audio>
   <device>
     <driver>oss</driver>
     <path>/dev/dsp</path>
     <alsa>
<name>default</name>
     </alsa>
   </device>
<!-- if you have a multichannel card or spdif, uncomment/edit this part 
   <speakers>
     <channel_config>
<chtype>AC3</chtype>
     </channel_config>
     <channel_config>
<chtype>DTS</chtype>
     </channel_config>
     <channel_config>
<chtype>MPEG</chtype>
     </channel_config>
     <channel_config>
<chtype>LPCM</chtype>
     </channel_config>
     <channel_config>
<chtype>Left</chtype>
<chtype>Right</chtype>
     </channel_config>	
     <channel_config>
<chtype>Left</chtype>
<chtype>Right</chtype>
<chtype>RearLeft</chtype>
<chtype>RearRight</chtype>
<chtype>Center</chtype>
<chtype>LFE</chtype>
     </channel_config>	
   </speakers>
-->
   <liba52>
     <downmix_level>1.5</downmix_level>
     <drc>no</drc>
     <stereo_mode>dolby</stereo_mode>
   </liba52>
   <sync>
     <type>odelay</type>
     <resample>no</resample>
     <offset>0</offset>
   </sync>
 </audio>
 <video>
   <display>
<name></name>
<geometry>
         <width></width>
         <height></height>
</geometry>
<resolution>
         <horizontal_pixels></horizontal_pixels>
         <vertical_pixels></vertical_pixels>
</resolution>
<geometry_src>X11</geometry_src>
<resolution_src>Xinerama</resolution_src>
<switch_resolution>no</switch_resolution>
<ewmh_fullscreen>yes</ewmh_fullscreen>
<initial_state>
  <fullscreen>no</fullscreen>
</initial_state>
   </display>
 </video>
 <user_interface>
   <bookmarks>
     <autosave>yes</autosave>
     <autoload>no</autoload>
   </bookmarks>
   <digit_timeout>2</digit_timeout>
   <number_timeout>5</number_timeout>
   <default_skiptime>15</default_skiptime>
   <prevpg_timeout>1</prevpg_timeout>
   <bindings>
     <!-- Each binding contains an action and one or more keys.
          The keys are given as X11 keysyms -->
<b>	
  <action>Play</action>
  <key>p</key>
	 </b>
<b>	
  <action>PauseToggle</action>
  <key>space</key>
	 </b>
<b>	
  <action>Stop</action>
	 </b>
<b>	
  <action>Faster</action>
  <key>period</key>
	 </b>
<b>	
  <action>Slower</action>
  <key>comma</key>
	 </b>
<b>	
  <action>NextPG</action>
  <key>greater</key>
	 </b>
<b>	
  <action>PrevPG</action>
  <key>less</key>
	 </b>
<b>	
  <action>UpperButton</action>
  <key>Up</key>
	 </b>
<b>	
  <action>LowerButton</action>
  <key>Down</key>
	 </b>
<b>	
  <action>RightButton</action>
  <key>Right</key>
	 </b>
<b>	
  <action>LeftButton</action>
  <key>Left</key>
	 </b>
<b>	
  <action>ButtonActivate</action>
  <key>Return</key>
  <key>KP_Enter</key>
	 </b>
<b>	
  <action>TitleMenu</action>
  <key>t</key>
	 </b>
<b>	
  <action>RootMenu</action>
  <key>r</key>
	 </b>
<b>	
  <action>AudioMenu</action>
  <key>a</key>
	 </b>
<b>	
  <action>AngleMenu</action>
  <key>A</key>
	 </b>
<b>	
  <action>PTTMenu</action>
  <key>P</key>
	 </b>
<b>	
  <action>SubtitleMenu</action>
  <key>S</key>
	 </b>
<b>	
  <action>Resume</action>
  <key>c</key>
	 </b>
<b>	
  <action>SubtitleToggle</action>
  <key>s</key>
	 </b>
<b>	
  <action>FullScreenToggle</action>
  <key>f</key>
  <key>F</key>
	 </b>
<b>	
  <action>Quit</action>
  <key>q</key>
  <key>Q</key>
	 </b>
<b>	
  <action>BookmarkAdd</action>
  <key>Insert</key>
	 </b>
<b>	
  <action>BookmarkRemove</action>
  <key>Delete</key>
	 </b>
<b>	
  <action>BookmarkRestore</action>
  <key>b</key>
	 </b>
<b>	
  <action>DigitZero</action>
  <key>0</key>
  <key>KP_0</key>
	 </b>
<b>	
  <action>DigitOne</action>
  <key>1</key>
  <key>KP_1</key>
	 </b>
<b>	
  <action>DigitTwo</action>
  <key>2</key>
  <key>KP_2</key>
	 </b>
<b>	
  <action>DigitThree</action>
  <key>3</key>
  <key>KP_3</key>
	 </b>
<b>	
  <action>DigitFour</action>
  <key>4</key>
  <key>KP_4</key>
	 </b>
<b>	
  <action>DigitFive</action>
  <key>5</key>
  <key>KP_5</key>
	 </b>
<b>	
  <action>DigitSix</action>
  <key>6</key>
  <key>KP_6</key>
	 </b>
<b>	
  <action>DigitSeven</action>
  <key>7</key>
  <key>KP_7</key>
	 </b>
<b>	
  <action>DigitEight</action>
  <key>8</key>
  <key>KP_8</key>
	 </b>
<b>	
  <action>DigitNine</action>
  <key>9</key>
  <key>KP_9</key>
	 </b>
<b>	
  <action>SkipForward</action>
  <key>KP_Right</key>
  <key>Next</key>
	 </b>
<b>	
  <action>SkipBackward</action>
  <key>KP_Left</key>
  <key>Prior</key>
	 </b>
<b>	
  <action>SaveScreenshot</action>
  <key>i</key>
	 </b>
<b>	
  <action>SaveScreenshotWithSPU</action>
  <key>I</key>
	 </b>
   </bindings>
 </user_interface>
</ogle_conf>

Link to comment
Share on other sites

well you shouldn't have to (not sure why it doesn't already exist), but what you can do is open a terminal, su to root, run something like gedit, copy and paste the code, and save it as /etc/oglerc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...