I want to change Mate panel's background type from a bash script. So far, tried to set it to color with:
gsettings set org.mate.panel.toplevel.background 'color'
but that doesn't seem to work. How should I do it?
TIA
I want to change Mate panel's background type from a bash script. So far, tried to set it to color with:
gsettings set org.mate.panel.toplevel.background 'color'
but that doesn't seem to work. How should I do it?
TIA
Mpv is not playing all video files from youtube anymore, even though youtube-dl has no problem downloading them. I've tried with streamlink+vlc and it says that the video is protected so it gave me the culprit and it is not a regional protection in question but something else I don't understand.
E.g. this clip is protected https://www.youtube.com/watch?v=1pdGn4r1lD0&list=PL4vbGURud_Hr1HgxK0lq6o-3sqoc0Rx6l&index=2&t=1480s
Is there some way to modify mpv.conf and configure youtube-dl to download such clips for viewing in mpv?
It may be redundant but I couldn't find the answer how to assign custom keyboard shortcut to run a Nemo script. Is it possible?
I would like to use an environment variable I have declared in /etc/environment
as a counter which should be accessible to several unrelated scripts that are run at different times.
Is that possible? So far, I had no luck trying exporting its value.
I guess, I could always use a temporary file to store current value, read/write to it but I'm looking for a more elegant way if there is any?
I'm trying to create a Nemo script that will calculate total file size of selected files and pass it on to the rest of the script.
It is using NEMO_SCRIPT_SELECTED_FILE_PATHS environment variable that Nemo itself sets when some files are selected.
The problem is, the variable contains a new line separeted paths and file names and I don't know how to handle those.
Any ideas?
Edit: what I get if I echo the contents of the variable into a file is eg:
/home/sasa/Pictures/1041247.png /home/sasa/Pictures/849611447.jpg /home/sasa/Pictures/IO2.jpg
which looks more like space than new line delimited.
I was wondering if there exists some application that can show which NAND type is used in a SSD - MLC,SLC,TLC...
Is it possible?
I would like to find in this way (if possible) which services wait for NetworkManager-wait-online.service to execute before they start?
Can anybody tell me what do the numbers stored in that file mean? As of late, it takes 2-3 minutes for internet connection to be established after the boot has been completed and I want to find out why.
I would like to have a script that downloads a web page with curl, pipes it to w3m, which is stripping it from all content except text and links.
Is it possible to specify for the -T option of w3m, more than just one content-type and how?
To clarify my question a bit more, here's an example:
curl --user-agent "Mozilla/4.0" https://askubuntu.com/questions -s | w3m -dump -T text/html
which returns only text from Ask Ubuntu's questions page but with no links. If w3m cannot do it is there any other tool which is capable of scraping text and links simultaneously?
As of late Software Updater gets frozen (won't close after checking), while
sudo apt-get update && apt-get upgrade
work fine. Any ideas or anybody else with the same problem?
I have Xubuntu 14.04 x64.
Update: The final answer to my question is that I have a broken system, which most probably happened when I completely removed Steam and its repository. It so happens that I've lost AbiWord, Bomi and some other apps from different PPAs and cannot reinstall them until I fix broken packages which include gcc-4.9 and four other files.
I'll wait till April for a clean install of the next stable release.