topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 25, 2024, 2:02 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jgpaiva [ switch to compact view ]

Pages: prev1 2 3 4 5 [6] 7 8 9 10 11 ... 184next
126
Living Room / Re: Is Linux just a hobby?
« on: July 24, 2012, 06:42 PM »
Perhaps I'll have to explore these methods in the next video.  I want to learn how to install ANY Linux-comaptible program I come across into whatever distro I'm using.  I'm sure that means a fair amount of compiling and other stuff in the terminal, so that's the goal. 
I'm not sure if that's the right way to go about it. Honestly, the "app store" (or whatever it is) method works pretty well for 90% of the cases. The "install from binary" method works for 9.9% of the cases. And then from the remaining 0.1%, 90% works after some "./configure && make install" voodoo. However, I imagine there are hundreds of different and specific ways to install stuff in the 0.01% remaining, which realistically you'll never need unless you require some very specific tool.
What I'm saying is: start with the basics and learn lazily, have fun using linux instead of trying to learn every single manual page because that'll kill your experience for no reason.

So, next time you try to install something in linux from a web site, search for the binaries (if you really want to not use the "app store" :P ). Since you're using something based on debian, you should be able to find the binaries for pretty much anything. For Krusader, the instructions were here: http://www.krusader.org/get-krusader/

DISCLAIMER: all statistics in this post were made up on the spot, based on my own experience. YMMV

127
Living Room / Re: Is Linux just a hobby?
« on: July 24, 2012, 04:56 PM »
^^Thanks 40, good stuff there.  I'll have to go through those eventually.  Maybe I'll do more videos like that showing me struggling through all this in real time!
+1!
I'd really like to see more, it's always fun to understand where people have problems with anything on the first time they use it. Even if I'm not developing a OS, it's a learning experience since it allows to predict what kind of stuff works badly.

It follows me automatically.  It's the new Logitech 920 webcam, I've really been digging it lately.
Awesome :) And it works perfectly!

Also, since I have some more time now, here's the two largest problems I believe stomped you:
1 - directories in unix are case sensitive ("Downloads" and not "downloads" ;) )
2 - you were missing some dependencies. In particular, your distribution runs the Gnomew window manager, and the program you tried to install needs KDEw. This is a common problem, but had you used some package manager instead of installing from source and you wouldn't have this problem.

Also, there's a third way to install stuff (which is mostly painless) that you haven't tried (which is the one that is equivalent to installing stuff in Windows): downloading compiled binaries and installing them using a package manager ("apt-get" or "aptitude", for example). An example of this is Opera.

128
Warner is being sued for "dramatizing violence".
So, he was watching the movie (I suppose not against his will but because he liked it) and now he's suing warner? Isn't that a bit hypocritical of him?
Also, I don't want TSA to be at the door of every single room with more than 20 people I enter. This can only end badly.

129
Living Room / Re: Is Linux just a hobby?
« on: July 24, 2012, 09:54 AM »
You can watch the screencast here:
http://minus.com/lbaph37Mp5JOcB

You can download it also.  It's about 29 minutes, 80 MB.  I go through attempting a command line installation on Linux Mint.  It's all done in real time, and it's my actual first time trying to do it.
That made me smile so many times :) Thanks a lot!
Also, I really wasn't expecting the bonus ending. Nice! :D

I really think that the comparison you made,"this is harder than double-clicking the exe and pressing next-next-next", isn't exactly fair since you tried installing from source, so you would have to compare with installing from source in windows also (which would be a pretty similar experience, I guess).
Now, let's try to keep this discussion civilized, guys :)

PS: did you have anyone operating the camera or is it smart enough to follow you?  :-\

130
I'm a bit addicted to their shows  :-[
The whole show is on youtube (unfortunately there are only 2 seasons :( ). If you liked the clips mouser posted, you should check out the full shows!

131
Site/Forum Features / Re: Rearranging some board sections
« on: July 21, 2012, 11:09 AM »
I would re-arrange the "other software" section in a different way, to avoid inciting advertisement spam:

Found Deals and Discounts
Developer's Corner
Announce Your Software/Service/Product
DC Gamer Club

But other than that, looks good to me :)

