General Linux Chat and Small Questions v. Year of the Linux Desktop!
4,886 replies, posted
[QUOTE=~Kiwi~v2;50820371]Yeah I know things get stored differently. I just wanted to stop reading from my pathetically slow SATA 2 drive(laptop disk only hits 50MB/s) and shove shit into RAM where I know it will perform a crap ton faster.[/QUOTE]
Tried configuring preload? There's programs that let you explicitly add stuff into preload.
There's also tmpfs but I have no idea how to move things to the ram disk cleanly where shutting down won't trash your computer.
[QUOTE=daigennki;50820179]Okay, I now want to access the files in the Windows partition from linux, but it keeps on saying that it cannot mount it because Windows is hibernated, which is odd because I clearly remember shutting down Windows properly and disabling fast boot. What is up with that?[/QUOTE]
Shut down Windows by pressing Start+,X?
[QUOTE=killerteacup;50809106]easy peasy. At the start of stuff you want in the middle put a separator with expand ticked, and then at the end of the stuff you want in the middle put a separator with expand ticked. you can do that all with one panel so I don't know why you're using three
So the order from above looks to be, in one panel, have whisker menu, then a separator with expand, then weather and clock, then another separator with expand, then all the rest of your shit
As for your second problem, no there is no way of doing that in XFCE. My recommendation would be to replace your bottom panel with plank and theme it which is pretty lightweight and much more functional
Also for your icon problem default system icon themes often are pretty uggo so I'd recommend finding a cool icon theme you like and installing it instead, looks pretty nice and you get the advantage of no disgusting icons. Moka, Numix and Ultra-Flat are considered to be pretty good
man I'm late oops oh well[/QUOTE]
Late, but your solution wouldn't work because with two separators on one bar set to expand it will only center it with regards to the items in the panel, not the screen itself. So because the right side notifications and desktop switcher are significantly wider than the whisker menu icon, the "centered" item would be skewed significantly to the left of the screen and simply look really bad.
[editline]3rd August 2016[/editline]
Also, I came up with a slicker workaround:
[t]https://dl.dropboxusercontent.com/u/7333627/pics/XFCEDesktop.png[/t]
Same idea as before, 3 bars set to arbitrary lengths, one centered. However, to fix the misalignment problem, I simply set the background on the three bars to 0% transparency and made a 4th, full-width bar with transparency and not items behind it. Perfectly centered, looks clean. Not so clean a solution, but it works.
[QUOTE=Adam.GameDev;50820906]Shut down Windows by pressing Start+,X?[/QUOTE]
Yes, no difference unfortunately.
Also, whenever I start Arch, the NIC seems to be disabled or something like that, and "sudo ip link set enp6s0 up" makes it work. I do not want to have to run the command every time I start up Arch, what can I do to fix that?
Anyone know what the deal is when trying to dual boot between an OS that needs UEFI keys and one that only supports BIOS? I've been trying to figure out a good method for making this work but everything online seems to assume your using a UEFI ubuntu version, and neglects the fact the UEFI version of the MBR seems invisible to grub.
[QUOTE=daigennki;50821850]Yes, no difference unfortunately.[/QUOTE]
Reboot the machine, in Windows, then boot into Linux.
Windows 8/8.1/10 don't shutdown cleanly like 7 did.
[QUOTE=daigennki;50821850]Yes, no difference unfortunately.
Also, whenever I start Arch, the NIC seems to be disabled or something like that, and "sudo ip link set enp6s0 up" makes it work. I do not want to have to run the command every time I start up Arch, what can I do to fix that?[/QUOTE]
Reboot to Windows, disable hibernation entirely, and then reboot to Arch.
[code]C:\> powercfg /h off[/code]
No, clicking "shut down" in any form does not count as not-hibernating anymore.
[QUOTE=lavacano;50822682]Reboot to Windows, disable hibernation entirely, and then reboot to Arch.
[code]C:\> powercfg /h off[/code]
No, clicking "shut down" in any form does not count as not-hibernating anymore.[/QUOTE]
Okay, that solves the problem with mounting the Windows partition, so thank you for that, but I still have the problem with the NIC.
[QUOTE=daigennki;50824692]Okay, that solves the problem with mounting the Windows partition, so thank you for that, but I still have the problem with the NIC.[/QUOTE]
In regedit you can navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
and then add a 32 bit DWORD called RealTimeIsUniversal and set the value to 1, and then it should just work and be fine.
Or I also think you can make sure Linux is using NTP. Arch wiki will explain that.
Also what NIC?
[QUOTE=daigennki;50824692]Okay, that solves the problem with mounting the Windows partition, so thank you for that, but I still have the problem with the NIC.[/QUOTE]
Easiest solution is to just have the command run on startup.
Usually it's better to actually diagnose the problem and fix the source of the issue, but you can get away with it.
[QUOTE=Dr. Evilcop;50824859]Easiest solution is to just have the command run on startup.
Usually it's better to actually diagnose the problem and fix the source of the issue, but you can get away with it.[/QUOTE]
[QUOTE=thelurker1234;50824755]In regedit you can navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
and then add a 32 bit DWORD called RealTimeIsUniversal and set the value to 1, and then it should just work and be fine.
Or I also think you can make sure Linux is using NTP. Arch wiki will explain that.
Also what NIC?[/QUOTE]
Yeah I fixed the time problem, thanks though. The problem with the NIC was that it just was not getting connected but I found the source of the problem, seems I did not set up dhcpcd properly for static IP. Works properly now.
[QUOTE=daigennki;50825018]Yeah I fixed the time problem, thanks though. The problem with the NIC was that it just was not getting connected but I found the source of the problem, seems I did not set up dhcpcd properly for static IP. Works properly now.[/QUOTE]
What all did you do? I'm having a similar problem and I'm also on a static IP setup with dhcpcd.
[QUOTE=thelurker1234;50824755]In regedit you can navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
and then add a 32 bit DWORD called RealTimeIsUniversal and set the value to 1, and then it should just work and be fine.
Or I also think you can make sure Linux is using NTP. Arch wiki will explain that.
Also what NIC?[/QUOTE]
this usually works, but keep in mind that some Ethernet controllers freak out by doing this. not all do, but my previous one (the MSI Z97 MPower mobo) had a controller that would freak out by this trick. if Windows had been booted prior to booting Linux with this applied, Linux would be without internet completely. the controller would effectively be "broken" until a few hours had passed. or I could boot back into Windows and use internet there, but then it'd take even longer before it'd function in Linux again.
luckily there was a fix that was easy, but a little tedious to do every time. by completely draining the computer of power (flick the PSU off, wait a few seconds until all the LEDs die, then start back up), the controller would reset completely I assume which let me use internet in Linux. of course if I booted into Windows again, the problem would be back, but at least there was a way to get around it.
[editline]fakedit[/editline]
[t]https://pred.me/pics/bash_2016-08-04_23-06-09.png[/t]
the best thing with bash for windows
[QUOTE=lavacano;50826372]What all did you do? I'm having a similar problem and I'm also on a static IP setup with dhcpcd.[/QUOTE]
Well in my case what was going on was at first I configured systemd-networkd instead but that did not work (probably did something wrong) so I cleared that configuration so it does not conflict with other methods of connecting, then I configured dhcpcd as it says here: [url]https://wiki.archlinux.org/index.php/Dhcpcd#Static_profile[/url] and that worked. And of course, I made sure the dhcpcd service is enabled on startup (systemctl enable dhcpcd.service).
So I finally wiped my Arch installation and installed Antergos instead. While using and maintaining Arch for about a year was a whole bunch of fun and a good learning experience, it feels nice to finally use something that 'just werks' instead of something thats held together with duct tape and love.
Isn't Antergos just Arch with a GUI installer? I haven't tried Antergos or Manjaro yet, but I'd think to go to Manjaro first if I wanted that.
[QUOTE=Dr. Evilcop;50836326]Isn't Antergos just Arch with a GUI installer? I haven't tried Antergos or Manjaro yet, but I'd think to go to Manjaro first if I wanted that.[/QUOTE]
Ehh. there are some slight differences too. Some different packages, scripts, etc. It's really close, but still different enough that when asking the Arch community for help you might want to mention you're using it. Manjaro is a bit more distant with quite a few differences.
But at a base level I don't quite know how it's less of a hassle than arch aside from the install. Manjaro would be arch without the effort. I'd personally use something like architect if one wanted to skip the arch install process.
snips
Okay I got some really weird shit going on with my desktop environment. When I try to log in from GNOME Login Manager into Cinnamon, I just get bounced back to the login screen. Cinnamon with Software Rendering does the same and so does GNOME, although oddly enough GNOME on Wayland works just fine. What is up with that?
Sounds like Xorg is dying. Is there anything in /var/log/Xorg.0.log?.
[QUOTE=initrd;50859799]Sounds like Xorg is dying. Is there anything in /var/log/Xorg.0.log?.[/QUOTE]
That file or anything like it does not even exist in the /var/log directory.
[QUOTE="https://fedoraproject.org/wiki/How_to_debug_Xorg_problems"]All of the X server log messages. Depending on your login manager, these may be in the system journal or in the file /var/log/Xorg.0.log. If /var/log/Xorg.0.log exists and has a recent date stamp, attach it. Otherwise, you can find the messages from the journal with:
journalctl -b _COMM=gdm-x-session (Fedora 22+)
journalctl -b _COMM=Xorg.bin (Fedora 21)
journalctl -b _COMM=Xorg (Fedora 20 and earlier)
...
[/QUOTE]
Could also be inside ~/.local/share/xorg/.
[QUOTE=daigennki;50816326]Did this and it works perfectly now. Thank you![/QUOTE]
If you can spare a moment, please vote for this LD_PRELOAD patch to be added to Arch's Steam package.
[url]https://bugs.archlinux.org/task/49235[/url]
I've been manually patching my systems with a wrapper script in /usr/local/bin, but it would be nice to not have to do that.
[QUOTE=Larikang;50866448]If you can spare a moment, please vote for this LD_PRELOAD patch to be added to Arch's Steam package.
[url]https://bugs.archlinux.org/task/49235[/url]
I've been manually patching my systems with a wrapper script in /usr/local/bin, but it would be nice to not have to do that.[/QUOTE]
Why not just
[code]STEAM_RUNTIME=0[/code]
in /usr/bin/steam
That requires a load of dependencies to be downloaded, the LD_PRELOAD trick requires nothing extra
But Steam's runtime is never updated, and honestly package maintainers should be ignoring it, turning STEAM_RUNTIME off by default and handling deps in the package manager anyway.
The only way I ever got Steam to work was throwing out the runtime, and no magic with LD_PRELOAD ever did anything good for me.
IIRC it's also against the Steam redistribution licence to modify the Steam binary and remove the runtime
you're not modifying the binary though, you're setting an environment variable that Steam is already listening to
/usr/bin/steam is just a shell script, Valve doesn't care as long as you change it back before filing bug reports
LD_PRELOAD only worked temporarily for me, I did eventually need to use all native libraries.
I don't do native runtime because most of the dependencies are only available in the AUR. Maintaining that huge list of packages or using an unofficial repo just isn't worth it when a simple environment variable export does the job.
[QUOTE=Dr. Evilcop;50867496]LD_PRELOAD only worked temporarily for me, I did eventually need to use all native libraries.[/QUOTE]
I have noticed that even with LD_PRELOAD it can take several minutes for steam to start sometimes. There's really no reason why it should have stopped working for you. Perhaps you need to add more libs to LD_PRELOAD?
Sorry, you need to Log In to post a reply to this thread.