Wikipedia:Reference desk/Archives/Computing/2013 March 25

{{#ifeq:{{PAGENAME}}|Special:Undelete| |{{#if:|

}} {{#ifeq:{{NAMESPACE}}|Wikipedia|{{#switch:{{NAMESPACE}}|= |
}}|{{error:not substituted|Archive header}}
}}}} {{#if:|
}}
width = "100%"
colspan="3" align="center" | Computing desk
width="20%" align="left" | < March 24

! width="25%" align="center"|<< Feb | March | Apr >>

! width="20%" align="right" |{{#ifexist:Wikipedia:Reference desk/Archives/Computing/2013 March 26|March 26|Current desk}} >

align=center width=95% style="background: #FFFFFF; border: 1px solid #003EBA;" cellpadding="8" cellspacing="0"
style="background: #5D7CBA; text-align: center; font-family:Arial; color:#FFFFFF;" | Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is {{#ifexist:Wikipedia:Reference desk/Archives/Computing/2013 April 4|an archive page|a transcluded archive page}}. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.

__TOC__

= March 25 =

Safari Extensions

These are a useful collection of extensions on my Safari page on my computer. Can I get these on my iPad? if so I cannot see how. Any ideas please? — Preceding unsigned comment added by 85.211.138.47 (talk) 11:07, 25 March 2013 (UTC)

:As far as I know (or can tell) Safari extensions are not supported for iPad. --Mr.98 (talk) 20:17, 25 March 2013 (UTC)

Thanks, but that is a shame.85.211.138.47 (talk) 16:30, 28 March 2013 (UTC)

Where does [[Ubuntu (operating system)|Ubuntu]] store my installation files?

I've just installed The Battle for Wesnoth on my Ubuntu 12.10 32-bit PC, I do not know where the OS stores the game's music, sound effects, and saved gaming sessions. Please tell me where. Czech is Cyrillized (talk) 11:13, 25 March 2013 (UTC)

:I don't know the game specifically, but most local files on linux systems are stored in your home directory, but they start with a ., which makes them hidden in most file managers. If you're in the shell use ls -a to see the . prefixed files. Shadowjams (talk) 11:37, 25 March 2013 (UTC)

::I know Finlay answered already, but it's actually rare for installs to put themselves in your home directory. It's usually in /usr/share/, /usr/bin/, /etc/, and so forth. The . directories usually contain your saves and settings, which remains true in this case. --Wirbelwind(ヴィルヴェルヴィント) 22:01, 27 March 2013 (UTC)

: The game is installed into /usr/share/games/wesnoth/1.10/

: Specifically:

:* Music: /usr/share/games/wesnoth/1.10/data/core/music/

:* Sounds: /usr/share/games/wesnoth/1.10/sounds/ and /usr/share/games/wesnoth/1.10/data/core/sounds/

: Save game files are kept in ~/.local/share/wesnoth/1.10/saves/

: -- Finlay McWalterTalk 12:42, 25 March 2013 (UTC)

Bash comman history customization

Hello, I'd like to change the behavior of the "up arrow" key at the command prompt in Bash_(Unix_shell). In MATLAB, pressing "up" show all previous commands, one-by-one, with repeated presses (this is what my Bash on Ubuntu does by default). But, in Matlab, if you start to type in a command, e.g 'cd', then pressing "up" only cycles through previous commands that started with 'cd'. So- Can I do this in Bash? Can you help me with the appropriate code for configuration scripts? Thanks! SemanticMantis (talk) 16:29, 25 March 2013 (UTC)

:Yes, see [http://stackoverflow.com/questions/1030182/how-do-i-change-bash-history-completion-to-complete-whats-already-on-the-line here]. -- BenRG (talk) 17:28, 25 March 2013 (UTC)

::Thanks! However, putting those lines in my .bashrc does not make the expected change. It does do something different with the bindings/history, but less - does not return "less foo", which is the most recent command in history starting with 'less'. SemanticMantis (talk) 17:57, 25 March 2013 (UTC)

:::Nevermind, for some reason it worked in my .inputrc, but not in .bashrc. I also ended up putting in the few extra lines here:[http://stackoverflow.org/wiki/Inputrc_for_bash_history_completion_using_up/down_arrows]. SemanticMantis (talk) 18:05, 25 March 2013 (UTC)

{{resolved}}