Slackware :: System Wide Application/filetype Defaults?
Sep 8, 2010
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).
View 4 Replies
ADVERTISEMENT
Jun 23, 2011
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?
View 6 Replies
View Related
Apr 21, 2011
I installed the Elegant Gnome theme/package and I uninstalled it after about a week of use. Even after reverting back to the ambiance theme, or other themes, I've noticed that some elements of the Elegant Gnome theme have remained (e.g. the panel color and icons in Chrome or after right clicking and the system font).Is there a way to restore the Gnome defaults or Ubuntu system defaults so that everything is as it should be?
View 2 Replies
View Related
May 13, 2011
On Ubuntu 11.04, I have a need to use gnome-open from another application to open files in assigned applications. I think I understand how mime types are given in /usr/share/mime. I understand how default application associations are done in /usr/share/gnome/applications/defaults.list. I understand how update-desktop-database is used to maintain defaults.list. I know how to specify file associations (open with) from Nautilus. I understand how ~/.local/share/applications and ~/.local/share/mime override the system settings. I get all that.
What I don't understand is why the command gnome-open or double-clicking a file in nautilus, for certain file types (e.g. PDF), generates an error message:
Quote:
Could not display "<whatever file>". The location is not a folder.
The occurrences of application/pdf in the different applicable files all point to evince as the associated application.
By the way, mimeopen does work. What is the relationship between mimeopen and gnome-open? Manual pages for these commands are not helpful in understanding their operation.
In addition, I might throw in one other question. In the various .desktop files, I see that some application commands are enclosed in single quotes, but never the file name identifier, %f. If dealing with file/directory names with spaces in them, it would seem that quoting the '%f' would be important.
View 3 Replies
View Related
Sep 14, 2010
Can someone tell me of a sensible fairly standard place to put scripts that a number of users will need on an Ubuntu system?
View 2 Replies
View Related
Jan 8, 2010
So I have been running uvesafb for a while now with no complaints, but klibc hasn't been updated for about a year. I contacted to the author and he said that he will have an update in the coming weeks. However today I was googeling around and to make a long story short, I have successfully been able to get a 1920x1200 console resolution with just the plain old vesafb. This is good news but I am also confused because I've been told many times that is not possible for vesafb to do higher/wide resolutions.
View 14 Replies
View Related
Jan 31, 2010
My Canon S9000 wide format printer just died. I'm looking for a new one. Is there a wide format printer that works well with CUPs in Slackware?
View 8 Replies
View Related
Nov 24, 2010
I installed glib 2.4.8 the usualy way. ./configure make make install. This was required by a program bitlbee messenger. But the bitlbee install script still picks up the old glib versio when I do,
root@box:/#pkg-config glib-2.0 --modversion
output=2.2.3
and prompts me to upgrade.
My Question. How can I change global wide recognition of my NEW isntalled glib2.4.8 and stop scripts etc picking up the old libraries+version. Slackware version 9
View 2 Replies
View Related
Aug 28, 2010
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 .
View 1 Replies
View Related
Sep 16, 2010
Is there a way to adjust how smooth all applications scroll? This is a bit of an aesthetic issue, but also a bit usability as well..
View 2 Replies
View Related
Mar 29, 2010
I wonder where are the Thunar file association settings stored? I have difficulties to find it in my own account, and also system-wide.
View 2 Replies
View Related
Jul 4, 2011
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?
View 2 Replies
View Related
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?
View 3 Replies
View Related
May 10, 2010
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?
View 10 Replies
View Related
Aug 27, 2010
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"
Where is system certificate store in openSUSE?
View 1 Replies
View Related
Jan 31, 2011
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?
View 6 Replies
View Related
Jun 17, 2011
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 ?
View 1 Replies
View Related
Feb 3, 2010
How can I add a menu entry when I right click my mouse system wide?
View 2 Replies
View Related
Feb 15, 2010
what file do you set the defaults in? I want to set all my users to use a blank screensaver and a time out of 20min. password required. Have been looking all over the place for a valid config file I can edit and the syntax for it. I should also mention I want these to be default for all user that CANNOT be changed except by root. Red Hat running gnome in my case.
View 11 Replies
View Related
Aug 25, 2010
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.
View 2 Replies
View Related
Sep 30, 2009
how to do this via command-line? I cant seem to get it to change I'm in a chroot and need to know how-to via console?
View 4 Replies
View Related
May 7, 2010
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.
View 1 Replies
View Related
Feb 5, 2010
How can I import in OS level (system wide) the CAcert root certificate and the relevant class 3?
View 3 Replies
View Related
Apr 26, 2010
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
View 1 Replies
View Related
Sep 19, 2010
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?
View 2 Replies
View Related
Feb 26, 2010
Script iptables_reset.sh
Code:
#!/bin/bash
IPTABLES="$(which iptables)"
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT
[code]....
This works if I edit the system-wide crontab in /etc/crontab like this:
Code:
0 12 * * * root /root/iptables/iptables_reset.sh
But it won't work, if i edit roots user-cronfile by using crontab(1):
Code:
crontab -l
# m h dom mon dow command
0 12 * * * /root/iptables/iptables_reset.sh
The log entry is the same for system-wide and user-cronfile:
Code:
/USR/SBIN/CRON[5135]: (root) CMD (/root/iptables/iptables_reset.sh)
I tried different things and found out,if i don't use the "$(which iptables)"substitution in the script, it also works with the user-cronfile.
View 4 Replies
View Related
Dec 19, 2009
the filetype of a file? You know, when you type ls -l in a terminal, you get a long description of each file in that directory. The first letter indicates what that file is (- for regular file, d for directory, l for link, etc)My problem is that I have a data directory in /home that shows up like this:?--------- 1 root root 0 1969-12-31 20:00 suniI did managed to change this to?rwxrwxr-- 1 suni users 0 1969-12-31 20:00 sunibut what do I do with the "?" ???and as you can see the size of this supposed-to-be directory is zero, and I do not understand why. Also the date is quite absurd.
how did I end up here? One day I could not boot, I tried a boot disk to use some repair tools. The automatic thingy stomped all over the faulty /home partition, and fixed it by wiping it clean, only the lost+found directory was there when I managed to boot. So I unmounted /home and tried to see what can I do with dumpe2fs, fsck, e2fsck, debugfs, but that's all I could achieve. I saved the terminal window content for further analysis, so if you need to look into it, I can provide that (I just didn't think that it would be appropriate to dump it right here).
Other system info: when I could not boot I had openSUSE 11.1 x86_64, AMD processor, 4GB DDR400, RAID5, with ext3 file system. I had a 11.2 i386 install DVD for my kids play computer, so I tried to use that for recovery - but I don't think that the version nr or the architecture difference would have caused the wipe-out of /home. Instead, I am convinced that I was a lazy idiot and I just left everything to the machine brainlessly
View 3 Replies
View Related
Mar 1, 2011
I'm using photorec to recover files on a formatted external hard drive. And it just bunches the files together by 500's and throws them all in folders in the directory you tell it to. I have recovered over 80,000 files. I don't need any .txt files or java or html etc. But I want to have seperate music, picture, document, etc folders.I know thatQuote:find - /home/username/Desktop/recovery -type f will list the files that I recovered and if I addQuote: -name "/*.mp3"than it will find only mp3'sQuote:
View 8 Replies
View Related
Jan 21, 2010
I get a bit lazy using cUrl, often letting downloads go without adding the proper extension to images and whatnot. Yes I know about the -O flag, but I'm the kind who likes to give my files unique names right off the bat (until they puzzle out a way to "stamp" files with originating URLs across platforms, Classic MacOS Web-browser style, curl -o is the way to go). So I was hoping someone could help me write a script (bash or python, doesn't matter which) that used the file command to look inside files in a single directory and then rename the ones it happened across that didn't have a 3- or 4-letter extension, appending the one that corresponded with the mime type. But this action only to be performed on files with no extension.
I know Linux and Unix don't bother much with extensions. I started home computing on a Mac IIcx -- that kind of intuition is beyond natural for me and very much appreciated. But I, and a few of my friends and family, alsose Windows where file extensions are an idiot-proof way, if nothing else good can be said about the two, to get file X to open in application Y and not Q, W or Z (or, worse for some, no application at all).I've seen a few scripts in different places, but they all seem to have the flaw of renaming files that already have an extension
View 14 Replies
View Related
Jan 27, 2010
When I plug-in my iPod it gets detected by gtkpod and all the files load fine. I am able to delete files, add photos. But I am not able to add new songs. I get the following errors:1. If I drag and drop files it says "Drag and drop failed"2. If I add files through the "Add files" button,it either says "The following track could not be processes (unknown filetype)"
View 1 Replies
View Related