Libraryless. Click here for Pure Java version (1211L/9K/29K).
!752 p { S imageID = or2(get(args, 0), "#1002132"); // Eleutheria File img = loadImageAsFile(imageID); S cmd = "pcmanfm " + bashQuote("--set-wallpaper=" + img) + " --wallpaper-mode=center"; print(backtick(cmd)); print("Wallpaper set to " + imageID + ", centered!?"); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004272 |
| Snippet name: | Try Setting Desktop Wallpaper On Peppermint Linux [WORKS!] |
| Eternal ID of this version: | #1004272/1 |
| Text MD5: | 813ed62e79b77ef25808f726e54a8501 |
| Transpilation MD5: | 4bee0e003e8601fa5abdab988d63378e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-12 15:00:24 |
| Source code size: | 292 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 716 / 841 |
| Referenced in: | [show references] |