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

Computing desk
< March 24 << Feb | March | Apr >> March 26 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


March 25

edit

Safari Extensions

edit

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)[reply]

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

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

Where does Ubuntu store my installation files?

edit

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)[reply]

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)[reply]
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)[reply]
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)[reply]

Bash comman history customization

edit

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)[reply]

Yes, see here. -- BenRG (talk) 17:28, 25 March 2013 (UTC)[reply]
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 - <up arrow> does not return "less foo", which is the most recent command in history starting with 'less'. SemanticMantis (talk) 17:57, 25 March 2013 (UTC)[reply]
Nevermind, for some reason it worked in my .inputrc, but not in .bashrc. I also ended up putting in the few extra lines here:[1]. SemanticMantis (talk) 18:05, 25 March 2013 (UTC)[reply]
  Resolved