|
Serephina posted:So, uh, I read the Op then skipped down to the last page. Questions/Issues regarding Desktop Enviroments that work better on legacy hardware: Technically the answer to your question is something like "XFCE" or "LXDE" but it sounds like you're really asking something different. The 4000 series cards haven't received performance improvements as nice as the 5000+ series have been receiving over the past year or so. Your particular card is also not very fast to begin with, further hampering things. While it's conceivable that the gallium developers could squeeze more performance out of the 4000 series, I think they're going to be mainly focusing on newer product lines from now on. If you are set on using cataylst (fglrx) then maybe running debian with xfce would be the smarter choice.
|
# ? Mar 12, 2014 05:30 |
|
|
# ? May 30, 2024 23:41 |
|
Illusive gently caress Man posted:My coworker wants to change all our servers from CentOS 6.4 to Ubuntu 12.04. I loving hate Ubuntu (probably irrationally). What are the standard arguments for using CentOS so I can convince my boss to veto this poo poo? They don't need to be pure objective Truth, I just want ammunition. It sounds like you already don't have a very good relationship with your coworker. I'm not sure why you need to go to your boss about this instead of communicating these concerns with your coworker directly, but the utter lack of two-way communication being demonstrated in this situation is going to implode your team sooner or later. I cannot be clearer about this: if you make an end-run around your coworker here instead of just communicating like a human being, you are going to cause larger damage to your team dynamic than any irrational hate of a distro ever could. It also communicates to any competent boss that you are incapable of resolving conflicts on your own, whether that's true or not. Let me reiterate: your infrastructure isn't a pet project, and it isn't a fiefdom to be defensive over. Talk to your coworker and find out why your current infrastructure isn't working for him or her. Your business will be happier for it.
|
# ? Mar 12, 2014 08:07 |
|
I've been using an Ubuntu VPS for a while now for basic stuff. Prosody XMPP, Mumble-server, LAMP development environment, and the occasional Minecraft or Starbound game. This is really the only Internet-facing Linux machine that I've dealt with aside from the gateways at work (which are reviewed by two outside consultants and very locked down - I know what I don't know). How important is it to have restrictive iptables on a VPS like this? Right now I have fail2ban configured on ssh with a permaban which has kept botnet attempts to a minimum. I also monitor the open ports and goings-on daily using netstat and regularly review activity in auth.log (not hard as I am the only person with ssh access). I know that it's probably important and I'm going to put up restrictive rules anyway, but as a more technical question, how is it important? I would think that anything which gained root access to a system would have the capability to just change the iptables on its own, correct?
babies havin rabies fucked around with this message at 15:42 on Mar 12, 2014 |
# ? Mar 12, 2014 13:30 |
|
babies havin rabies posted:I've been using an Ubuntu VPS for a while now for basic stuff. Prosody XMPP, Mumble-server, LAMP development environment, and the occasional Minecraft or Starbound game. This is really the only Internet-facing Linux machine that I've dealt with aside from the gateways at work (which are reviewed by two outside consultants and very locked down - I know what I don't know). How important is it to have restrictive iptables on a VPS like this? Right now I have fail2ban configured on ssh with a permaban which has kept botnet attempts to a minimum. I also monitor the open ports and goings-on daily using netstat and regularly review activity in auth.log (not hard as I am the only person with ssh access). I know that it's probably important and I'm going to put up restrictive rules anyway, but as a more technical question, how is it important? I would think that anything which gained root access to a system would have the capability to just change the iptables on its own, correct? If you keep your software up-to-date and avoid dumb misconfigurations like public-facing DNS recursors, that's like 99.5% of the way there, though.
|
# ? Mar 12, 2014 15:47 |
|
I'm trying to use SCP to copy a file to a remote server. When I do this I get the following output:code:
Apparently this is because I'm using cowsay with fortune, and in your .bashrc you need to make it not be used when you're using an interactive shell with [[ $- == *i* ]] || return But I'm using fish at the moment, and adding that line in ~/.config/fish/config.fish causes a syntax error. How do I specify this in fish? EDIT: Never mind, it was serverside configuration issue! Experto Crede fucked around with this message at 17:56 on Mar 13, 2014 |
# ? Mar 13, 2014 17:39 |
|
evol262 posted:In .bashrc What exactly will this PROMPT_COMMAND line do? I can't understand a self-referencing variable (PROMPT_COMMAND is not already in my .bashrc somewhere else) and the man page for history shows nothing relevant for -a or -n.
|
# ? Mar 14, 2014 04:37 |
|
reading posted:What exactly will this PROMPT_COMMAND line do? I can't understand a self-referencing variable (PROMPT_COMMAND is not already in my .bashrc somewhere else) and the man page for history shows nothing relevant for -a or -n. PROMPT_COMMAND: "If set, the value is executed as a command prior to issuing each primary prompt." If it looks confusing it's just setting PROMPT_COMMAND to itself and adding the "history" bits. (If it's not set before, it'll just be ";history -a; history -n" afterwards.) Also 'history' in this case is a bash builtin, that and PROMPT_COMMAND are in 'man bash' (or 'help history' since 'man bash' is lol huge). All together: the 'shopt' tells bash to append rather than overwrite the history file (on shell exit), and (the interesting part) the PROMPT_COMMAND adds lines from the current shell then loads any new lines from the history file. So even if you've got multiple shells open from different hosts, if you run 'ls' in one, after your next command or just hitting enter 'ls' will be in the history on the others. (Not sure how useful that is, but it turns out it can be done. ) Polygynous fucked around with this message at 04:55 on Mar 14, 2014 |
# ? Mar 14, 2014 04:53 |
|
So I boot into my Mint 15 (KDE edition) and for some reason KDE messed my monitor settings (again) and my second monitor is disabled. Now I cant open the settings to enable it because KDE is apparently opening the settings window on the disabled monitor. What can I do? Why is KDE still so stupid about multiple monitors Elias_Maluco fucked around with this message at 14:01 on Mar 14, 2014 |
# ? Mar 14, 2014 13:33 |
|
Because KDE still relies on X. Wayland, where art thou?
|
# ? Mar 14, 2014 13:49 |
|
Elias_Maluco posted:So I boot into my Mint 15 (KDE edition) and for some reason KDE messed my monitor settings (again) and my second monitor is disabled. Have you tried Alt-F3 for the window operations menu, using arrow keys to select the 'Move' action, and then arrow keys (or moving the mouse) to reposition the window?
|
# ? Mar 14, 2014 14:56 |
|
Elias_Maluco posted:So I boot into my Mint 15 (KDE edition) and for some reason KDE messed my monitor settings (again) and my second monitor is disabled. Alternatively, fire up a console window, and type: code:
code:
code:
|
# ? Mar 14, 2014 15:18 |
|
Is there any way to try Wayland now? Wouldn't mind tossing it in a VM if there's a testing version out.
|
# ? Mar 14, 2014 19:13 |
|
I solved it by killing the system settings process after it was open on the wrong monitor and then, when I opened it again, it opened on the active monitor.
|
# ? Mar 14, 2014 19:18 |
|
DSauer posted:Is there any way to try Wayland now? Wouldn't mind tossing it in a VM if there's a testing version out. Depends on what you want to try. There are two major Wayland implementations: Weston, developed by Wayland upstream, and mutter-wayland, developed by GNOME. I'm the tech lead on mutter-wayland and Wayland integration in GNOME, so I'd be happy to answer any questions you have about it. We're trying to get an updated mutter-wayland preview available for trying out in 3.12 again, and you should be able to try that in any distro that ships GNOME 3.12. You can try Weston by using Rebecca Black Linux, or by building it from scratch.
|
# ? Mar 14, 2014 20:08 |
|
Suspicious Dish posted:...using Rebecca Black Linux... Looks like Arch has an up to date build of Weston in the official repositories so I'll give that a shot. Thanks mate.
|
# ? Mar 14, 2014 21:59 |
|
edit: NVM, easily google-able issue.
madkapitolist fucked around with this message at 08:43 on Mar 15, 2014 |
# ? Mar 15, 2014 08:11 |
|
Suspicious Dish posted:Depends on what you want to try. There are two major Wayland implementations: Weston, developed by Wayland upstream, and mutter-wayland, developed by GNOME. Oh boy, more fragmentation in open source land.
|
# ? Mar 15, 2014 09:01 |
|
spankmeister posted:Oh boy, more fragmentation in open source land. Hm? mutter-wayland implements the same exact Wayland protocol, and it should work with the exact same Wayland applications.
|
# ? Mar 15, 2014 15:18 |
|
I have a home server I'm putting together and whose configuration I'm managing with (masterless) Puppet and Git. When I push an updated Puppet configuration to the server, I want to check out the configuration files to /etc/puppet (probably through a post-receive hook). However, since that folder is owned by root, what's the best way to do this? The server will have a dedicated Git user.
|
# ? Mar 15, 2014 17:34 |
|
So yeah, I figured, I set up a Linux VM to run The Thing System for all my fancy gadgets, and for ease downloaded Ubuntu. I guess that was a big mistake, because there doesn't seem an easy way to start a shell. None of the default shortcuts offers a shell, nor does the desktop context menu, nor that universal search thing. Really?! --edit: Nevermind. "Terminal". Combat Pretzel fucked around with this message at 22:20 on Mar 15, 2014 |
# ? Mar 15, 2014 22:15 |
|
Combat Pretzel posted:So yeah, I figured, I set up a Linux VM to run The Thing System for all my fancy gadgets, and for ease downloaded Ubuntu. I guess that was a big mistake, because there doesn't seem an easy way to start a shell. None of the default shortcuts offers a shell, nor does the desktop context menu, nor that universal search thing. Really?! do a search in the launcher menu for 'terminal'
|
# ? Mar 15, 2014 22:17 |
|
RFC2324 posted:do a search in the launcher menu for 'terminal' Also, the default terminal program in Ubuntu is gnome-terminal.
|
# ? Mar 15, 2014 22:29 |
|
Suspicious Dish posted:Hm? mutter-wayland implements the same exact Wayland protocol, and it should work with the exact same Wayland applications. Yeah I suppose so but is two projects doing the same thing really a good thing?
|
# ? Mar 15, 2014 23:08 |
|
Well, we already had mutter / gnome-shell, our WM / compositor / desktop UI that's been in development for over 12 years. We're not just going to throw it away and start from scratch. So, there are two options: somehow hack Weston in on the side so that it can support mutter, or add a separate Wayland implementation to our existing codebase. Really, only the latter one makes sense.
|
# ? Mar 15, 2014 23:14 |
|
stray posted:I have a home server I'm putting together and whose configuration I'm managing with (masterless) Puppet and Git. When I push an updated Puppet configuration to the server, I want to check out the configuration files to /etc/puppet (probably through a post-receive hook). However, since that folder is owned by root, what's the best way to do this? The server will have a dedicated Git user. Why is it owned by root? You should have a puppet user. If not, chown :git /etc/puppet. If you do, put them in the same group and chown it to that.
|
# ? Mar 15, 2014 23:56 |
|
spoon0042 posted:PROMPT_COMMAND: "If set, the value is executed as a command prior to issuing each primary prompt." This gave me a cascading recursive error, code:
It's super useful though, I type a lot of huge complex commands as part of coursework and it's great to have those stored in my history, even when I'm working from many terminal windows. That's why I want this feature.
|
# ? Mar 16, 2014 00:26 |
|
reading posted:This gave me a cascading recursive error, I thought that looked funny, but afaik it *should* only execute once when bash starts so I don't know how what's happening... is happening. But yeah, PROMPT_COMMAND="history -a; history -n;" should be fine. (If you're not using PROMPT_COMMAND already. Otherwise PROMPT_COMMAND="history -a; history -n; $PROMPT_COMMAND" should work, just for reference.) If you're that interested in keeping your history around you'll probably want to set HISTSIZE and HISTFILESIZE as both default to 500.
|
# ? Mar 16, 2014 02:38 |
|
How can I draw boxes in the terminal window? I want to get a nice GUI going for a program and I was inspired by how nice Kismet looks, but after looking at their source code it just looks like I'll have to use lots of ncurses and maybe some c++. Is there no terminal program for easily drawing boxes and shapes? Dungeon Crawl does some amazing graphics in the terminal too. I assume that's also ncurses magic.
|
# ? Mar 16, 2014 21:30 |
|
Well, there's some Box drawing characters you can print into the terminal. That's really it.
|
# ? Mar 16, 2014 21:32 |
|
Suspicious Dish posted:Well, there's some Box drawing characters you can print into the terminal. That's really it. I thought these were part of curses. I'm aware of these I was wondering if there's a pre-existing shell program to draw boxes with these or if I need to write that myself.
|
# ? Mar 16, 2014 21:39 |
|
curses is just a framework for building terminal UIs. That's it. I don't really know why you think you need a special program to draw boxes. They'll work with a regular echo. What are you trying to do?
|
# ? Mar 16, 2014 21:40 |
|
Suspicious Dish posted:curses is just a framework for building terminal UIs. That's it. I want to make a card-playing program that will work in the terminal to let two people place and arrange cards. The cards would be boxes with text inside them. I suppose I could use echo along with tput to place the cursor at a position in the window, draw the box, and repeat elsewhere. I thought curses was just a group of characters, a subset of ASCII. Is it a c++ library?
|
# ? Mar 18, 2014 03:24 |
|
curses is a C library. The one most people use is known as "ncurses": http://www.gnu.org/software/ncurses/
|
# ? Mar 18, 2014 03:48 |
|
Have you already written the engine? Whatever language you're already using probably has a package with bindings to curses. For example if you're using Python, Urwid is a high-level terminal interface library that allows you to easily make boxes and whatnot.
|
# ? Mar 18, 2014 04:16 |
|
SurgicalOntologist posted:Have you already written the engine? Whatever language you're already using probably has a package with bindings to curses. For example if you're using Python, Urwid is a high-level terminal interface library that allows you to easily make boxes and whatnot. Awesome! Thank you, this is exactly what I am looking for.
|
# ? Mar 18, 2014 04:32 |
|
reading posted:Awesome! Thank you, this is exactly what I am looking for. I use urwid daily and can offer lots of advice if you go this way
|
# ? Mar 18, 2014 05:21 |
|
I've hit this bug in gluster 3.3.2 when trying to do a replace-brick command. The node completely locked up and affected some clients so I paused the replace. I had a glusterfsd process still stuck at 100% cpu usage despite being paused and I tried to abort the replace-brick and that failed. Although the cluster appears to still be working correctly it is still continuously logging this code:
Anyone know how to get it to stop attempting the replace-brick operation? replace-brick status shows as "paused".
|
# ? Mar 18, 2014 17:28 |
|
jre posted:I've hit this bug in gluster 3.3.2 when trying to do a replace-brick command. The node completely locked up and affected some clients so I paused the replace. I had a glusterfsd process still stuck at 100% cpu usage despite being paused and I tried to abort the replace-brick and that failed. You should probably ask in #gluster. It's very likely in the options in /var/lib/glusterd/, buy ask.
|
# ? Mar 18, 2014 17:46 |
|
evol262 posted:You should probably ask in #gluster. It's very likely in the options in /var/lib/glusterd/, buy ask. I have already with no reply I suspect it might be a case of removing the rb_dst_brick.vol file but I'm loathe to do that on a production system without knowing if its the right thing to do.
|
# ? Mar 18, 2014 17:57 |
|
|
# ? May 30, 2024 23:41 |
|
I have a couple nested directories full of PDF files that need to be TIFF files to be sent somewhere. SomeClient - 2011 commercial residential 2012 commercial residential ... I know I can just use the 'convert' command on a single file: code:
A quick bash script with a for loop? I started doing something like code:
|
# ? Mar 20, 2014 13:33 |