Ubuntu :: Running A Command System Wide To Fix RGBA?
Feb 22, 2010
I'm trying to run a command that will let me run some programs. If I run the command in a terminal, then I can launch the programs from it fine, but not from anywhere except that terminal. This is the command that makes things work:Code:export GTK_RGBA_APPS=allbut:exe:checkgmail:swiftfox:firefoxThis command disables RGBA for the programs listed, which seem to have problems with it. I hoped I could use this command to somehow apply it system wide permanently. I've tried adding it /etc/rc.local and rebooting, but it doesn't work.Is there a way of doing this? Or am I barking up the wrong tree entirely? Is there a better way to disable RGBA for certain programs?
I'm connected to a Linux box through SSH on which I don't have administrative privileges. The command I wish to use is called tree, but it isn't installed. Is there any way I can load the tree program into my home directory and run it without the need to install it system wide?
I now have a firewall up and running: almost perfectly. When I use nmap and perform the most comprehensive scan I can think of, it cannot detect any wide open ports (unless bittorent is running) and cannot fingerprint the OS. My last 2 questions about my firewall (I am very happy now) are:
It seems as though Firestarter has been "abandoned" by the developers, and that gufw is more current. Does it really matter which firewall I use because don't they all do the same thing? I like firestarters system tray icon a lot. 2nd question is I have two open|filtered ports. Are these still pretty well protected?
It is very pleasing to see that I have no open ports, because if you were an experienced Windows user like I was, you got used to the fact you were going to have open ports no matter what. Linux's builtin firewall completely destroys the expensive and useless scams they call Norton and McAfee. Linux officially rocks now
The system wide proxy configuration doesnt work in my workplace . The proxy requires an authentication and export http_proxy and ftp_proxy with the password doesnt work either . For apt I have to make the necessary changes in /etc/apt/apt.conf , for firefox the use system proxy setting doesnt work.I am facing a problem with setting up evolution also .
I have installed Ubuntu 6.06 LTS via the command line interface. I installed onto Microsoft Virtual PC on the mac. The installation completed successfully. On first boot, I see the text is spread out very wide on the screen. It's like the screen has been zoomed out greatly.
I assume I have to modify the x11 configuration, but I forget how to do this.
Here is an image of the screen:
I tried installing a more recent version of Ubuntu but ran into other troubles. more on that later.
I want to remote login as a non root user and then run a command under the root account.I have set up the ssh/scp for the non root user and this configuration works fine. What I dont know is how to run a command under root once remotly logged in as the non-root account.I have to run this command under root, it cannot be changed.
On an older computer of mine using an older CRT monitor, Ubuntu defaults to a monitor refresh rate that causes the screen to constantly flicker and flash, making it nearly unusable. Changing the rate to either 75 Hz or 60 Hz fixes the issue, but changing it through the Monitor settings only affects my user account; part of the loading screen, and the login screen, will continue to flicker and flash. Is there a setting I can adjust somewhere that will set the refresh rate for the entire system, not just my user account?
I'm trying to set up firefox system-wide to handle ed2k links properly, I'm following amule wiki howto at this page http://wiki.amule.org/index.php/Ed2k_links_handling but it seems a little outdated, I tried to create /usr/share/firefox/greprefs/all.js and /usr/local/share/firefox/greprefs/all.js but I got no results. I also tried to edit /usr/lib/xulrunner-1.9.2.17/greprefs/all.js with no luck. So where should I put ed2k handling strings to apply them system-wide ?
I do a bit of script writing, and part of this involves reading the text aloud and reacting to audio cues. What I'd love to do is set up a method of playing audio files at whim based on a general shortcut. So, say if I pressed <Super>C1, I could play ~/Music/cue1.mp3, <Super>C2 would be ~/Music/cue2.ogg etc.
Currently the closest I've got is using the terminal and a modified .bashrc to play via VLC's ncurses.
Code: alias cue1="vlc -I ncurses ./Music/cue1.mp3"
Obviously this isn't very near to what I want. Entering a Keyboard Shortcut using the usual methods (xbindkeys, gconf-editor, the KeyShort Preferences GUI) to run
Code: vlc -I ncurses ./Music/cue1.mp
doesn't play anything. Is it possible to launch these kinds of commands as shortcuts, or am I hoping for too much? My Google trawls have been pretty fruitless. I'm running Lucid, btw.
making changes to *.desktop files in /usr/share/applications works for all users, but gets overwritten when those packages are updated. You lose all customizations. Placing the customized ones in~/.local/share/applications works, but you have to do that for all users (pain!). So, what folder do they go in for system wide changes, but safe from updates?
I have an RHEL 5 server joined to a windows domain. However I wanted to add variable lines to be executed each time a user logs in. However I succeeded to put them in /etc/bashrc file and it worked like a charm. But its annoying that everytime the user logs in to the shell remotely it displays the whole variables that were declared. Is there a way how to add them once and not to display the output each time the user logs in?
I want to set the HTTP_PROXY and HTTPS_PROXY and http_proxy and FTP_PROXY environment variables "somewhere", so all programs that recognise these can find them. I need root to find them for slackpkg and sbopkg, I need users to find them for Dropbox, I need them for cronjobs and scripts and wget.So I want to set these environment variables up somewhere, preferably something in /etc and have them set and accessible for everyone and everything. I am not using KDE or XFCE or any desktop. I need a command line solution.
Where is the best place to put this? I see that some other distros have a /etc/environment and these variables go in there. In Slackware, should I add them as a new file in /etc/profile.d and have them added every time /etc/profile is accessed? Is there a Slackware approved method that I don't know about?
I have been searching around into /etc/xdg/ and ~/.config and also /skel/.config (for newly created users!) so I can ensure specific applications open filetypes by default.
I would prefer to be able to use a system wide configuration so that i may be able to run a script with each new slackware release that would change application/filetype defaults for all users including existing to our liking (unless they have already preset their own app/defaults in ~/.config).
The default output audio port Ubuntu doesn't work on my system. It should be "Analog Mono Output/Amplifier", instead of "Analog Output/Amplifier". I can easily change that in sound preferences, just by choosing the right port in the "Output" tab, or by issuing the following command:
Code: pacmd 'set-sink-port' 'alsa_output.pci-0000_00_1f.5.analog-stereo analog-output-mono;output-amplifier-on' The problem is both solutions apply only to a single account, while I would like to change it system-wide, so it applies to all accounts on the system (there are more then 100 accounts - it's a set up for a school).I'm using Ubuntu 10.04.
I have my company's CA root.crt certificate and I would like to import into openSUSE 11.2 so every application could trust this authority. Is there any instruction for this procedure?
You know, something like you can do in Windows: just click certificate and there is a button "Install certificate"
We're in the final process of building a home, and I had them setup a wiring box where all the coax and cat5 terminates into one closet, which will also house my server. Once we get moved in I'd also like to add speakers in each room to have house-wide music, and ideally I'd like the audio to also run into this box with the master input coming from the server as well.My thought was to setup the server with some basic desktop manager like Fluxbox and use that to drive audio throughout the house, whether it be Pandora, Sirius Radio, or whatever. Since the server will be headless I'll need it setup so we can remote into it from our laptops, but I wasn't sure if VNC or some other RDP variant would work. Ideally we'll need to access a unified desktop so traditional terminal services where each users gets their own desktop might not be ideal
I know about Red, Green, and Blue, but I'm not so sure about the 'A'. What does it really mean? I want to know this for this code:
Code:
int rgba (int Red, int Green, int Blue, int <WhateverTheAStandsFor>) { return; };
Essentially, I want to be able to use this code to fine-tune RGBA to my preferences, not just with "true" and "false", but with in-between options, so that I can control how transparent or opaque the desktop is going to be. And I will do this with C++, not original C, unlike the existing Gtk RGBA module.
Recently i tried rgba transparency in my karmic 9.10 and it works fine.... My problem is i want to disable transparency in real player. I tried by adding 'realplay' in the file '/etc/profile.d/gtkrgba.sh' but nothing works.
It took me a while and maybe someone else already know this, but I recently added RGBA to give me more transparency. But when I did this the shadows on the dropdown menus on the panel and in nautilus were not shadowed.
To correct this in Compizconfig Settings Manager: Turn on Window Decoration is you haven't already. Copy/Paste this line in the Shadow Windows info box:
[Code]...
That should be enough to get your drop shadows back on the drop down menu items. worked for me. Even works on the menus in Chromium even if the GTK themes window border is off, but is still won't shadow the window if GTK window borders are turned off.
[URL] Essentially, this module can be fine-tuned to the user's liking, using four integers instead of a boolean. By allowing for the red, green, blue, and alpha values to be fine-tuned, the user can control how transparent or opaque their desktop is. And how is this possible? C++ instead of C. How do you guys think of being able to customize RGBA?
My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.
How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?