132
Site/Forum Features / Re: Rearranging some board sections
« on: July 21, 2012, 10:40 AM »
Shouldn't "General Software Discussion" be above "Living Room"? It sounds strange to have a board that's described as "General discussions and topics that don't fit in other sections" at the top of the list :)

133
Just to clarify: is it reproducible? If you try to open the same file again, does it crash again?

How about opening it through another way? (run dialog, farr?)

134
Living Room / Re: Is Linux just a hobby?
« on: July 19, 2012, 07:51 PM »
Yes, it can get that large, at least in Ubuntu. But unfortunately, it doesn't mean more room for more icons. It can only hold the same amount, but the icons resize themselves to be HUGE!
Yeah, that does look like a poor design decision. So, basically, it doesn't wrap to more lines? But if you're really interested in setting it up like that, I'm sure we could find a way somehow to do something similar. I'd say we might have to take a look at KDE instead of gnome, though.

why would anyone want it like that?
(sic)
I'm sorry, I was being silly but my comedic tone did not transpire from my writing. I know fully well how much you really like it like that :)

135
Living Room / Re: Need Critique On This Image
« on: July 19, 2012, 07:22 PM »
That eye will surely give me nightmares :P
Also, what's that thing on the top, and why is it not chrome like the rest of the [pocketwatch?] ?
And I preferred when everything was contained inside the center, it looked more contained and seemed like we were looking through a glass at something. I'm not a fan of those while lines (also, they seem to symmetrical on the bottom).

136
Living Room / Re: Is Linux just a hobby?
« on: July 19, 2012, 07:17 PM »
 ;D ;D ;D This thread certainly has taken a funny turn!
superboyac: I'm looking forward to that screencast. I'm actually curious about how complicated that can get. Have you selected the program yet? That makes all the difference, I guess (especially if you select one that isn't in the repositories). I suggest something simple such as rythmbox (if that's installed already, then try banshee). Then maybe you can try something that is not in the repositories, such as Opera. I'm pretty sure you'll be surprised how the first one is so simple, and YMMV for the second one :P

app: actually that's a good question, can linux's taskbar be that scary?  ;D I don't think it can get that large (why would anyone want it like that?  :P), but I may be wrong.

137
jgpaiva yea it's work, but not so cool like altdrag or other functional programs  :(
What are you missing?

138
Living Room / Re: Need Critique On This Image
« on: July 19, 2012, 12:24 PM »
I can't understand what this is for, the only thing that occurs is what SJ said: press button to end world.
However, I feel the button should not have that oval thing, it should be a rectangle. I've never seen it with that oval shape and it feels strange. examples

139
Ok, I've updated the above post to include code that actually has been tested and works! :P

140
Living Room / Re: Is Linux just a hobby?
« on: July 19, 2012, 08:03 AM »
Hahaha, Ubuntu. Being different is their only purpose.
Ubuntu are that kind of annoying. I'd like to know the reasons behind that decision (but I'm too lazy to search :P ). The only plausible justification for me is to avoid invalidating the hundreds of tutorials out there that use apt-get. However, even that sounds like a non-problem, it'd be a matter of warning the user that they should use aptitude instead, when she tries to use apt-get. (or just tell them to RTFM and lose more users to mac?)

Not if they start with chapter 1 which usually teaches the basics.
To be honest, I'm a CS phd student, I've used linux for 5 years and I have no idea what you're talking about :) Is that "man man"? Are the users supposed to figure that out when someone replies "RTFM"? Also, typing "man" in the console gets the very useful message "What manual page do you want?", and "man 1" (for page 1? ;) ) gets "No manual entry for 1 (Alternatively, what manual page do you want from section 1?)" and "man 1 1" (for section 1, page 1? ;) ) gets "No manual entry for 1 in section 1".

Also, the manual does not answer questions like "how can I install new software"
It does. Search for "install software".  :P
Yeah, I really like its awesome question-answering algorithms to figure out answers to newbie questions. I'm sure newbies love it too.

Maybe I'm biased, but there's no way you're ever going to convince me that RTFM is a helpful reply to someone who has never used linux or a console at all, so maybe it's best that we do not pursue this issue anymore.

