LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Old

Per-application bookmarks on GTK's file dialog?

Posted 12-22-2014 at 01:56 AM by the dsc (linux-related notes)
Tags gtk, rant

On KDE/QT file dialog there's often a pop-up with a check box saying "remember only in KurrentApplication", so you can have different sets of "bookmarks", restricted to relevant applications. That is, no picture folders on audio applications and vice-versa/whatever.

Is there a hidden way to do that with GTK? Probably answering myself already, but I don't think so (the gtk-terminology would be "shortcut", instead of "bookmark", though):
...
Member
Posted in Uncategorized
Views 62 Comments 3 the dsc is offline
Old

Passing some mplayer options to smplayer from command line

Posted 12-18-2014 at 01:56 PM by the dsc (linux-related notes)
Updated 12-21-2014 at 12:19 AM by the dsc (fixing the method)

Major edit:

Apparently the best way to go is to dinamically edit or switch/rename the smplayer.ini file, in the following line:

Code:
mplayer_additional_options=--ss=<seconds> -af scaletempo -speed <speed>
It probably requires that the options aren't set elsewhere in the GUI's settings.



The the original post remains below, just in case there's still something useful.

PS.: the time "grepping"...
Member
Posted in Uncategorized
Views 94 Comments 0 the dsc is offline
Old

There's a "compact" version of the Adwaita GTK3 theme

Posted 11-21-2014 at 06:14 PM by the dsc (linux-related notes)
Tags gtk3, rant

Just spreading the word, perhaps there are many other people who prefer things more tightly packed rather than all spaced out, as it seems to be the current mobile-UI infection/trend.

http://gnome-look.org/content/show.p...content=156662

Who'd have guessed that resolutions superior to 1024x768 would end up being nullified by "advancements" in technology...
Member
Posted in Uncategorized
Views 135 Comments 0 the dsc is offline
Old

Not even linux can create symlinks on FAT32

Posted 11-05-2014 at 02:04 AM by the dsc (linux-related notes)

If you've only briefly dealt with NTFS on linux, you might have noticed that it's possible to create symlinks there, not like the fake "shortcuts", but actual symlinks, that linux read as such.

That may lead the naive mind to think that symlinks are a linux/OS-side feature, and that therefore linux could create symlinks on FAT32. But that's going to be proven wrong on the first attempt.

You can, however, have symlinks on non-FAT partitions pointing to a FAT...
Member
Posted in Uncategorized
Views 189 Comments 0 the dsc is offline
Old

Auxiliary script to rename multiple files adding a zero-padding to them

Posted 08-19-2014 at 01:37 AM by the dsc (linux-related notes)

From this blog:

http://www.walkingrandomly.com/?p=2850


Code:
#!/bin/bash
num=`expr match "$1" '[^0-9]*\([0-9]\+\).*'`
paddednum=`printf "%03d" $num`
echo ${1/$num/$paddednum}
Usage example:

for i in *.png;do mv $i `./zeropad.sh $i`; done


Possibly there's some syntax to do just that only with the "rename" command, though.
Member
Posted in Uncategorized
Views 339 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 03:23 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration