Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Shortcut menu help, sleep timer
« previous next »
  • Print
Pages: [1]

Author Topic: Shortcut menu help, sleep timer  (Read 6816 times)

Offline joshritger

  • Member
  • *
  • Posts: 7
Shortcut menu help, sleep timer
« on: December 07, 2011, 10:28:51 PM »
How do I make a shortcut in the new shortcut menu to link to the sleep timer. I use the sleep timer alot and now it is harder to find in the settings menu.

I have tried making shortcuts to the sleep timer but they don't seem to work no matter what I type in.

Thanks,
Josh
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Shortcut menu help, sleep timer
« Reply #1 on: December 08, 2011, 12:11:25 AM »
Don't tihnk it can be done right now. If i remember I'll have a play tonight and see if that can be fixed
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Shortcut menu help, sleep timer
« Reply #2 on: December 08, 2011, 05:21:48 AM »
http://svn.rockbox.org/viewvc.cgi?view=rev;revision=31178

Use "type: time" and "data: talk" to have the time voiced when the shortcut is run.
use "type: time" and "data: sleep X" where X is the number of minutes to run the sleep timer for (0 means disable)
the name field is required
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline joshritger

  • Member
  • *
  • Posts: 7
Re: Shortcut menu help, sleep timer
« Reply #3 on: December 08, 2011, 08:46:31 PM »
I am stumped, I have tried what you suggested and it still doesn't work.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Shortcut menu help, sleep timer
« Reply #4 on: December 08, 2011, 08:50:51 PM »
are you using the current build and not a release build?
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline joshritger

  • Member
  • *
  • Posts: 7
Re: Shortcut menu help, sleep timer
« Reply #5 on: December 09, 2011, 07:22:25 PM »
I downloaded the most recent current build two days ago. The version is r31173-111207. I will try updating to todays current build. I fill out the shortcut config per the manual and what you say and I get nothing under shortcuts.

This is my current config:

[shortcut]
type: time
data: sleep 45
name: Sleep


Oh and this is on a Sansa Fuze V.2 if that matters, the sleep timer does work from the settings menu

Thanks,
Josh


Post Merge: December 09, 2011, 07:29:50 PM
I retract my previous post, I updated to todays current build and now the shortcuts work.

Thanks for your help.
« Last Edit: December 09, 2011, 07:29:50 PM by joshritger »
Logged

Offline Burrhus

  • Member
  • *
  • Posts: 12
Re: Shortcut menu help, sleep timer
« Reply #6 on: December 31, 2011, 12:44:23 AM »
Hello.

I am very interested in the new shortcut menu, for the same reason, on a Sansa Clip+, using the build 31469.

Here is what I am doing :
I create a file in :
.\rockbox\

I name that file
shortcuts.txt

In that file, I put the following lines :
[shortcut]
type: time
data: sleep 30
name: Sleep


When using the sansa clip+, the shortcuts menu remains empty.

When I'll get this shortcut working, I would like to complete it with another one, being something like
[shortcut]
type: time
data: sleep 0
name: NoSleep


Could someone be kind enough to correct me ?

Thanks in advance.

--

By the way, I use this thread to warmly thank all the clever and generous contributors who made and continue making Rockbox such a great software.

Burrhus.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Shortcut menu help, sleep timer
« Reply #7 on: December 31, 2011, 05:23:23 AM »
that *looks* correct, i need to check when i have more time.. (i.e not NYE :) )
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline nick_p

  • Member
  • *
  • Posts: 115
Re: Shortcut menu help, sleep timer
« Reply #8 on: December 31, 2011, 06:01:19 AM »
Quote from: Burrhus on December 31, 2011, 12:44:23 AM
I create a file in :
.\rockbox\

I name that file
shortcuts.txt

I'm sure it's a typo, but just in case, the file ought to be /.rockbox/shortcuts.txt (note the '.' at the start of rockbox)
Logged

Offline Burrhus

  • Member
  • *
  • Posts: 12
Re: Shortcut menu help, sleep timer
« Reply #9 on: December 31, 2011, 09:23:12 AM »
Thank you for your first answers and clues.

Of course, I made a typo, the directory where I wrote the file is
\.rockbox\

Anyhow, as you pointed my usual finger clumsyness associated do my not-so-rare lack of attention, I checked every typo I could have made, either on the sansa clip plus, or here reporting.

It seems it was the only one.

Happy party to everyone.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Shortcut menu help, sleep timer
« Reply #10 on: January 02, 2012, 12:33:07 AM »
hmm, no idea why that isnt working, I copied the text from your post and it works fine here :(
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Burrhus

  • Member
  • *
  • Posts: 12
Re: Shortcut menu help, sleep timer
« Reply #11 on: March 08, 2012, 11:26:14 PM »
I come back on an old topic, I have worked out my non-working shortcuts.

I work on Windows. I edit the text file with Notepad++.

When I type the text file, it contains <CR><LF> at the end of the lines (for <Carriage Return> and <Line Feed>).

When I add a new shortcut using the rockbock menu and the Sansa Clip plus buttons, it append the shortcuts file, but the lines ends with <LF>. Those shortcuts (the appended part of the text file) works perfectly, and Rockbox is ignoring my previous lines.

After many acrobatics tries, I managed to make a text file without <CR>, with lines ending only with <LF>, and now my sleep shortcuts works perfectly.

Maybe this can help windows-users... Maybe ROCKbox could disregard the <CR> inserted by Windows text files.

Many thanks to the ROCKbox team.

Burrhus.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Shortcut menu help, sleep timer
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.081 seconds with 14 queries.