141
Living Room / Re: Is Linux just a hobby?
« on: July 19, 2012, 04:14 AM »
apt-get is officially deprecated, usage of aptitude is encouraged.
Actually, aptitude was removed in the most recent versions of ubuntu. I do agree with you, though: its conflict resolution is much superior to apt-get.

Also you don't have to know exact package names, modern package managers are able to suggest the right package when you type the binary name.
Also, there's "apt-get search". Very useful stuff indeed.

... Also, RTFM is the most helpful answer I could imagine. If everyone would RTFM more, there were no stupid questions anymore.
I don't think so. The manual was built for people who have reached a certain level of knowledge. If you can't understand what it says, search on it, switch pages, etc then it's useless. Also, the manual does not answer questions like "how can I install new software" unless you know where to look, which would require you to also know the answer to your question :P

142
Living Room / Re: Is Linux just a hobby?
« on: July 18, 2012, 07:08 PM »
Hey! Be nice to the newcomers.  :eusa_naughty:

Only problem is you need to know the exact name in the repository to do it via the CL.

BTW: I'd prefer sudo apt-get update followed by sudo apt-get install inkscape  ;D
Also, anything that involves opening a console would probably qualify as "programmer-skills".
But I do disagree with superboyac: installing stuff in linux is 100 times easier than in windows.
Actually, now that I think about it, windows is the worst OS from this point of view: installing in Mac is even easier than linux: since the introduction of the app store, the app's site can have a link that opens the app's page in the app store where it's one click away from download and install.

143
I see.
I modified the easywindowdrag script to include the resizing stuff.
See below:
; This script was inspired by and built on many like it
; in the forum. Thanks go out to ck, thinkstorm, Chris,
; and aurelian for a job well done. Modified by jgpaiva

; Change history:
; November 07, 2006: Optimized resizing code in !RButton, courtesy of bluedawn.
; February 05, 2006: Fixed double-alt (the ~Alt hotkey) to work with latest versions of AHK.
; February 05, 2006: removed alt stuff, changed for middlebutton

; The shortcuts:
;  Alt + Left Button  : Drag to move a window.
;  Alt + Right Button : Drag to resize a window.
;  Double-Alt + Left Button   : Minimize a window.
;  Double-Alt + Right Button  : Maximize/Restore a window.
;  Double-Alt + Middle Button : Close a window.
;
; You can optionally release Alt after the first
; click rather than holding it down the whole time.

If (A_AhkVersion < "1.0.39.00")
{
    MsgBox,20,,This script may not work properly with your version of AutoHotkey. Continue?
    IfMsgBox,No
    ExitApp
}


; This is the setting that runs smoothest on my
; system. Depending on your video card and cpu
; power, you may want to raise or lower this value.
SetWinDelay,2

CoordMode,Mouse
return

MButton::
; Get the initial mouse position and window id, and
; abort if the window is maximized.
MouseGetPos,KDE_X1,KDE_Y1,KDE_id
WinGet,KDE_Win,MinMax,ahk_id %KDE_id%
If KDE_Win
    return
; Get the initial window position and size.
WinGetPos,KDE_WinX1,KDE_WinY1,KDE_WinW,KDE_WinH,ahk_id %KDE_id%
; Define the window region the mouse is currently in.
if (KDE_X1 < KDE_WinX1 + KDE_WinW / 2)
   KDE_WinLeft := 1        
else
   KDE_WinLeft := -1

if (KDE_Y1 < KDE_WinY1 + KDE_WinH / 2)
   KDE_WinUp := 1      
else
   KDE_WinUp := -1

centerX := KDE_X1 > KDE_WinX1 + KDE_WinW / 3 AND KDE_X1 < KDE_WinX1 + 2*KDE_WinW /3

centerY := KDE_Y1 > KDE_WinY1 + KDE_WinH / 3 AND KDE_Y1 < KDE_WinY1 + 2*KDE_WinH /3


