• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
[QUOTE=mastersrp;47276070]Got one myself as well, used it as a workstation replacement for a little while until I got my suspend modes working on my netbook. Now it's primarily hosting services and testing grounds for all kinds of shit. With a neat and secure access, you can do a lot of shit with a devices that only uses up to 15W. Now the Firefly RK3288.. That'll blow some dicks off of horses. It's pretty fast as fuck, and supports 4K displays and .. Well, just check it out shit is so sexy, even does 4GB RAM and Quad core CPU clocked at 1.8Ghz. The only issue with these devices is the closed source nature of them. I've been forced to dd the boot partition (and some firmware) from the official banana pi images into my own image, in order to get shit working. I could've just copied shit, but yeah. Besides, it sucks when communities thrive on libre software, and dicks like AllWinner and Rockchip don't give a fuck when they could give many fucks and receive many fucks.[/QUOTE] What do you expect from Chinese companies? They like to copy others and sell it cheaper & similar "creative" solutions. [editline]wat[/editline] Why isn't there more ARM SoC's that both support native S-ata and gigabit ethernet? The closest there is that isn't stupidly expensive is the Allwinner A20, and that's only a dualcore and based on a concernedly old ARM architecture.
[QUOTE=Van-man;47276629]What do you expect from Chinese companies? They like to copy others and sell it cheaper & similar "creative" solutions. [editline]wat[/editline] Why isn't there more ARM SoC's that both support native S-ata and gigabit ethernet? The closest there is that isn't stupidly expensive is the Allwinner A20, and that's only a dualcore and based on a concernedly old ARM architecture.[/QUOTE] How is ARMv7 old? ARMv8 is not that old, and there's like 2 or 3 boards using it so far, and one of them isn't even out yet. [editline]7th March 2015[/editline] And I didn't expect anything else. But I was hoping. I've also been hoping it from other companies proclaiming the boards to be open source, while not being open at all.
Open source is basically just a marketing buzzword for a lot of the SoC shit on the market.
[QUOTE=Levelog;47277308]Open source is basically just a marketing buzzword for a lot of the SoC shit on the market.[/QUOTE] At best they'll release their closed source blobs with a permissive license that'll allow you to bundle it in your own disk image file.
for some reason i remember NFS as being more of a pain in the ass than it was this time nah, it was literally just "emerge nfs-utils" and bang out a line in /etc/exports, shit why was i even worried
[QUOTE=lavacano;47277448]for some reason i remember NFS as being more of a pain in the ass than it was this time nah, it was literally just "emerge nfs-utils" and bang out a line in /etc/exports, shit why was i even worried[/QUOTE] I had been configuring all kinds of shit in /etc/exports back when I used it and got confused about it not working. Then I read the manual properly, used only what I needed, and it worked great. No need to make things more complex than they have to be. And NFS really isn't. Now to get Samba+Winbind and ADDS talking together.
I know it's possible to cross-compile code in Linux, but is it possible to cross-build packages? Given that it takes a day to compile & build Clementine from source on a rPi model B, I wouldn't even dare to try and do that with XFCE 4.12.
how easy it is depends on your distro but it's definitely a possibility however i would imagine rPis would use a distro that used some sort of binary packages
I wanted a function that provided some sort of visual indicator if a certain string was present in stdout [i]without[/i] throwing out the lines that didn't have that string in it. grep didn't have a switch like that by default, so I was about to write a python script to chuck in my bin, then I remembered tee existed. So I stuck this in .zshrc [code]ohgod () { tee >(grep --color=auto "$1") >(grep -v "$1") 1>/dev/null ; }[/code] As far as I know that's actually POSIX compliant so if you took the fish route instead (or you're still on the far inferior bash) it should work without modification it works like this [img]http://jesusfuck.me/di/1U92/ohgodfunc.png[/img]
Make a debug build, run with GDB, get a stacktrace when it segfaults. [url]https://developer.valvesoftware.com/wiki/Installing_and_Debugging_the_Source_Code#Linux[/url]
[QUOTE=Van-man;47278024]I know it's possible to cross-compile code in Linux, but is it possible to cross-build packages? Given that it takes a day to compile & build Clementine from source on a rPi model B, I wouldn't even dare to try and do that with XFCE 4.12.[/QUOTE] [url]https://github.com/raspberrypi/tools/[/url]
The abilities of programming in linux have always seemed to be a mystery to me. Is there a way to use makefiles or something of the like to add or change components of a .so file for an executable? Is that similar in any way to like hex editing on .dlls for windows? If I were to provide an example, quake 3 dedicated server and it's .so file for game mods. If I have full access to the source of a mod, how would I use a makefile/something of the like to hook in to that .so file and change a variable. Such as a server cvar. Does this make sense to anyone?
I don't think Makefiles are what you're looking for there. All they do is "if file X is changed, do Y". There's stuff like nm and objdump for looking at the contents of a .so, but I don't know if there's a "good" way to edit them directly.
[QUOTE=Unreliable;47279582]If I have full access to the source of a mod, how would I use a makefile/something of the like to hook in to that .so file and change a variable.[/QUOTE] Change it in the source file and recompile. Standard compile process is three commands: [code]./configure --prefix=/usr/local make -jN # where N is the number of CPU cores you have sudo make install[/code]
[QUOTE=lavacano;47279740]Change it in the source file and recompile. Standard compile process is three commands: [code]./configure --prefix=/usr/local make -jN # where N is the number of CPU cores you have sudo make install[/code][/QUOTE] yeah, I can do that. I'm interested in not recompiling however. Way back in the day, this programmer gave someone online a couple of things that allowed their linux server to hook into a mod and change characteristics. This was in 2006. There was a dedicated server that ran linux, ran a mod, and had a few extra files that ran in tandem with the mod to change the mod's name, amount of admin levels, effects, and stuff like that. I've read that you can change functions if they're called. [url=http://reverseengineering.stackexchange.com/questions/185/how-do-i-add-functionality-to-an-existing-binary-executable]This[/url] is kind of what I'm after. I guess it's a bit of a stretch to say programming in linux is a mystery, it's just interesting and functional as fuck [editline]mymerge[/editline] This isn't a case where I could use strace or ptrace to follow this program's calls around, is it? I've never used strace or ptrace before and don't know what they do.
[QUOTE=Van-man;47278024]I know it's possible to cross-compile code in Linux, but is it possible to cross-build packages? Given that it takes a day to compile & build Clementine from source on a rPi model B, I wouldn't even dare to try and do that with XFCE 4.12.[/QUOTE] There's a lot of issues regarding cross compilation still, some projects even have the audacity to compile a bootstrap system, for the target platform, and run that bootstrap system, resulting in issues (x86 won't really run ARM). HOWEVER, it has come to my attention that there's a piece of software known as [url=http://proot.me/]PRoot[/url] which allows chroot builds with binfmt_misc support, allowing true cross compilation.
[QUOTE=lavacano;47267336]wonder how the proprietary graphics are going to get handled in that scenario i imagine worst case scenario i have to logout and do that update in TTY but i do hope it's a little more seamless than that [/QUOTE] The live patching won't support full kernel upgrades, more like small patches that don't alter the API or functionality of the target code. Think of it like diff-patching a binary.
[QUOTE=~Kiwi~v2;47280062][URL="https://forum.teksyndicate.com/t/if-you-think-gnome-is-ugly-you-dont-gnow-what-you-are-talking-about"]Words of someone very daring to say Gnome is ugly.[/URL] I think Gnome looks a whole lot better then Unity.[/QUOTE] The default theme of GNOME is ugly. Everything with theming support can be themed to look decent. My problem with GNOME is its usability.
gnome tends to wind up as my DE of choice, but I really do hate how little you're able to actually customize it. sure, you got themes but there's no way to modify it outside of that in most cases.
[QUOTE=PredGD;47280517]gnome tends to wind up as my DE of choice, but I really do hate how little you're able to actually customize it. sure, you got themes but there's no way to modify it outside of that in most cases.[/QUOTE] You could customize it a fair bit back with Gnome 2. But then they went full retard stiff with Gnome 3. Hence why Cinnamon and Mate now exists.
Ugh. I finally ran system wide update of my Xubuntu hodgepodge and it broke Steam hypertext links. If you click on an out-of-steam link in Steam (for instance in Steam chat), instead of opening a new tab in existing Firefox window, it creates a whole new Firefox window with [B]nothing in it[/B] (but the default page). Firefox is still set as default browser for opening links in system settings and for instance my Shell emulator of choice still properly calls firefox just as it should. I don't see web browser choice in Steam settings or anywhere. Any ideas for how to fix this?
[QUOTE=Awesomecaek;47281538]Ugh. I finally ran system wide update of my Xubuntu hodgepodge and it broke Steam hypertext links. If you click on an out-of-steam link in Steam (for instance in Steam chat), instead of opening a new tab in existing Firefox window, it creates a whole new Firefox window with [B]nothing in it[/B] (but the default page). Firefox is still set as default browser for opening links in system settings and for instance my Shell emulator of choice still properly calls firefox just as it should. I don't see web browser choice in Steam settings or anywhere. Any ideas for how to fix this?[/QUOTE] Maybe it uses xdg-open?
[QUOTE=Anderen2;47281827]Maybe it uses xdg-open?[/QUOTE] Bingo.
is there a way to completely isolate desktop environments from each other? containers sort of? I was thinking of giving XFCE a shot again, but it's such a pain in the ass when different DE's start conflicting with each other.
[QUOTE=PredGD;47281986]is there a way to completely isolate desktop environments from each other? containers sort of? I was thinking of giving XFCE a shot again, but it's such a pain in the ass when different DE's start conflicting with each other.[/QUOTE] well as long as you use one DM it shouldnt matter, most login screens let you choose which X session you want to start from.
My Ubuntu install doesn't seem to allow me to middle click + drag to scroll. Doesn't work in Chromium, Chrome, Firefox, and with 2 different mice I've tried. Any ideas?
Its an option in firefox. Options, advanced, use autoscrolling.
[QUOTE=Map in a box;47282494]Its an option in firefox. Options, advanced, use autoscrolling.[/QUOTE] Really? So THAT is what that option does! Holy shit I've wanted this for like 5 years now.
Anyone have any clue what it may be in Chrome?
[QUOTE=Map in a box;47282322]well as long as you use one DM it shouldnt matter, most login screens let you choose which X session you want to start from.[/QUOTE] there are certain things which still conflicts. after trying out plasma, I've gotten a permanent font change to gtk applications which I can't get rid of as I removed plasma. been looking for the config files and removed all I could find, yet it remains. settings from one DE sometimes likes to override another DE's settings which is really annoying and sometimes even permanent like in my case. I'm sure there's a way to get rid of it and fix it, but I haven't found out how yet without installing plasma again, reverting the settings and crossing my fingers which is a little too much
Sorry, you need to Log In to post a reply to this thread.