Reputation
384
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 8
Newest
 Necromancer
Impact
~8k people reached

  • 0 posts edited
  • 0 helpful flags
  • 8 votes cast
Oct
19
answered Ubuntu 12.04LTS becoms slow and jerky randomly for a mintue and then becomes normal by itself
Aug
7
comment Writing custom Gnome/Mate screensaver with SDL
sorry to spam your question with comments, but to answer my own question (from here) quoting/paraphasing: "mate-screensaver is a simplified front-end/daemon for xscreensaver" ... "[xscreensaver has] the daemon, the config front-end, and the 'hacks'. The first two are replaced by mate-screensaver...The 'hacks' ('themes' in the gnome docs, most people probably think of them as the 'screensavers themselves') used by mate-screensaver are the same as the ones used by xscreensaver." ... but mate lacks all the config options of xscreensaver
Aug
7
comment Writing custom Gnome/Mate screensaver with SDL
This link applies to gnome-screensaver & xscreensaver (but not mate-screensaver), and you can reuse things across these two ( wiki.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions ).
Aug
7
comment Writing custom Gnome/Mate screensaver with SDL
can mate-screensaver (your question & first link) and gnome-screensaver (your second link) use the same customizations? mate-screensaver really needs more options; everyone uninstalls it as a result, usually replacing it with gnome-screensaver which has more options (themes). then there's the crowd that hates gnome-screensaver's limited options and installs xscreensaver. ...I'm not sure how or if a screensaver can be used/packaged for these different applications, so you may have to choose one first (mate/gnome/x), or explore if/how the saver could be used with multiple.
Jul
19
answered How to name a file in the deepest level of a directory tree
Jun
19
comment Validate Password for user account from shell script
Sounds like a bad idea...that means you have a clear-text list of every user's password, which you will want to keep in sync with whatever is being used for the OS authentication? It sounds like what you really want to do is to authenticate users against (some) existing service. You didn't say if the OS is authenticating against LDAP/NIS/etc-passwd or ssh public key authentication or...? Or, will your script passwd differ from the OS passwd? (Otherwise, obviously, if the user is logged-in, you can assume they are authenticated and there is no need to re-authenticate.)
Jun
19
answered issue with how newly made gnome launchers work vs launchers rebuilt after a system boot. (title change for clarity)
Jun
19
answered Noninteractive script running over ssh is interrupted as apt-get finishes
Jun
11
awarded  Commentator
Jun
11
comment Can I “export” functions in bash?
summarizing answers below (enzotib is correct, assuming you can use bash, as the question indicates): change #!/bin/sh to #!/bin/bash and after doit() {...} just export -f doit
Mar
14
comment How can I check if two gzipped files are equal?
true, md5sum isn't necessary to compare (unless you already have them generated); I just used it since derobert used it. zgrep is just a script that basically does gunzip and grep (or sed as the case may be), so there is little difference there. the script as posted is intentionally shown as a chain of pipes with pluggable parts; what's the fun in merging everything down into a single command?
Mar
14
answered How can I check if two gzipped files are equal?
Mar
3
comment How to detect particular system call called or not in a whole workflow?
How about dtrace? (what OS?)
Jan
30
comment What are ./ and ../ directories?
@Adam yes, that will probably do the trick ("ls -b | wc -l"); you can also use the "-1" (dash + number one) which forces a listing in a single column instead of all on a single line, but that happens anyway when piping to another command. So (imho) I'd leave it as "ls -1b | wc -l" ; and to "test", run "ls -1b" and count the number of lines, then run "ls -1b | wc -l" and verify the results. (That's how to debug/test pipes.)
Nov
29
comment Differences between VNC and ssh -X
@simona after the successful ssh login, then run screen: ssh user@host ; and after logged in: screen bash ; to disconnect, ctrl+a followed by ctrl+d. You can logout and login again, then: screen -ls and screen -r. Exiting bash exits the screen session. For more (much more), see various tutorials on GNU screen
Nov
16
comment Differences between VNC and ssh -X
Although a bit OT (since this Q is presumably only about GUI apps): if an actual GUI app is not required, and just basic shell access will do (e.g., xterm), then do "ssh" followed by "screen bash". If disconnected (laptop closed,vpn disconnected, etc), the remote shell stays active. Re-login & re-connect via "screen -r". I only bring this up since I've seen people run vnc just for basic shell access (or run a remote xterm displayed locally); most of the time (but of course not always), simple shell access will suffice.
Nov
12
comment Where is the core of Unix?
i remember year-long debates on terminology and "unix-ness" (back in comp.unix.*)... agreeing to disagree is a good idea. But, Rob is correct :-)) The distaste for the verbosity of "unix-like" led to the moniker "Un*x"; plus, "Unix" is a registered trademark, and most of us scruffy-beard types don't care for terms or software that restricts use. So please forgive us (old dogs) our persnickety tendencies. And to all noobs: know what is unix vs linux, just to save yourself the flames in all the forums out there less hospitable than this one.
Nov
10
revised Where is the core of Unix?
added 42 characters in body
Nov
10
comment Where is the core of Unix?
The question seems to be about building an OS from scratch; LFS is about building a (new) Linux distribution from scratch. For example if @Justin wanted a "JustIX" distro of Linux to complete with Mint, rather than actually developing a kernel separate from Unix/Linux, while at the same time building on the knowledgebase and legacy of Un*x.
Nov
10
answered Where is the core of Unix?