Loop
{
    GetKeyState,KDE_Button,MButton,P ; Break if button has been released.
    If KDE_Button = U
        break
    MouseGetPos,KDE_X2,KDE_Y2 ; Get the current mouse position.
    ; Get the current window position and size.
    WinGetPos,KDE_WinX1,KDE_WinY1,KDE_WinW,KDE_WinH,ahk_id %KDE_id%
    KDE_X2 -= KDE_X1 ; Obtain an offset from the initial mouse position.
    KDE_Y2 -= KDE_Y1
    ; Then, act according to the defined region.
    if (centerX AND centerY)
      WinMove,ahk_id %KDE_id%,, KDE_WinX1 + KDE_X2  ; X of resized window
                              , KDE_WinY1 + KDE_Y2  ; Y of resized window
                              , KDE_WinW ; W of resized window
                              , KDE_WinH ; H of resized window
    else
        WinMove,ahk_id %KDE_id%,, KDE_WinX1 + (KDE_WinLeft+1)/2*KDE_X2  ; X of resized window
                                , KDE_WinY1 +   (KDE_WinUp+1)/2*KDE_Y2  ; Y of resized window
                                , KDE_WinW  -     KDE_WinLeft  *KDE_X2  ; W of resized window
                                , KDE_WinH  -       KDE_WinUp  *KDE_Y2  ; H of resized window

    KDE_X1 := (KDE_X2 + KDE_X1) ; Reset the initial position for the next iteration.
    KDE_Y1 := (KDE_Y2 + KDE_Y1)
}
return
DISCLAIMER: I do *not* have a computer to test this code on, so it may very well not work. If any bananas explode when using this program, I claim no responsibility :P

144
As a side rant: I absolutely hate the Mac OS approach to having one main menubar at the top of the screen that changes depending on the child window you choose, and the basic approach to having desktop windows that simply vanish into thin air until you can figure out where they went.  God help us if people start to copy the way apple does things..
Also, alt-tab switches between applications and not windows, which means that if you have more than one window of the same application open (think spreadsheets, or editors, for example), you'll have to use some other combination which switches between windows of the same application. I've been using Mac for over two years and I've resigned to the idea that I will *never* get used to that idiotic way of thinking.
Also, don't get me started on the pseudo-random mechanisms of selecting window focus when switching between workspaces (aka spaces in mac). Combine that with the alt-tab nonsense above, and you've got yourself a recipe for disaster :P
Then there's the idiotic maximise behavior, the random paging to disk of apps when there's more than half of the memory free, the *constant* annoyance of flash consuming 100% of the processor, dual core computers locking up for 5minutes when there's no resources (ram or cpu) being used, apps consuming 2gb of disk extra when running, and lots of other fun stuff.
I honestly have a very large appreciation for Steve Jobs for being able to sell so many of these machines. And people actually pay more for them than for a decent computer!

[edit] sorry for the rant, couldn't resist :P [/edit]

145
Also, another option: plander, why don't you run the script skrommel posted and altdrag? They complement each other and could solve your problem.

146
AltDrag has a window resize similar to linux: when you press Alt and drag close to the corner, you can resize that window in that direction.
I'm pretty sure I've seen something like that somewhere. Probably it's one of these two (most likely the first one):
http://www.autohotke...WindowDrag_(KDE).htm
http://www.enovatic....ywindows/onlinedemo/

147
have you asked the author of AltDrag?
I talk with author, but he say that he haven't time to add this feature and say that i can add by myself, it's free source code, but i don't know coding, but want this feature very much
yep :P

148
What the.... This is so incredible that I'm still having a hard time believing that it's not an April's fools joke!
I'm curious if turning this on its side so it's facing a desk would allow it to recognize writtings in a paper sheet.
Also, I'd love to know what's the technology behind it!

[edit]
re:technology: looks like it's infrared. So, it's basically a more precise Kinect with a shorter range (8cubic feet, roughly a cube with 6cm on each side).
seems cool :)

149
Hi, plander, and welcome to DonationCoder.  Here is a modified version of the AHK script that should do what you requested:
I believe what plander is asking for is a program that works both with mbutton and with alt. From what I understand, you are suggesting that he runs both the program you posted and the original AHK version, right?

Pages: prev1 2 3 4 5 [6] 7 8 9 10 11 ... 184next